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

API

pool_factory

Module0x8925…bce5
Move path
0x91bf…9ca1::pool_factory
Functions
2117 public, 16 entry
Structs
6
Friend modules
None
pool_factory

Declarations

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

module pool_factory;
struct FeeAmountEnabledEvent has copy, drop {
fee: u32,
tick_spacing: u32,
}
struct PoolConfig has store, key {
id: UID,
fee_map: VecMap<String, ID>,
fee_protocol: u32,
pools: Table<ID, PoolSimpleInfo>,
}
struct PoolCreatedEvent has copy, drop {
account: address,
pool: ID,
fee: u32,
tick_spacing: u32,
fee_protocol: u32,
sqrt_price: u128,
}
struct PoolFactoryAdminCap has store, key {
id: UID,
}
struct PoolSimpleInfo has copy, store {
pool_id: ID,
pool_key: ID,
coin_type_a: TypeName,
coin_type_b: TypeName,
fee_type: TypeName,
fee: u32,
tick_spacing: u32,
}
struct SetFeeProtocolEvent has copy, drop {
fee_protocol: u32,
}
public entry fun collect_protocol_fee<T0, T1, T2>(&PoolFactoryAdminCap,&mut pool::Pool<T0, T1, T2>,u64,u64,address,&pool::Versioned)
public fun collect_protocol_fee_with_return_<T0, T1, T2>(&PoolFactoryAdminCap,&mut pool::Pool<T0, T1, T2>,u64,u64,address,&pool::Versioned): (Coin<T0>, Coin<T1>)
fun compare_types(&vector<u8>, &vector<u8>): bool
public entry fun deploy_pool<T0, T1, T2>(&mut PoolConfig,&fee::Fee<T2>,u128,&Clock,&pool::Versioned)
public entry fun deploy_pool_and_mint<T0, T1, T2>(&mut PoolConfig,&fee::Fee<T2>,u128,&mut position_manager::Positions,vector<Coin<T0>>,vector<Coin<T1>>,u32,bool,u32,bool,u64,u64,u64,u64,address,u64,&Clock,&pool::Versioned)
public entry fun fake_swap<T0, T1, T2>(&PoolFactoryAdminCap,&mut pool::Pool<T0, T1, T2>,address,bool,u128,bool,u128,&Clock,&pool::Versioned)
fun init()
fun init_()
public entry fun migrate_position<T0, T1, T2>(&PoolFactoryAdminCap,&mut pool::Pool<T0, T1, T2>,&mut position_manager::Positions,vector<address>,address,&pool::Versioned)
public entry fun modify_reward<T0, T1, T2>(&PoolFactoryAdminCap,&mut pool::Pool<T0, T1, T2>,&mut position_manager::Positions,u32,bool,u32,bool,vector<address>,vector<address>,&pool::Versioned)
public entry fun modify_tick<T0, T1, T2>(&PoolFactoryAdminCap,&mut pool::Pool<T0, T1, T2>,u32,bool,&pool::Versioned)
public entry fun modify_tick_reward<T0, T1, T2>(&PoolFactoryAdminCap,&mut pool::Pool<T0, T1, T2>,u32,bool,&Clock,&pool::Versioned)
fun pool_key<T0, T1, T2>(TypeName,TypeName,TypeName): ID
public entry fun set_fee_protocol(&PoolFactoryAdminCap,&mut PoolConfig,u32,&pool::Versioned)
public entry fun set_fee_tier<T0>(&PoolFactoryAdminCap,&mut PoolConfig,&fee::Fee<T0>,&pool::Versioned)
public entry fun toggle_pool_status<T0, T1, T2>(&PoolFactoryAdminCap,&mut pool::Pool<T0, T1, T2>,&pool::Versioned)
public entry fun update_nft_description(&PoolFactoryAdminCap,&mut position_manager::Positions,String,&pool::Versioned)
public entry fun update_nft_img_url(&PoolFactoryAdminCap,&mut position_manager::Positions,String,&pool::Versioned)
public entry fun update_nft_name(&PoolFactoryAdminCap,&mut position_manager::Positions,String,&pool::Versioned)
public entry fun update_pool_fee_protocol<T0, T1, T2>(&PoolFactoryAdminCap,&mut pool::Pool<T0, T1, T2>,u32,&pool::Versioned)
public entry fun upgrade(&PoolFactoryAdminCap,&mut pool::Versioned)