-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update return types for contracts (#130)
* update return types for contracts - update tests - update facades - slight gas optimizing * Compiled both types files into 1 * fix imports * fixed comments and imports * re-org repo * Delete library.cairo * Fixed imports from merge commits
- Loading branch information
1 parent
bbdce1b
commit 201acc9
Showing
37 changed files
with
870 additions
and
1,051 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
mod contracts { | ||
mod utils { | ||
mod utils; | ||
} | ||
mod components { | ||
mod eth; | ||
mod red_black_tree; | ||
} | ||
mod pitch_lake; | ||
mod vault { | ||
mod contract; | ||
mod interface; | ||
mod types; | ||
} | ||
mod option_round { | ||
mod contract; | ||
mod interface; | ||
mod types; | ||
} | ||
mod vault { | ||
mod contract; | ||
mod interface; | ||
} | ||
|
||
mod market_aggregator; | ||
mod lp_token; | ||
mod option_round { | ||
mod contract; | ||
mod interface; | ||
} | ||
|
||
mod library { | ||
mod eth; | ||
mod red_black_tree; | ||
mod utils; | ||
} | ||
|
||
mod types; | ||
|
||
#[cfg(test)] | ||
mod tests; | ||
|
||
|
||
// @note Refactor these into their own modules | ||
mod contracts { | ||
mod pitch_lake; | ||
mod market_aggregator; | ||
mod lp_token; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
...contracts/components/red_black_tree.cairo → src/library/red_black_tree.cairo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.