-
Notifications
You must be signed in to change notification settings - Fork 6
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
36 changed files
with
331 additions
and
156 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
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/// | ||
/// Starknet Mainnet block number versions. | ||
/// | ||
pub const BLOCK_0: u64 = 0; | ||
pub const BLOCK_0_9_1: u64 = 3799; | ||
pub const BLOCK_0_10_0: u64 = 4883; | ||
pub const BLOCK_0_10_1: u64 = 6570; | ||
pub const BLOCK_0_10_2: u64 = 12268; | ||
pub const BLOCK_0_10_3: u64 = 16575; | ||
pub const BLOCK_0_11_0: u64 = 28613; | ||
pub const BLOCK_0_11_0_2: u64 = 43851; | ||
pub const BLOCK_0_11_1: u64 = 61394; | ||
pub const BLOCK_0_11_2: u64 = 68096; | ||
pub const BLOCK_0_12_0: u64 = 103129; | ||
pub const BLOCK_0_12_1: u64 = 164901; | ||
pub const BLOCK_0_12_2: u64 = 194410; | ||
pub const BLOCK_0_12_3: u64 = 472644; | ||
pub const BLOCK_0_13_0: u64 = 501514; | ||
pub const BLOCK_0_13_1: u64 = 607878; |
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,54 @@ | ||
/// | ||
/// Contract address for StarkGate ETH starknet bridge. | ||
/// | ||
/// Details concerning available methods can be found on [StarkScan](https://starkscan.co/contract/0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7#read-write-contract) | ||
/// | ||
pub const STARKGATE_ETH_BRIDGE_ADDR: &str = | ||
"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7"; | ||
|
||
/// | ||
/// Contract address for Jediswap exchange. | ||
/// | ||
/// Details concerning available methods can be found on [StarkScan](https://starkscan.co/contract/0x041fd22b238fa21cfcf5dd45a8548974d8263b3a531a60388411c5e230f97023#read-write-contract): | ||
/// | ||
pub const JEDI_SWAP_ADDR: &str = | ||
"0x041fd22b238fa21cfcf5dd45a8548974d8263b3a531a60388411c5e230f97023"; | ||
|
||
/// | ||
/// Contract address for Starkgate USDC on Starknet. | ||
/// | ||
/// Details concerning this coin can be found on [StarkScan](https://starkscan.co/token/0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8): | ||
/// | ||
pub const STARKGATE_USDC: &str = | ||
"0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8"; | ||
|
||
/// | ||
/// Contract address fpr Starkgate Ether on Starknet. | ||
/// | ||
/// Detail concerning this coin can be found on [StarkScan](https://starkscan.co/token/0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7): | ||
/// | ||
pub const STARKGATE_ETHER: &str = | ||
"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7"; | ||
|
||
/// | ||
/// Random ERC721 Starknet contract address. | ||
/// | ||
/// Details concerning this contract can be found on [StarkScan](https://starkscan.co/contract/0x07fa9a8eacb89fb6cd0c7fe557e71c42a4b181ba328a9a04958136e6469c4e00) | ||
/// | ||
pub const CONTRACT_ERC721: &str = | ||
"0x07fa9a8eacb89fb6cd0c7fe557e71c42a4b181ba328a9a04958136e6469c4e00"; | ||
|
||
/// | ||
/// Random ERC20 Starknet contract address. | ||
/// | ||
/// Details concerning this contract can be found on [StarkScan](https://starkscan.co/contract/0x04a5fdce70877b77f03aea8a29259176f88d5bea9d0ad8c0118f5316425e6ba0) | ||
/// | ||
pub const CONTRACT_ERC20: &str = | ||
"0x04a5fdce70877b77f03aea8a29259176f88d5bea9d0ad8c0118f5316425e6ba0"; | ||
|
||
/// | ||
/// Random ACCOUNT Starknet contract address. | ||
/// | ||
/// Details concerning this contract can be found on [StarkScan](https://starkscan.co/contract/0x046ef77bd47ba7b1424ba2b2b1442d14168ac3dc6897032bf491ecbafd5f5c32) | ||
pub const CONTRACT_ACCOUNT: &str = | ||
"0x046ef77bd47ba7b1424ba2b2b1442d14168ac3dc6897032bf491ecbafd5f5c32"; |
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,4 @@ | ||
pub mod block; | ||
pub mod transaction; | ||
pub mod network; | ||
pub mod contract; |
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,3 @@ | ||
pub const DEOXYS: &str = "deoxys"; | ||
pub const PATHFINDER: &str = "pathfinder"; | ||
pub const JUNO: &str = "juno"; |
Empty file.
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,2 @@ | ||
pub mod mainnet; | ||
pub mod sepolia; |
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,19 @@ | ||
/// | ||
/// Starknet Mainnet block number versions. | ||
/// | ||
pub const BLOCK_0: u64 = 0; | ||
pub const BLOCK_0_9_1: u64 = 3799; | ||
pub const BLOCK_0_10_0: u64 = 4883; | ||
pub const BLOCK_0_10_1: u64 = 6570; | ||
pub const BLOCK_0_10_2: u64 = 12268; | ||
pub const BLOCK_0_10_3: u64 = 16575; | ||
pub const BLOCK_0_11_0: u64 = 28613; | ||
pub const BLOCK_0_11_0_2: u64 = 43851; | ||
pub const BLOCK_0_11_1: u64 = 61394; | ||
pub const BLOCK_0_11_2: u64 = 68096; | ||
pub const BLOCK_0_12_0: u64 = 103129; | ||
pub const BLOCK_0_12_1: u64 = 164901; | ||
pub const BLOCK_0_12_2: u64 = 194410; | ||
pub const BLOCK_0_12_3: u64 = 472644; | ||
pub const BLOCK_0_13_0: u64 = 501514; | ||
pub const BLOCK_0_13_1: u64 = 607878; |
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
Empty file.
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,4 @@ | ||
pub mod block; | ||
pub mod transaction; | ||
pub mod network; | ||
pub mod contract; |
Empty file.
Empty file.
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
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
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
Oops, something went wrong.