math
Module0x9193…6edc
- Move path
- 0x9193…6edc::math
- Functions
- 66 public, 0 entry
- Structs
- 0
- Friend modules
- None
math
Functions6
- public fun compute_net_multiplier(u64, u64): u64
- public fun compute_stake_weight(u64,u64,u64,u64,u64,u64): (u128, u64, u64)
- public fun compute_time_multiplier(u64,u64,u64,u64): u64
- public fun mul_factor(u64,u64,u64): u64
- public fun mul_factor_u128(u128,u128,u128): u128
- public fun multiplier_scale(): u64
Structs0
This module defines no structs
Constants4
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0 | u64 | Abort code | mul_factormul_factor_u128 |
| 1 | 1 | u64 | Abort code | compute_time_multiplier |
| 2 | 2 | u64 | Abort code | compute_stake_weight |
| 3 | 1000000000 | u64 | Value | compute_net_multipliercompute_stake_weightmultiplier_scale |