-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add interface ID source comments and mark ERC20 as arbitrary
- Added source comments for ERC721 and ERC1155 interface IDs linking to OpenZeppelin implementation - Added note that ERC20 interface ID is arbitrary and incorrect since ERC20 does not implement introspection on Starknet - This interface ID should be removed in a future PR since it's not used and could be misleading
- Loading branch information
Showing
2 changed files
with
12 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
pub const ACTIVE_LOAN: felt252 = 0x0256ea094d7a53440eef11fa42b63159fbf703b4ee579494a6ae85afc5603594; | ||
pub const LOAN_PROPOSAL: felt252 = 0xba7a416221f318a8087fd62f9ff407488b7f5501e79caf9b0666c2df326b9c; | ||
pub const NONCE_MANAGER: felt252 = 0x1b33e4d1c538d376dd219215a123562fbb87b8c85fa2aa4ebbd8810c2454d9; | ||
// poseidon hash of "ACTIVE_LOAN" | ||
pub const ACTIVE_LOAN: felt252 = 0x2da9b57d658216ce2fa66b405ad5a2a11eac0998c648d4243d8dfb9e97919f1; | ||
// poseidon hash of "LOAN_PROPOSAL" | ||
pub const LOAN_PROPOSAL: felt252 = | ||
0x13a6d5f3fcb779ea994158e2546ffacaf9aa91df747f4496791143eec4aa3a7; | ||
// poseidon hash of "NONCE_MANAGER" | ||
pub const NONCE_MANAGER: felt252 = | ||
0x1f46107c5dc94152b3311a2730f7ec7aebc3a62932fb0d4c5ea2f2db9b35154; | ||
|
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