Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API

xflx

Module0x65ed…90f6
Move path
0x65ed…90f6::xflx
Functions
117 public, 5 entry
Structs
5
Friend modules
None
xflx

Declarations

Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.

module xflx;
struct Burn has copy, drop {
amount: u64,
lock_time_ms: u64,
sender: address,
}
struct Lock has store, key {
id: UID,
flx: Coin<flx::FLX>,
xflx: Coin<XFLX>,
lock_time_ms: u64,
unlocked_at_ms: u64,
}
struct Mint has copy, drop {
to: address,
amount: u64,
sender: address,
}
struct TreasuryManagement has store, key {
id: UID,
total_flx_locked: Coin<flx::FLX>,
cap: TreasuryCap<XFLX>,
}
struct XFLX has drop {
dummy_field: bool,
}
public entry fun burn(&mut TreasuryManagement,&Clock,Lock,address)
fun calculate_amount_to_receive(u64, u64): u64
public entry fun cancel_lazy_burn(&mut TreasuryManagement,&Clock,Lock,address)
fun create_lock(&Clock,Coin<flx::FLX>,Coin<XFLX>,u64): Lock
fun init(XFLX)
public entry fun lazy_burn(&mut TreasuryManagement,&Clock,Coin<XFLX>,u64,address)
public entry fun mint_and_transfer(&mut TreasuryManagement,Coin<flx::FLX>,address)
public entry fun transfer(Coin<XFLX>,address)
fun unlock_direct(Lock): (Coin<flx::FLX>, Coin<XFLX>)
public fun unlocked_at(&Lock): u64
public fun value(&Lock): (u64, u64)