launch
Module0xea36…3e21
- Move path
- 0x60e6…fb75::launch
- Functions
- 5038 public, 0 entry
- Structs
- 14
Declarations
Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.
module launch;
struct CompletedStateSetEvent has copy, drop {
launch_id: ID,
ts: u64,
}
struct ItemAddedEvent has copy, drop {
launch_id: ID,
item_type: TypeName,
}
struct ItemsAddedEvent has copy, drop {
launch_id: ID,
item_type: TypeName,
quantity: u64,
}
struct ItemsRemovedEvent has copy, drop {
launch_id: ID,
item_type: TypeName,
quantity: u64,
}
struct KioskRequirement has copy, drop, store {
}
struct LAUNCH has drop {
dummy_field: bool,
}
struct Launch<phantom T0: store + key> has key {
id: UID,
state: LaunchState,
items: TableVec<T0>,
phase_ids: VecSet<ID>,
revenue: Bag,
kiosk_requirement: KioskRequirement,
operators: VecSet<address>,
}
struct LaunchAdminCap has store, key {
id: UID,
launch_id: ID,
is_withdrew_revenue: bool,
}
struct LaunchCreatedEvent has copy, drop {
launch_id: ID,
launch_admin_cap_id: ID,
launch_type: TypeName,
}
struct LaunchLink<phantom T0: key> has copy, drop, store {
dummy_field: bool,
}
struct LaunchOperatorCap has drop {
launch_id: ID,
}
struct LaunchState has copy, drop, store {
}
struct SchedulingStateSetEvent has copy, drop {
launch_id: ID,
}
struct ShareLaunchPromise {
launch_id: ID,
}
public fun new<T0: store + key>(&Publisher,u64,KioskRequirement): (Launch<T0>, LaunchAdminCap, ShareLaunchPromise)
public fun receive<T0: store + key, T1: store + key>(&mut Launch<T0>,&LaunchOperatorCap,Receiving<T1>): T1
public fun withdraw_items_and_lock_in_kiosk<T0: store + key>(&mut Launch<T0>,&mut LaunchOperatorCap,u64,&mut Kiosk,&KioskOwnerCap,&TransferPolicy<T0>)
public fun withdraw_items_and_place_in_kiosk<T0: store + key>(&mut Launch<T0>,&mut LaunchOperatorCap,u64,&mut Kiosk,&KioskOwnerCap)