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

Move path
0x5a5c…83ac::lb_factory
Functions
98 public, 0 entry
Structs
4
Friend modules
None
lb_factory

Declarations

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

module lb_factory;
struct CreatePairEvent has copy, drop {
pair_id: ID,
bin_step: u16,
coin_type_a: String,
coin_type_b: String,
active_id: u32,
}
struct InitFactoryEvent has copy, drop {
pair_factory: ID,
}
struct PairSimpleInfo has copy, drop, store {
pair_id: ID,
pair_key: ID,
bin_step: u16,
coin_type_a: TypeName,
coin_type_b: TypeName,
}
struct Pairs has store, key {
id: UID,
list: Table<ID, PairSimpleInfo>,
index: u64,
}
public fun bin_step(&PairSimpleInfo): u32
public fun coin_types(&PairSimpleInfo): (TypeName, TypeName)
public fun create_pair<T0, T1>(&config::GlobalConfig,&mut Pairs,u32,u16)
public fun index(&Pairs): u64
fun init()
public fun new_pair_key<T0, T1>(u16): ID
public fun pair_id(&PairSimpleInfo): ID
public fun pair_key(&PairSimpleInfo): ID
public fun pool_simple_info(&Pairs,ID): &PairSimpleInfo