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,
}
fun calculate_amount_to_receive(u64, u64): u64