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

API

pool

Module0x6470…8cdd
Move path
0x6470…8cdd::pool
Functions
76 public, 0 entry
Structs
3
Friend modules
None
pool

Declarations

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

module pool;
struct AccessList has store, key {
id: UID,
list: vector<address>,
}
struct FlashLoanEvent<phantom T0> has copy, drop {
token: TypeName,
loan_amount: u64,
repay_amount: u64,
}
struct Pool<phantom T0> has key {
id: UID,
balance: Balance<T0>,
}
public fun access_list_add(&mut AccessList,address)
public fun access_list_add_vec(&mut AccessList,vector<address>)
fun is_valid(&AccessList): bool
public fun loan<T0>(&AccessList,&mut Pool<T0>,u64): Coin<T0>
public fun new_access_list()
public fun new_pool<T0>(Coin<T0>)
public fun repay<T0>(&mut Pool<T0>,Coin<T0>,u64)