phase
Module0xea36…3e21
- Move path
- 0x60e6…fb75::phase
- Functions
- 3833 public, 0 entry
- Structs
- 11
Functions38
- public fun new<T0: store + key>(&launch::LaunchOperatorCap,&launch::Launch<T0>,PhaseKind,Option<String>,Option<String>,u64,u64,u64,u64,bool): (Phase<T0>, RegisterPhasePromise)
- public fun register<T0: store + key>(Phase<T0>,RegisterPhasePromise,&launch::LaunchOperatorCap,&mut launch::Launch<T0>)
- public fun set_max_mint_count_phase<T0: store + key>(&mut Phase<T0>,&launch::LaunchOperatorCap,u64,&mut launch::Launch<T0>)
Structs11
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- PHASEdrop
dummy_field bool - PaymentOptionAddedEventcopydropstore
phase_id ID payment_type TypeName payment_value u64 - PaymentOptionRemovedEventcopydropstore
phase_id ID payment_type TypeName - PaymentOptionUpdatedEventcopydropstore
phase_id ID payment_type TypeName payment_value u64 id UID kind PhaseKind state PhaseState launch_id ID name Option<String> description Option<String> start_ts u64 end_ts u64 is_allow_bulk_mint bool max_mint_count_addr u64 max_mint_count_phase u64 current_mint_count u64 participants Table<address, u64> payment_types VecMap<TypeName, u64> - PhaseCreatedEventcopydropstore
phase_id ID name Option<String> description Option<String> is_allow_bulk_mint bool max_mint_count_addr u64 max_mint_count_phase u64 - PhaseDestroyedEventcopydropstore
launch_id ID phase_id ID - PhaseKindcopydropstore
No fields
- PhaseRegisteredEventcopydropstore
launch_id ID phase_id ID - PhaseStatecopydropstore
No fields
phase_id ID
Constants20
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 50 | u64 | Value | add_payment_type |
| 1 | 20001 | u64 | Abort code | set_max_mint_count_phase |
| 2 | 20002 | u64 | Abort code | add_payment_type |
| 3 | 20003 | u64 | Abort code | newset_max_mint_count_addr |
| 4 | 20004 | u64 | Abort code | new |
| 5 | 20005 | u64 | Abort code | registerset_start_tsset_end_tsset_ended_stateand 1 more |
| 6 | 20006 | u64 | Abort code | register |
| 7 | 20007 | u64 | Abort code | set_max_mint_count_phase |
| 8 | 20008 | u64 | Abort code | registerremove_payment_type |
| 9 | 20009 | u64 | Abort code | update_payment_type |
| 10 | 20010 | u64 | Abort code | increment_whitelist_countassert_is_whitelist |
| 11 | 20011 | u64 | Abort code | register |
| 12 | 20012 | u64 | Abort code | set_ended_state |
| 13 | 20013 | u64 | Abort code | newset_start_ts |
| 14 | 20014 | u64 | Abort code | set_end_ts |
| 15 | 20015 | u64 | Abort code | set_start_tsset_end_ts |
| 16 | 20016 | u64 | Abort code | assert_is_public |
| 17 | 20017 | u64 | Abort code | destroy |
| 18 | 20018 | u64 | Abort code | assert_is_mintable |
| 19 | 20019 | u64 | Abort code | assert_is_mintable |