- Move path
- 0x80f9…3b18::math
- Functions
- 88 public, 0 entry
- Structs
- 0
- Friend modules
- None
math
Functions8
- public fun compute_weight(u64,u64,u64,u64): u64
- public fun has_duplicates<T0>(&vector<T0>): bool
- public fun mul_div_down(u256,u256,u256): u256
- public fun mul_factor(u64,u64,u64): u64
- public fun mul_factor_u128(u128,u128,u128): u128
- public fun try_mul(u256, u256): (bool, u256)
- public fun try_mul_div_down(u256,u256,u256): (bool, u256)
- public fun x_is_percent_so_to_100_need(u64, u64): u64
Structs0
This module defines no structs
Constants4
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0 | u64 | Abort code | mul_factormul_factor_u128 |
| 1 | 1 | u64 | Abort code | compute_weight |
| 2 | 2 | u64 | Abort code | compute_weight |
| 3 | 115792089237316195423570985008687907853269984665640564039457584007913129639935 | u256 | Value | try_mul |