SuiLearn
Explorer
Mainnet
Package 0x0cdc…79b7 | SuiLearn Explorer
Move package
0x0cdcbc6a7c5b8d10c265a715d6d007dceadd561c41a3e038ef9aaeae419d79b7
Open in Playground
Read the source, view function signatures and call functions there.
Details
Version
12
Modules
9 (198 functions)
Published by
0x7d823d7c8cd081bd9c4cbb02d92f36fa2bacbf3f5a7fb44ac4886b2abd14e035
Published in
9wTz16…QwHX
Jun 1, 2026, 00:08:56 UTC
Versions
Each upgrade is a new package ID
v1
0xb24b…54d9
v2
0xdc84…a8ad
v3
0xdf87…76cc
v4
0xb574…e3a4
v5
0x941f…0b7a
v6
0xa00f…2ed7
Modules
9
math
13 functions · 0 structs
Functions
max
PUBLIC
max_u64
PUBLIC
min
PUBLIC
min_u64
PUBLIC
mul_div
PUBLIC
mul_div_u128
PUBLIC
mul_div_up_u128
PUBLIC
mul_to_u128
PUBLIC
overflow_add
PUBLIC
v7
0x08cd…498f
v8
0x0cdc…79b7
v9
0x7be6…f57e
v10
0xc396…513b
v11
0xf72b…d656
v12
0x35f3…56d7
this version
pow
PUBLIC
pow_10
PUBLIC
sqrt
PUBLIC
sqrt_u64
PUBLIC
Structs
none
Explore math in Playground
router
28 functions · 0 structs
Functions
add_liquidity
entry
PUBLIC
add_liquidity_returns
PUBLIC
get_intermediate_output
get_intermediate_output_x_to_exact_y
remove_liquidity
entry
PUBLIC
swap_exact_input
entry
PUBLIC
swap_exact_input_
PUBLIC
swap_exact_input_double_internal
swap_exact_input_doublehop
entry
PUBLIC
swap_exact_input_doublehop_
PUBLIC
swap_exact_input_quadruple_internal
swap_exact_input_quadruplehop
entry
PUBLIC
swap_exact_input_quadruplehop_
PUBLIC
swap_exact_input_triple_internal
swap_exact_input_triplehop
entry
PUBLIC
swap_exact_input_triplehop_
PUBLIC
swap_exact_output
entry
PUBLIC
swap_exact_output_
PUBLIC
swap_exact_output_double_internal
swap_exact_output_doublehop
entry
PUBLIC
swap_exact_output_doublehop_
PUBLIC
swap_exact_output_quadruple_internal
swap_exact_output_quadruplehop
PUBLIC
swap_exact_output_quadruplehop_
PUBLIC
swap_exact_output_triple_internal
swap_exact_output_triplehop
entry
PUBLIC
swap_exact_output_triplehop_
PUBLIC
unfreeze_and_add_liquidity
PUBLIC
Structs
none
Explore router in Playground
stable_curve
6 functions · 0 structs
Functions
coin_in
PUBLIC
coin_out
PUBLIC
d
f
get_y
lp_value
PUBLIC
Structs
none
Explore stable_curve in Playground
stable_router
7 functions · 0 structs
Functions
add_stable_liquidity
entry
PUBLIC
create_stable_pool
entry
PUBLIC
remove_liquidity
entry
PUBLIC
swap_exact_input
entry
PUBLIC
swap_exact_input_
PUBLIC
swap_exact_output
entry
PUBLIC
swap_exact_output_
PUBLIC
Structs
none
Explore stable_router in Playground
stable_swap
42 functions · 8 structs
Functions
add_liquidity
FRIEND
add_stable_swap_event_internal
PUBLIC
add_stable_swap_event_with_address
PUBLIC
add_stable_swap_event_with_address_internal
assert_lp_value_is_increased
calc_optimal_coin_values
PUBLIC
check_stable_pool_exist
PUBLIC
convert_with_current_price
PUBLIC
create_pool
FRIEND
create_stable_pool_internal
freeze_stable_pool
entry
PUBLIC
freeze_stable_pool_internal
get_amount_in
PUBLIC
get_amount_out
PUBLIC
get_coin_in_with_fees
get_coin_out_with_fees
get_cumulative_prices
PUBLIC
get_decimals_scales
PUBLIC
get_fees_config
PUBLIC
get_reserves_size
PUBLIC
get_stable_pool
PUBLIC
init
new_reserves_after_fees_scaled
remove_liquidity
FRIEND
set_dao_fee
entry
PUBLIC
set_dev_account
entry
PUBLIC
set_fee
entry
PUBLIC
set_fee_config
entry
PUBLIC
set_fee_to
entry
PUBLIC
split_fee_to_dao
stable_burn
stable_mint
swap
swap_coin_for_coin_unchecked
FRIEND
swap_coin_for_coin_unchecked_
FRIEND
swap_exact_x_to_y
FRIEND
swap_exact_y_to_x
FRIEND
swap_x_to_exact_y
FRIEND
swap_y_to_exact_x
FRIEND
update_oracle
withdraw_fee_stable_pool
entry
PUBLIC
withdraw_fee_stable_pool_internal
Structs
Add_Liquidity_Stable_Pool_Event
Created_Stable_Pool_Event
Dex_Stable_Info
Freeze_Stable_Pool_Event
LSP
Remove_Liqidity_Stable_Pool_Event
Stable_Pool
Stable_Swap_Event
Explore stable_swap in Playground
swap
47 functions · 11 structs
Functions
add_liquidity
FRIEND
add_liquidity_direct
add_liquidity_returns
FRIEND
add_swap_event_internal
PUBLIC
add_swap_event_with_address
PUBLIC
add_swap_event_with_address_internal
assert_input_amount
PUBLIC
assert_version_contract
PUBLIC
burn
check_pool_exist
PUBLIC
create_and_freeze_pool
PUBLIC
create_new_pool
FRIEND
create_new_pool_admin
entry
PUBLIC
create_pool_internal
create_pool_internal_v2
freeze_pool
entry
PUBLIC
get_amounts
PUBLIC
get_pool
PUBLIC
init
migrate_contract_version
entry
PUBLIC
migrate_escrow_coins
entry
PUBLIC
migrate_pool
entry
PUBLIC
mint
mint_fee
remove_liquidity
FRIEND
remove_liquidity_direct
set_fee_to
entry
PUBLIC
set_new_dev
entry
PUBLIC
skim_pool
PUBLIC
swap
swap_exact_x_to_y
FRIEND
swap_exact_x_to_y_direct
FRIEND
swap_exact_y_to_x
FRIEND
swap_exact_y_to_x_direct
FRIEND
swap_x_to_exact_y
FRIEND
swap_x_to_exact_y_direct
FRIEND
swap_y_to_exact_x
FRIEND
swap_y_to_exact_x_direct
FRIEND
sync_pool
PUBLIC
token_balances
PUBLIC
token_reserves
PUBLIC
transfer_withdraw_fee
unfreeze_and_add_liquidity
FRIEND
update
withdraw_fee
entry
PUBLIC
withdraw_fee_
PUBLIC
withdraw_fee_direct
PUBLIC
Structs
Add_Liquidity_Pool
Created_Pool_Event
Dex_Info
EscownCoins
EscrowCoinsV2
Freeze_Event
LSP
Pool
Remove_Liqidity_Pool
Swap_Event
VersionManage
Explore swap in Playground
u256
32 functions · 2 structs
Functions
add
PUBLIC
and
PUBLIC
as_u128
PUBLIC
as_u64
PUBLIC
bits
compare
PUBLIC
div
PUBLIC
du256_to_u256
from_bytes
PUBLIC
from_u128
PUBLIC
from_u64
PUBLIC
ge
PUBLIC
get
PUBLIC
get_d
get_equal
PUBLIC
get_greater_than
PUBLIC
get_less_than
PUBLIC
leading_zeros_u64
mul
PUBLIC
mul_u128
PUBLIC
or
PUBLIC
overflowing_add
overflowing_sub
put
put_d
shl
PUBLIC
shr
PUBLIC
split_u128
sub
PUBLIC
to_bytes
PUBLIC
xor
PUBLIC
zero
PUBLIC
Structs
DU256
U256
Explore u256 in Playground
uq64x64
8 functions · 1 structs
Functions
compare
PUBLIC
decode
PUBLIC
div
PUBLIC
encode
PUBLIC
fraction
PUBLIC
is_zero
PUBLIC
mul
PUBLIC
to_u128
PUBLIC
Structs
UQ64x64
Explore uq64x64 in Playground
utils
15 functions · 0 structs
Functions
compare_u8_vector
PUBLIC
destroy_zero_coin
PUBLIC
get_amount_in
PUBLIC
get_amount_out
PUBLIC
get_amount_out_fee
PUBLIC
get_contract_version
PUBLIC
get_equal_enum
PUBLIC
get_greater_enum
PUBLIC
get_lp_name
PUBLIC
get_smaller_enum
PUBLIC
get_token_name
PUBLIC
quote
PUBLIC
sort_token_type
PUBLIC
split_and_keep_coin
PUBLIC
to_bytes
PUBLIC
Structs
none
Explore utils in Playground