-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
88 changed files
with
471 additions
and
327 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 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[package] | ||
name = "contracts" | ||
version = "0.0.6" | ||
edition = "2023_11" | ||
|
||
# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html | ||
|
||
[dependencies] | ||
starknet.workspace = true | ||
alexandria_bytes.workspace = true | ||
alexandria_storage.workspace = true | ||
openzeppelin.workspace = true | ||
|
||
|
||
[tool] | ||
fmt.workspace = true | ||
|
||
[[target.starknet-contract]] | ||
casm = true | ||
casm-add-pythonic-hints = true | ||
|
||
[lib] | ||
name = "contracts" |
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
2 changes: 1 addition & 1 deletion
2
.../src/contracts/client/mailboxclient.cairo → .../contracts/src/client/mailboxclient.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
4 changes: 1 addition & 3 deletions
4
...acts/client/mailboxclient_component.cairo → .../src/client/mailboxclient_component.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
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.
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
6 changes: 3 additions & 3 deletions
6
cairo/src/contracts/hooks/protocol_fee.cairo → ...es/contracts/src/hooks/protocol_fee.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
4 changes: 2 additions & 2 deletions
4
cairo/src/interfaces.cairo → cairo/crates/contracts/src/interfaces.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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
pub mod interfaces; | ||
pub mod mailbox; | ||
pub mod libs { | ||
pub mod aggregation_ism_metadata; | ||
pub mod checkpoint_lib; | ||
pub mod enumerable_map; | ||
pub mod math; | ||
pub mod message; | ||
pub mod multisig { | ||
pub mod merkleroot_ism_metadata; | ||
pub mod message_id_ism_metadata; | ||
} | ||
} | ||
pub mod hooks { | ||
pub mod merkle_tree_hook; | ||
pub mod protocol_fee; | ||
pub mod libs { | ||
pub mod standard_hook_metadata; | ||
} | ||
} | ||
pub mod client { | ||
pub mod gas_router_component; | ||
pub mod mailboxclient; | ||
pub mod mailboxclient_component; | ||
pub mod router_component; | ||
} | ||
pub mod utils { | ||
pub mod keccak256; | ||
pub mod store_arrays; | ||
pub mod utils; | ||
} |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...o/src/contracts/libs/checkpoint_lib.cairo → ...s/contracts/src/libs/checkpoint_lib.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.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
cairo/src/contracts/libs/message.cairo → ...o/crates/contracts/src/libs/message.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.
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
cairo/src/contracts/mailbox.cairo → cairo/crates/contracts/src/mailbox.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
2 changes: 1 addition & 1 deletion
2
cairo/src/utils/keccak256.cairo → ...rates/contracts/src/utils/keccak256.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.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[package] | ||
name = "mocks" | ||
version.workspace = true | ||
edition.workspace = true | ||
cairo-version.workspace = true | ||
|
||
# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html | ||
|
||
[dependencies] | ||
starknet.workspace = true | ||
alexandria_bytes.workspace = true | ||
alexandria_storage.workspace = true | ||
openzeppelin.workspace = true | ||
contracts = { path = "../contracts" } | ||
token = { path = "../token" } | ||
|
||
|
||
|
||
[tool] | ||
fmt.workspace = true | ||
|
||
[[target.starknet-contract]] | ||
casm = true | ||
|
||
[lib] | ||
name = "mocks" |
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
4 changes: 1 addition & 3 deletions
4
cairo/src/contracts/mocks/erc4626_mock.cairo → cairo/crates/mocks/src/erc4626_mock.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
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
4 changes: 2 additions & 2 deletions
4
cairo/src/contracts/mocks/fee_hook.cairo → cairo/crates/mocks/src/fee_hook.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.