pool
Module0x8925…bce5
- Move path
- 0x91bf…9ca1::pool
- Functions
- 8720 public, 0 entry
- Structs
- 25
pool
- fee4
- fee10000bps1
- fee100bps1
- fee3000bps1
- fee500bps1
- full_math_u1286
- full_math_u326
- full_math_u646
- i12831
- i3230
- i6428
- math_bit2
- math_liquidity7
- math_sqrt_price8
- math_swap3
- math_tick7
- math_u12817
- math_u2565
- math_u647
- pool87
- pool_factory21
- pool_fetcher1
- position_manager37
- position_nft5
- reward_manager8
- string_tools5
- swap_router13
Functions87
- public fun flash_swap<T0, T1, T2>(&mut Pool<T0, T1, T2>,address,bool,u128,bool,u128,&Clock,&Versioned): (Coin<T0>, Coin<T1>, FlashSwapReceipt<T0, T1>)
- public fun get_position_base_info<T0, T1, T2>(&Pool<T0, T1, T2>,String): (u128, u128, u128, u64, u64, &vector<PositionRewardInfo>)
- public fun get_position_reward_infos<T0, T1, T2>(&Pool<T0, T1, T2>,String): &vector<PositionRewardInfo>
- public fun repay_flash_swap<T0, T1, T2>(&mut Pool<T0, T1, T2>,Coin<T0>,Coin<T1>,FlashSwapReceipt<T0, T1>,&Versioned)
Structs25
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- AddRewardEventcopydrop
pool ID reward_index u64 reward_vault address reward_manager address amount u64 - BurnEventcopydrop
pool ID owner address tick_lower_index i32::I32 tick_upper_index i32::I32 amount_a u64 amount_b u64 liquidity_delta u128 - CollectEventcopydrop
pool ID recipient address tick_lower_index i32::I32 tick_upper_index i32::I32 amount_a u64 amount_b u64 - CollectProtocolFeeEventcopydrop
pool ID recipient address amount_a u64 amount_b u64 - CollectRewardEventcopydrop
pool ID recipient address tick_lower_index i32::I32 tick_upper_index i32::I32 amount u64 vault ID reward_index u64 - ComputeSwapStatecopydrop
amount_a u128 amount_b u128 amount_specified_remaining u128 amount_calculated u128 sqrt_price u128 tick_current_index i32::I32 fee_growth_global u128 protocol_fee u128 liquidity u128 fee_amount u128 pool_id ID a_to_b bool pay_amount u64 - InitRewardEventcopydrop
pool ID reward_index u64 reward_vault address reward_manager address - MigratePositionEventcopydrop
pool ID old_key String new_key String - MintEventcopydrop
pool ID owner address tick_lower_index i32::I32 tick_upper_index i32::I32 amount_a u64 amount_b u64 liquidity_delta u128 - ModifyTickRewardEventcopydrop
pool ID old_reward u128 new_reward u128 id UID coin_a Balance<T0> coin_b Balance<T1> protocol_fees_a u64 protocol_fees_b u64 sqrt_price u128 tick_current_index i32::I32 tick_spacing u32 max_liquidity_per_tick u128 fee u32 fee_protocol u32 unlocked bool fee_growth_global_a u128 fee_growth_global_b u128 liquidity u128 tick_map Table<i32::I32, u256> deploy_time_ms u64 reward_infos vector<PoolRewardInfo> reward_last_updated_time_ms u64 - PoolRewardInfostorekey
id UID vault address vault_coin_type String emissions_per_second u128 growth_global u128 manager address - PoolRewardVault<phantom T0>storekey
id UID coin Balance<T0> - Positionstorekey
id UID liquidity u128 fee_growth_inside_a u128 fee_growth_inside_b u128 tokens_owed_a u64 tokens_owed_b u64 reward_infos vector<PositionRewardInfo> - PositionRewardInfostore
reward_growth_inside u128 amount_owed u64 - RemoveRewardEventcopydrop
pool ID reward_index u64 reward_vault address reward_manager address amount u64 recipient address - SwapEventcopydrop
pool ID recipient address amount_a u64 amount_b u64 liquidity u128 tick_current_index i32::I32 tick_pre_index i32::I32 sqrt_price u128 protocol_fee u64 fee_amount u64 a_to_b bool is_exact_in bool - Tickstorekey
id UID liquidity_gross u128 liquidity_net i128::I128 fee_growth_outside_a u128 fee_growth_outside_b u128 reward_growths_outside vector<u128> initialized bool - TogglePoolStatusEventcopydrop
pool ID status bool - UpdatePoolFeeProtocolEventcopydrop
pool ID fee_protocol u32 - UpdateRewardEmissionsEventcopydrop
pool ID reward_index u64 reward_vault address reward_manager address reward_emissions_per_second u128 - UpdateRewardManagerEventcopydrop
pool ID reward_index u64 reward_manager address - UpgradeEventcopydrop
old_version u64 new_version u64 - Versionedstorekey
id UID version u64
Constants30
Constants are shown the way the code loads them. Bytecode does not keep their names.