nft
Module0x7713…9f9d
- Move path
- 0xaec9…5faa::nft
- Functions
- 2212 public, 0 entry
- Structs
- 5
- Friend modules
- flash_loanrouter
Functions22
- public fun change_nft_config(&admin::AdminCap,&mut NftConfig,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>,&mut Option<u64>)
- public fun zero_obj_mint_with_no_points(u64)
Structs5
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- CroNftstorekey
id UID staked_points Balance<points::POINTS> staked_cro Balance<cro::CRO> unlock_time u64 owner address - MintNftEventcopydrop
nft_id address owner address - MintReferralNftEventcopydrop
nft_id address owner address referral address - NFTdrop
dummy_field bool - NftConfigstorekey
id UID version u64 tge_time u64 unlock_time u64 end_lock_time u64 cro_per_points u64 total_mint_nfts u64 total_staked_points u64 user_to_nft Table<address, ID> nft_to_user Table<ID, address> nft_price u64 referral_nft_price u64 mint_reward u64 referral_mint_reward u64 points_per_lending u64 points_per_swap u64
Constants14
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 1903824000000 | u64 | Value | create_configupdate_unlock_time_init |
| 1 | 1966896000000 | u64 | Value | create_config |
| 2 | 63072000000 | u64 | Value | |
| 3 | 0 | u64 | Value | create_config |
| 4 | 50 | u64 | Value | create_config |
| 5 | 1 | u64 | Value | |
| 6 | "https://cro-ag.pages.dev/cronft.png" // interpreted as UTF8 string | vector<u8> | Value | init |
| 7 | 0x0000060c049b5aea93660573019b2ed5d657245212a998e030981589726d11fe | address | Value | zero_obj_mint_with_no_pointszero_obj_mint |
| 8 | "name" // interpreted as UTF8 string | vector<u8> | Value | init |
| 9 | "CroNft #{number}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 10 | "description" // interpreted as UTF8 string | vector<u8> | Value | init |
| 11 | "image_url" // interpreted as UTF8 string | vector<u8> | Value | init |
| 12 | "minted_by" // interpreted as UTF8 string | vector<u8> | Value | init |
| 13 | "{minted_by}" // interpreted as UTF8 string | vector<u8> | Value | init |