phase
Module0xea36…3e21
- Move path
- 0x60e6…fb75::phase
- Functions
- 3833 public, 0 entry
- Structs
- 11
Declarations
Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.
module phase;
struct PHASE has drop {
dummy_field: bool,
}
struct PaymentOptionAddedEvent has copy, drop, store {
phase_id: ID,
payment_type: TypeName,
payment_value: u64,
}
struct PaymentOptionRemovedEvent has copy, drop, store {
phase_id: ID,
payment_type: TypeName,
}
struct PaymentOptionUpdatedEvent has copy, drop, store {
phase_id: ID,
payment_type: TypeName,
payment_value: u64,
}
struct Phase<phantom T0: store + key> has key {
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>,
}
struct PhaseCreatedEvent has copy, drop, store {
phase_id: ID,
name: Option<String>,
description: Option<String>,
is_allow_bulk_mint: bool,
max_mint_count_addr: u64,
max_mint_count_phase: u64,
}
struct PhaseDestroyedEvent has copy, drop, store {
launch_id: ID,
phase_id: ID,
}
struct PhaseKind has copy, drop, store {
}
struct PhaseRegisteredEvent has copy, drop, store {
launch_id: ID,
phase_id: ID,
}
struct PhaseState has copy, drop, store {
}
struct RegisterPhasePromise {
phase_id: ID,
}
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>)