squid_forge
Module0xec7b…eec7
- Move path
- 0xd219…f1d7::squid_forge
- Functions
- 102 public, 2 entry
- Structs
- 5
- Friend modules
- None
squid_forge
Functions10
- entry fun level_up_nft(&mut SquidForge,&mut Coin<SUI>,&mut Kiosk,&mut personal_kiosk::PersonalKioskCap,ID,&Random,&mut squid_leaderboard::SquidLeaderboard)
Structs5
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- LevelledUpEventcopydrop
nft_id ID new_level u32 level_ups u32 keys_minted u32 - SQUID_FORGEdrop
dummy_field bool - SquidForgestorekey
id UID level_up_price u64 proceeds Balance<SUI> mode SquidForgeMode - SquidForgeAdminCapstorekey
id UID - SquidForgeModecopydropstore
No fields
Constants15
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0 | u64 | Abort code | get_key_drop_rate_perc |
| 1 | 1 | u64 | Abort code | get_bonus_factor_perc |
| 2 | 2 | u64 | Abort code | level_up_nft |
| 3 | 3 | u64 | Abort code | level_up_nft |
| 4 | 4 | u64 | Abort code | set_mode |
| 5 | 5 | u64 | Abort code | u8_to_mode |
| 6 | "name" // interpreted as UTF8 string | vector<u8> | Value | init |
| 7 | "Squid Forge" // interpreted as UTF8 string | vector<u8> | Value | init |
| 8 | "description" // interpreted as UTF8 string | vector<u8> | Value | init |
| 9 | "Degeneracy evolution chamber. Turns headpats into ahegao. Absolutely cursed." // interpreted as UTF8 string | vector<u8> | Value | init |
| 10 | "image_url" // interpreted as UTF8 string | vector<u8> | Value | init |
| 11 | "/images/squid-forge.webp" // interpreted as UTF8 string | vector<u8> | Value | init |
| 12 | "creator" // interpreted as UTF8 string | vector<u8> | Value | init |
| 13 | "project_url" // interpreted as UTF8 string | vector<u8> | Value | init |
| 14 | 0x8233bf6971d0819edf3684b276bb03d4b7c005931909206564b71855d37145a1 | address | Value | init |