SuiLearn
Explorer
Mainnet
Package 0xcd83…8bd2 | SuiLearn Explorer
Move package
0xcd83322a271ef764063a44fc079a7e349fb7b0744465d76e2f39c8bcf5708bd2
Open in Playground
Read the source, view function signatures and call functions there.
Details
Version
7
Modules
25 (314 functions)
Published by
0xb4f36ccb4d8fe6d0f8a9aa7681d79ac2e9515f1cbdc7003b4843f025b1bde4e6
Published in
GmLZNJ…KvRg
Nov 3, 2025, 07:54:11 UTC
Versions
Each upgrade is a new package ID
v1
0x2592…f26d
v2
0xa83f…42c1
v3
0x3974…0267
v4
0xcd83…8bd2
v5
0xe882…df67
v6
0xa6b9…750f
Modules
25
admin_cap
1 functions · 1 structs
Functions
init
Structs
AdminCap
Explore admin_cap in Playground
bit_math
2 functions · 0 structs
Functions
get_least_significant_bit
PUBLIC
get_most_significant_bit
PUBLIC
Structs
none
Explore bit_math in Playground
caster
v7
0xde2c…c772
this version
1 functions · 0 structs
Functions
cast_to_u8
PUBLIC
Structs
none
Explore caster in Playground
comparator
5 functions · 1 structs
Functions
compare
PUBLIC
compare_u8_vector
PUBLIC
is_equal
PUBLIC
is_greater_than
PUBLIC
is_smaller_than
PUBLIC
Structs
Result
Explore comparator in Playground
constants
8 functions · 0 structs
Functions
get_fee_rate_denominator_value
PUBLIC
get_max_u128
PUBLIC
get_max_u16
PUBLIC
get_max_u256
PUBLIC
get_max_u32
PUBLIC
get_max_u64
PUBLIC
get_max_u8
PUBLIC
get_q64
PUBLIC
Structs
none
Explore constants in Playground
full_math_u128
12 functions · 0 structs
Functions
full_mul
PUBLIC
max
PUBLIC
min
PUBLIC
mul_div_ceil
PUBLIC
mul_div_floor
PUBLIC
mul_div_round
PUBLIC
mul_shl
PUBLIC
mul_shr
PUBLIC
overflowing_add
PUBLIC
overflowing_sub
PUBLIC
wrapping_add
PUBLIC
wrapping_sub
PUBLIC
Structs
none
Explore full_math_u128 in Playground
full_math_u64
7 functions · 0 structs
Functions
add_check
PUBLIC
full_mul
PUBLIC
mul_div_ceil
PUBLIC
mul_div_floor
PUBLIC
mul_div_round
PUBLIC
mul_shl
PUBLIC
mul_shr
PUBLIC
Structs
none
Explore full_math_u64 in Playground
i128
31 functions · 1 structs
Functions
abs
PUBLIC
abs_u128
PUBLIC
add
PUBLIC
and
PUBLIC
as_i32
PUBLIC
as_i64
PUBLIC
as_u128
PUBLIC
cmp
PUBLIC
div
PUBLIC
eq
PUBLIC
from
PUBLIC
gt
PUBLIC
gte
PUBLIC
is_neg
PUBLIC
lt
PUBLIC
lte
PUBLIC
mul
PUBLIC
neg
PUBLIC
neg_from
PUBLIC
or
PUBLIC
overflowing_add
PUBLIC
overflowing_sub
PUBLIC
shl
PUBLIC
shr
PUBLIC
sign
PUBLIC
sub
PUBLIC
u128_neg
u8_neg
wrapping_add
PUBLIC
wrapping_sub
PUBLIC
zero
PUBLIC
Structs
I128
Explore i128 in Playground
i32
28 functions · 1 structs
Functions
abs
PUBLIC
abs_u32
PUBLIC
add
PUBLIC
and
PUBLIC
as_u32
PUBLIC
cmp
PUBLIC
div
PUBLIC
eq
PUBLIC
from
PUBLIC
from_u32
PUBLIC
gt
PUBLIC
gte
PUBLIC
is_neg
PUBLIC
lt
PUBLIC
lte
PUBLIC
mod
PUBLIC
mul
PUBLIC
neg_from
PUBLIC
or
PUBLIC
shl
PUBLIC
shr
PUBLIC
sign
PUBLIC
sub
PUBLIC
u32_neg
u8_neg
wrapping_add
PUBLIC
wrapping_sub
PUBLIC
zero
PUBLIC
Structs
I32
Explore i32 in Playground
i64
28 functions · 1 structs
Functions
abs
PUBLIC
abs_u64
PUBLIC
add
PUBLIC
and
PUBLIC
as_u64
PUBLIC
cmp
PUBLIC
div
PUBLIC
eq
PUBLIC
from
PUBLIC
from_u64
PUBLIC
gt
PUBLIC
gte
PUBLIC
is_neg
PUBLIC
lt
PUBLIC
lte
PUBLIC
mod
PUBLIC
mul
PUBLIC
neg_from
PUBLIC
or
PUBLIC
shl
PUBLIC
shr
PUBLIC
sign
PUBLIC
sub
PUBLIC
u64_neg
u8_neg
wrapping_add
PUBLIC
wrapping_sub
PUBLIC
zero
PUBLIC
Structs
I64
Explore i64 in Playground
liquidity_math
8 functions · 0 structs
Functions
add_delta
PUBLIC
get_amount_x_for_liquidity
PUBLIC
get_amount_y_for_liquidity
PUBLIC
get_amounts_for_liquidity
PUBLIC
get_liquidity_for_amount_x
PUBLIC
get_liquidity_for_amount_y
PUBLIC
get_liquidity_for_amounts
PUBLIC
sort_sqrt_prices
Structs
none
Explore liquidity_math in Playground
math_u256
7 functions · 0 structs
Functions
add_check
PUBLIC
checked_shlw
PUBLIC
div_mod
PUBLIC
div_round
PUBLIC
overflow_add
PUBLIC
shlw
PUBLIC
shrw
PUBLIC
Structs
none
Explore math_u256 in Playground
oracle
14 functions · 1 structs
Functions
binary_search
PUBLIC
default
get_surrounding_observations
PUBLIC
grow
PUBLIC
initialize
PUBLIC
is_initialized
PUBLIC
observe
PUBLIC
observe_single
PUBLIC
seconds_per_liquidity_cumulative
PUBLIC
tick_cumulative
PUBLIC
timestamp_s
PUBLIC
transform
PUBLIC
try_get_observation
write
PUBLIC
Structs
Observation
Explore oracle in Playground
pool
50 functions · 19 structs
Functions
borrow_observations
PUBLIC
borrow_tick_bitmap
PUBLIC
borrow_ticks
PUBLIC
check_lock
check_pool_match
coin_type_x
PUBLIC
coin_type_y
PUBLIC
collect
PUBLIC
collect_pool_reward
PUBLIC
collect_protocol_fee
PUBLIC
create
FRIEND
extend_pool_reward_timestamp
PUBLIC
fee_growth_global_x
PUBLIC
fee_growth_global_y
PUBLIC
find_reward_info_index
flash
PUBLIC
flash_receipt_debts
PUBLIC
increase_observation_cardinality_next
PUBLIC
increase_pool_reward
PUBLIC
initialize
PUBLIC
initialize_pool_reward
PUBLIC
is_locked
PUBLIC
liquidity
PUBLIC
max_liquidity_per_tick
PUBLIC
modify_liquidity
PUBLIC
modify_position
observation_cardinality
PUBLIC
observation_cardinality_next
PUBLIC
observation_index
PUBLIC
observe
PUBLIC
pay
PUBLIC
pool_id
PUBLIC
protocol_fee_rate
PUBLIC
protocol_fee_x
PUBLIC
protocol_fee_y
PUBLIC
put
repay
PUBLIC
reserves
PUBLIC
reward_coin_type
PUBLIC
reward_ended_at
PUBLIC
reward_growth_global
PUBLIC
reward_info_at
PUBLIC
reward_last_update_at
PUBLIC
reward_length
PUBLIC
reward_per_seconds
PUBLIC
safe_withdraw
set_protocol_fee_rate
PUBLIC
snapshot_cumulatives_inside
PUBLIC
sqrt_price_current
PUBLIC
swap
PUBLIC
Structs
Collect
CollectPoolReward
CollectProtocolFee
Flash
FlashReceipt
IncreaseObservationCardinalityNext
Initialize
InitializePoolReward
ModifyLiquidity
Pay
Pool
PoolRewardCustodianDfKey
PoolRewardInfo
SetProtocolFeeRate
Swap
SwapReceipt
SwapState
SwapStepComputations
UpdatePoolRewardEmission
Explore pool in Playground
pool_manager
23 functions · 7 structs
Functions
borrow_mut_pool
PUBLIC
borrow_pool
PUBLIC
check_exists
PUBLIC
check_pool_manager
PUBLIC
collect_protocol_fee
PUBLIC
create_and_initialize_pool
PUBLIC
create_and_initialize_pool_v2
PUBLIC
create_and_initialize_pool_v3
PUBLIC
create_pool
PUBLIC
create_pool_
create_pool_permission_less
create_pool_v2
PUBLIC
create_pool_v3
PUBLIC
enable_fee_rate
PUBLIC
enable_fee_rate_internal
extend_pool_reward_timestamp
PUBLIC
grant_pool_manager
PUBLIC
increase_pool_reward
PUBLIC
init
initialize_pool_reward
PUBLIC
pool_key
revoke_pool_manager
PUBLIC
set_protocol_fee_rate
PUBLIC
Structs
FeeRateEnabled
PoolCreated
PoolDfKey
PoolManagerDfKey
PoolManagerGranted
PoolManagerRevoked
PoolRegistry
Explore pool_manager in Playground
position
22 functions · 3 structs
Functions
close
FRIEND
coins_owed_reward
PUBLIC
coins_owed_x
PUBLIC
coins_owed_y
PUBLIC
decrease_debt
FRIEND
decrease_reward_debt
FRIEND
fee_growth_inside_x_last
PUBLIC
fee_growth_inside_y_last
PUBLIC
fee_rate
PUBLIC
increase_debt
FRIEND
init
is_empty
PUBLIC
liquidity
PUBLIC
open
FRIEND
pool_id
PUBLIC
reward_growth_inside_last
PUBLIC
reward_length
PUBLIC
tick_lower_index
PUBLIC
tick_upper_index
PUBLIC
try_borrow_mut_reward_info
update
FRIEND
update_reward_infos
Structs
POSITION
Position
PositionRewardInfo
Explore position in Playground
position_manager
9 functions · 6 structs
Functions
close_position
PUBLIC
collect
PUBLIC
collect_pool_reward
PUBLIC
decrease_liquidity
PUBLIC
increase_liquidity
PUBLIC
increase_liquidity_
increase_liquidity_v2
PUBLIC
init
open_position
PUBLIC
Structs
Close
Collect
DecreaseLiquidity
IncreaseLiquidity
Open
PositionRegistry
Explore position_manager in Playground
sqrt_price_math
6 functions · 0 structs
Functions
get_amount_x_delta
PUBLIC
get_amount_y_delta
PUBLIC
get_next_sqrt_price_from_amount_x_rouding_up
PUBLIC
get_next_sqrt_price_from_amount_y_rouding_down
PUBLIC
get_next_sqrt_price_from_input
PUBLIC
get_next_sqrt_price_from_output
PUBLIC
Structs
none
Explore sqrt_price_math in Playground
swap_math
1 functions · 0 structs
Functions
compute_swap_step
PUBLIC
Structs
none
Explore swap_math in Playground
swap_router
7 functions · 0 structs
Functions
get_sqrt_price_limit
swap_exact_input
PUBLIC
swap_exact_output
PUBLIC
swap_exact_x_to_y
PUBLIC
swap_exact_y_to_x
PUBLIC
swap_x_to_exact_y
PUBLIC
swap_y_to_exact_x
PUBLIC
Structs
none
Explore swap_router in Playground
tick
15 functions · 1 structs
Functions
check_ticks
PUBLIC
clear
FRIEND
compute_reward_growths
cross
FRIEND
get_fee_and_reward_growths_inside
PUBLIC
get_fee_and_reward_growths_outside
PUBLIC
get_liquidity_gross
PUBLIC
get_liquidity_net
PUBLIC
get_seconds_out_side
PUBLIC
get_seconds_per_liquidity_out_side
PUBLIC
get_tick_cumulative_out_side
PUBLIC
is_initialized
PUBLIC
tick_spacing_to_max_liquidity_per_tick
PUBLIC
try_borrow_mut_tick
update
FRIEND
Structs
TickInfo
Explore tick in Playground
tick_bitmap
5 functions · 0 structs
Functions
flip_tick
FRIEND
next_initialized_tick_within_one_word
PUBLIC
position
try_borrow_mut_tick_word
try_get_tick_word
Structs
none
Explore tick_bitmap in Playground
tick_math
11 functions · 0 structs
Functions
as_u8
get_sqrt_price_at_negative_tick
get_sqrt_price_at_positive_tick
get_sqrt_price_at_tick
PUBLIC
get_tick_at_sqrt_price
PUBLIC
is_valid_index
PUBLIC
max_sqrt_price
PUBLIC
max_tick
PUBLIC
min_sqrt_price
PUBLIC
min_tick
PUBLIC
tick_bound
PUBLIC
Structs
none
Explore tick_math in Playground
utils
5 functions · 0 structs
Functions
check_deadline
PUBLIC
check_order
PUBLIC
is_ordered
PUBLIC
refund
PUBLIC
to_seconds
PUBLIC
Structs
none
Explore utils in Playground
versioned
8 functions · 5 structs
Functions
check_pause
PUBLIC
check_version
PUBLIC
init
is_paused
PUBLIC
pause
entry
PUBLIC
ugrade_internal
unpause
entry
PUBLIC
upgrade
PUBLIC
Structs
GlobalPauseDfKey
Paused
Unpaused
Upgraded
Versioned
Explore versioned in Playground