math_swap
Module0x8925…bce5
- Move path
- 0x91bf…9ca1::math_swap
- Functions
- 33 public, 0 entry
- Structs
- 0
- Friend modules
- None
math_swap
- 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
Functions3
- public fun compute_swap(u128,u128,u128,u128,bool,u32): (u128, u128, u128, u128)
- public fun get_amount_fixed_delta(u128,u128,u128,bool,bool): u128
- public fun get_amount_unfixed_delta(u128,u128,u128,bool,bool): u128
Structs0
This module defines no structs
Constants7
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0 | u64 | Value | |
| 1 | 1 | u64 | Value | |
| 2 | 2 | u64 | Value | |
| 3 | 64 | u8 | Value | |
| 4 | 18446744073709551616 | u128 | Value | |
| 5 | 18446744073709551615 | u128 | Value | |
| 6 | 10000 | u128 | Value |