math_u128
Module0x8925…bce5
- Move path
- 0x91bf…9ca1::math_u128
- Functions
- 1717 public, 0 entry
- Structs
- 0
- Friend modules
- None
math_u128
- 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
Functions17
- public fun checked_div_round(u128,u128,bool): u128
- public fun from_lo_hi(u64, u64): u128
- public fun full_mul(u128, u128): (u128, u128)
- public fun hi(u128): u64
- public fun hi_u128(u128): u128
- public fun leading_zeros(u128): u8
- public fun lo(u128): u64
- public fun lo_u128(u128): u128
- public fun max(u128, u128): u128
- public fun min(u128, u128): u128
- public fun overflowing_add(u128, u128): (u128, bool)
- public fun overflowing_mul(u128, u128): (u128, bool)
- public fun overflowing_sub(u128, u128): (u128, bool)
- public fun pow(u128, u8): u128
- public fun wrapping_add(u128, u128): u128
- public fun wrapping_mul(u128, u128): u128
- public fun wrapping_sub(u128, u128): u128
Structs0
This module defines no structs
Constants5
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 340282366920938463463374607431768211455 | u128 | Value | overflowing_sub |
| 1 | 340282366920938463444927863358058659840 | u128 | Value | hihi_u128 |
| 2 | 18446744073709551615 | u128 | Value | lolo_u128 |
| 3 | 0 | u64 | Abort code | wrapping_addwrapping_mul |
| 4 | 1 | u64 | Abort code | checked_div_round |