collection
Module0xa124…24ca
- Move path
- 0xee47…c7fe::collection
- Functions
- 170113 public, 11 entry
- Structs
- 41
- Friend modules
- None
collection
Functions170
- public fun burn<T0>(&mut Collection,&mut Vault<T0>,&mut sui_system::SuiSystemState,&mut TransferPolicy<KingFizh>,&mut Kiosk,&mut Kiosk,&KioskOwnerCap,ID)
- public fun configure_media_and_sync(&AdminCap,&mut Collection,&mut Display<KingFizh>,&mut Display<KingFizh>,String)
- public fun create_display_v2(&AdminCap,&mut Collection,&mut DisplayRegistry,&Display<KingFizh>,vector<String>,vector<String>)
- public fun full_range_ticks(u32): (u32, u32)
Structs41
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- AdminCapkey
id UID collection ID - AdminTransferredcopydrop
to address - Burnedcopydrop
item ID number u64 index u64 holder address principal u64 staking_out u64 pot_a u64 pot_b u64 royalty u64 live u64 - COLLECTIONdrop
dummy_field bool - Collectedcopydrop
item ID number u64 index u64 amount_a u64 amount_b u64 holder address - Collectionkey
id UID config ID version u64 name String supply u64 minted u64 burned u64 price u64 stake_amount u64 lp_amount u64 fee_wallet address royalty_wallet address validator address swap_pool ID lp_pool ID vault ID policy ID graveyard ID graveyard_cap KioskOwnerCap policy_cap TransferPolicyCap<KingFizh> mint_open bool holder_start_ms u64 public_start_ms u64 min_holder_balance u64 registry Table<u64, ItemData> seeded u64 pool vector<u16> drawn u64 reservations Table<u64, address> reserved_total u64 moved Table<u64, u64> items Table<u64, ID> - CollectionCreatedcopydrop
collection ID policy ID graveyard ID supply u64 price u64 - Configstorekey
id UID collection ID code_version u64 revision u64 upgrade_cap Option<ID> values Versioned - ConfigCreatedcopydrop
config ID collection ID version u64 - ConfigKeycopydropstore
dummy_field bool - ConfigUpdatedcopydrop
config ID revision u64 section u8 - DisplayCapKeycopydropstore
dummy_field bool - FeeWalletSetcopydrop
collection ID from address to address - Harvestedcopydrop
item ID number u64 index u64 reward u64 validator address holder address - ItemDatastore
attributes VecMap<String, String> filler VecMap<String, String> pad vector<u8> - KingFizhstorekey
id UID number u64 index u64 attributes VecMap<String, String> filler VecMap<String, String> media String vault ID position u64 stake Option<staking_pool::StakedSui> principal u64 validator address status String debt_a u128 debt_b u128 minted_epoch u64 burned_epoch u64 pad vector<u8> - LaunchReservationKeycopydropstore
index u64 - LegacyMigratedcopydrop
old ID item ID index u64 holder address price u64 vip bool - LegacyStateKeycopydropstore
dummy_field bool - Migratedcopydrop
object ID from u64 to u64 - MintOpenSetcopydrop
collection ID open bool - Mintedcopydrop
item ID number u64 index u64 minter address principal u64 validator address position u64 reserved bool - PoolsSetcopydrop
collection ID swap_from ID swap_to ID lp_from ID lp_to ID - PositionLockedcopydrop
vault ID position u64 ones u64 minter address liquidity u128 swap_in u64 lp_sui u64 lp_a u64 fee u64 - PositionPoolKeycopydropstore
position u64 - ProtocolUpgradedcopydrop
collection ID vault ID config ID from u64 to u64 package ID - PublisherKeycopydropstore
dummy_field bool - Reservedcopydrop
collection ID index u64 minter address - RoyaltiesDistributedcopydrop
collection ID policy ID total u64 willie u64 king u64 - RoyaltySetcopydrop
collection ID bps u16 min u64 - RoyaltyWalletSetcopydrop
collection ID from address to address - ScheduleSetcopydrop
collection ID holder_start_ms u64 public_start_ms u64 min_holder_balance u64 - SeedCapkey
id UID collection ID - SeedCapIssuedcopydrop
collection ID to address - Seededcopydrop
collection ID count u64 seeded u64 - SettingsV1store
public_mint terms::Allocation migration terms::Allocation vip_migration terms::Allocation treasury_wallet address hive_wallet address subsidy_wallet address willie_wallet address royalty_willie_bps u16 royalty_bps u16 validator address swap_pool ID lp_pool ID min_king_tokens u64 holder_start_ms u64 public_start_ms u64 early_access_ms u64 migration_duration_ms u64 max_per_tx u64 emergency_pauses u64 - SweepSetcopydrop
vault ID open bool fee_bps u64 - Sweptcopydrop
vault ID caller address positions u64 amount_a u64 amount_b u64 caller_a u64 caller_b u64 live u64 - ValidatorSetcopydrop
collection ID from address to address id UID version u64 collection ID proofs Table<u64, lp_burn::CetusLPBurnProof> positions u64 live u64 pot_a Balance<T0> pot_b Balance<SUI> acc_a u128 acc_b u128 sweep_fee_bps u64 sweep_open bool swept_a u64 swept_b u64 paid_a u64 paid_b u64 - VaultCreatedcopydrop
collection ID vault ID
Constants115
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | "King Fizh" // interpreted as UTF8 string | vector<u8> | Value | initdisplay_v2_extrasassert_v1_fields |
| 1 | 2100 | u64 | Value | init |
| 2 | 8000000000 | u64 | Value | init |
| 3 | 2000000000 | u64 | Value | init |
| 4 | 1500000000 | u64 | Value | init |
| 5 | 500 | u16 | Value | init |
| 6 | 0 | u64 | Value | init |
| 7 | "https://assets.alienz.tech/collections/05899071423146b3ec5c7b568067414eb0c3ac26e4a4ac951c3cbc36a0fd6a36/" // interpreted as UTF8 string | vector<u8> | Value | init |
| 8 | "webp" // interpreted as UTF8 string | vector<u8> | Value | init |
| 9 | "https://kingfizh.alienz.tech/" // interpreted as UTF8 string | vector<u8> | Value | init |
| 10 | "Alienztech" // interpreted as UTF8 string | vector<u8> | Value | init |
| 11 | "King Fizh #{index}" // interpreted as UTF8 string | vector<u8> | Value | initassert_v1_fields |
| 12 | 25 | u64 | Value | initmint_drawnset_access_limitsmax_per_tx |
| 13 | 1 | u64 | Value | initcreate_vault_internalmigrate_collectionmigrate_vaultand 6 more |
| 14 | 1000000000000 | u128 | Value | credit_slackpay_potdepositscaleand 1 more |
| 15 | 1000000000 | u64 | Value | init |
| 16 | 1000 | u64 | Value | set_sweeppay_and_lock |
| 17 | 100 | u64 | Abort code | create_vault_internalmigrate_collectionsettingscheck_collectionand 1 more |
| 18 | 50 | u64 | Value | sweep |
| 19 | 2 | u64 | Value | reserve |
| 20 | 443636 | u32 | Value | full_range_ticks |
| 21 | 79226673515401279992447579055 | u128 | Value | pay_and_lock |
| 22 | "Active" // interpreted as UTF8 string | vector<u8> | Value | forgeis_active |
| 23 | "Burned" // interpreted as UTF8 string | vector<u8> | Value | settle_burn |
| 24 | "tokens" // interpreted as UTF8 string | vector<u8> | Value | forge |
| 25 | "burned" // interpreted as UTF8 string | vector<u8> | Value | settle_burn |
| 26 | 18446744073709551615 | u64 | Value | initmint_launch_reservedset_mint_openprepare_migration_at_indexand 1 more |
| 27 | 400 | u64 | Value | seed_batch |
| 28 | 272 | u64 | Value | seed_batch |
| 29 | 15 | u64 | Value | seed_batch |
| 30 | 3 | u64 | Value | seed_batch |
| 31 | 127 | u64 | Abort code | seed_batchbuild_attributes |
| 32 | 101 | u64 | Abort code | mint_launch_reservedpay_and_lockvalidate_migration |
| 33 | 102 | u64 | Abort code | mint_drawndrawforge |
| 34 | 103 | u64 | Abort code | mint_launch_reservedpay_and_lock |
| 35 | 104 | u64 | Abort code | mint_launch_reservedpay_and_lock |
| 36 | 105 | u64 | Abort code | assert_kingset_poolspay_and_locksweep |
| 37 | 106 | u64 | Abort code | pay_and_lock |
| 38 | 107 | u64 | Abort code | pay_and_lock |
| 39 | 108 | u64 | Abort code | pay_and_lock |
| 40 | 109 | u64 | Abort code | configure_media_internalassert_configured |
| 41 | 110 | u64 | Abort code | mint_launch_reservedset_sweeppay_and_lockvalidate_migrationand 7 more |
| 42 | 111 | u64 | Abort code | harvestcollectburn |
| 43 | 112 | u64 | Abort code | harvest |
| 44 | 113 | u64 | Abort code | release_expired_legacyforgeprepare_migration_at_indexharvestand 1 more |
| 45 | 114 | u64 | Abort code | sweep |
| 46 | 115 | u64 | Abort code | sweep |
| 47 | 116 | u64 | Abort code | reserve_after_launchreserve_legacy_batchbind_legacy_batchrelease_expired_legacyand 3 more |
| 48 | 117 | u64 | Abort code | check_burn |
| 49 | 118 | u64 | Abort code | mint_launch_reserveddistributeset_royaltypay_and_lockand 2 more |
| 50 | 119 | u64 | Abort code | create_vault_internal |
| 51 | 120 | u64 | Abort code | set_sweep |
| 52 | 121 | u64 | Abort code | migrate_collectionmigrate_vaultadvance_protocol_versionactivate_protocol_upgrade |
| 53 | 122 | u64 | Abort code | initseed_batchreservereserve_after_launchand 4 more |
| 54 | 123 | u64 | Abort code | initset_validatorset_fee_walletset_royalty_walletand 6 more |
| 55 | 124 | u64 | Abort code | seed_batch |
| 56 | 125 | u64 | Abort code | reservereserve_after_launchset_mint_open |
| 57 | 126 | u64 | Abort code | build_attributes |
| 58 | 128 | u64 | Abort code | seed_batchbuild_attributes |
| 59 | 129 | u64 | Abort code | mint_launch_reservedmint_reserved |
| 60 | 130 | u64 | Abort code | mint_launch_reservedmint_reserved |
| 61 | 131 | u64 | Abort code | reservereserve_legacy_batchset_scheduleset_launch_terms |
| 62 | 132 | u64 | Abort code | reservereserve_after_launch |
| 63 | 133 | u64 | Abort code | seed_batch |
| 64 | 134 | u64 | Abort code | seed_batch |
| 65 | 135 | u64 | Abort code | mint_launch_reservedmint_reservedcheck_window |
| 66 | 136 | u64 | Abort code | check_window |
| 67 | 137 | u64 | Abort code | set_scheduleset_schedule_internalset_mint_openset_launch_terms |
| 68 | 138 | u64 | Abort code | distribute |
| 69 | 139 | u64 | Abort code | pay_and_lock |
| 70 | 141 | u64 | Abort code | set_royaltyset_royalty_split |
| 71 | 142 | u64 | Abort code | check_public_inventory |
| 72 | 143 | u64 | Abort code | sync_display_v2set_mint_open |
| 73 | 144 | u64 | Abort code | create_display_v2sync_display_v2 |
| 74 | 145 | u64 | Abort code | create_display_v2display_coverassert_v1_fields |
| 75 | 146 | u64 | Abort code | configure_media |
| 76 | 147 | u64 | Abort code | assert_revision |
| 77 | 148 | u64 | Abort code | assert_action |
| 78 | 149 | u64 | Abort code | register_upgrade_capadvance_protocol_versionactivate_protocol_upgrade |
| 79 | 150 | u64 | Abort code | migrate_vaultassert_admin |
| 80 | "{media}/{index}." // interpreted as UTF8 string | vector<u8> | Value | init |
| 81 | "piece/{index}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 82 | "name" // interpreted as UTF8 string | vector<u8> | Value | initassert_v1_fields |
| 83 | "description" // interpreted as UTF8 string | vector<u8> | Value | initassert_v1_fields |
| 84 | "image_url" // interpreted as UTF8 string | vector<u8> | Value | initconfigure_media_internaldisplay_coverassert_v1_fields |
| 85 | "thumbnail_url" // interpreted as UTF8 string | vector<u8> | Value | initconfigure_media_internalassert_v1_fields |
| 86 | "link" // interpreted as UTF8 string | vector<u8> | Value | initassert_v1_fields |
| 87 | "project_url" // interpreted as UTF8 string | vector<u8> | Value | initassert_v1_fields |
| 88 | "creator" // interpreted as UTF8 string | vector<u8> | Value | initassert_v1_fields |
| 89 | "number" // interpreted as UTF8 string | vector<u8> | Value | initassert_v1_fields |
| 90 | "status" // interpreted as UTF8 string | vector<u8> | Value | initassert_v1_fields |
| 91 | "principal" // interpreted as UTF8 string | vector<u8> | Value | initassert_v1_fields |
| 92 | "validator" // interpreted as UTF8 string | vector<u8> | Value | initassert_v1_fields |
| 93 | "{number}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 94 | "{status}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 95 | "{principal}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 96 | "{validator}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 97 | 0x0000000000000000000000000000000000000000000000000000000000000000 | address | Value | initreservereserve_after_launchcreate_vault_internaland 6 more |
| 98 | 00 | vector<u16> | Value | init |
| 99 | "" // interpreted as UTF8 string | vector<u8> | Value | build_fillerzeros |
| 100 | "5fad71cd86dfb03f3941571835b54fb2a94364ae54ac7f816224837ff424b662::king::KING" // interpreted as UTF8 string | vector<u8> | Value | assert_king |
| 101 | "https://" // interpreted as UTF8 string | vector<u8> | Value | configure_media_internal |
| 102 | ".invalid" // interpreted as UTF8 string | vector<u8> | Value | configure_media_internal |
| 103 | "{media}/{index}.webp" // interpreted as UTF8 string | vector<u8> | Value | configure_media_internaldisplay_cover |
| 104 | 0x000000000000000000000000000000000000000000000000000000000000000d | address | Value | create_display_v2 |
| 105 | "0x" // interpreted as UTF8 string | vector<u8> | Value | display_v2_extras |
| 106 | "attributes" // interpreted as UTF8 string | vector<u8> | Value | display_v2_extras |
| 107 | "index" // interpreted as UTF8 string | vector<u8> | Value | display_v2_extras |
| 108 | "collection_name" // interpreted as UTF8 string | vector<u8> | Value | display_v2_extras |
| 109 | "collection_description" // interpreted as UTF8 string | vector<u8> | Value | display_v2_extras |
| 110 | "collection_cover_url" // interpreted as UTF8 string | vector<u8> | Value | display_v2_extrasconfigure_media_and_sync |
| 111 | "collection_id" // interpreted as UTF8 string | vector<u8> | Value | display_v2_extras |
| 112 | "{attributes:json}" // interpreted as UTF8 string | vector<u8> | Value | display_v2_extras |
| 113 | "{index}" // interpreted as UTF8 string | vector<u8> | Value | display_v2_extras |
| 114 | "tokens/0.webp" // interpreted as UTF8 string | vector<u8> | Value | display_cover |