Module starknet_devnet_core::constants
source · Constants§
- only used in tests; if artifact needed in production, add a new constant that uses include_str!
- only used in tests; if artifact needed in production, use CAIRO_1_ACCOUNT_CONTRACT_SIERRA
- ERC20 class hash is hardcoded to be the same as OZ class hash ERC20.cairo although it should be different, due to commented key attributes in struct Approval (owner and spender), and add of mintable feature: https://docs.openzeppelin.com/contracts-cairo/0.8.1/presets
- ERC20 contracts storage variables taken from starkcan urls: https://testnet.starkscan.co/token/0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7#read-write-contract https://testnet.starkscan.co/contract/0x04718f5a0fc34cc1af16a1cdee98ffb20c31f5cd61d6ab07201858f4287c938d#read-write-contract