constants
Module0x01ac…6d5c
- Move path
- 0x5a5c…83ac::constants
- Functions
- 1717 public, 0 entry
- Structs
- 0
- Friend modules
- None
constants
Functions17
- public fun basis_point_max(): u64
- public fun mask_32bits(): u128
- public fun mask_64bits(): u256
- public fun max_base_factor(): u32
- public fun max_bins(): u64
- public fun max_decay_period(): u16
- public fun max_fee_rate(): u64
- public fun max_liquidity_per_bin(): u128
- public fun max_u128(): u128
- public fun max_u16(): u16
- public fun max_u32(): u32
- public fun max_u64(): u64
- public fun max_variable_fee_control(): u32
- public fun max_volatility_accumulator(): u32
- public fun precision(): u64
- public fun squared_precision(): u64
Structs0
This module defines no structs
Constants17
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 1000000000 | u64 | Value | precision |
| 1 | 1000000000000000000 | u64 | Value | squared_precision |
| 2 | 100000000 | u64 | Value | max_fee_rate |
| 3 | 10000 | u64 | Value | basis_point_max |
| 4 | 2500 | u16 | Value | max_protocol_share |
| 5 | 2000000 | u32 | Value | max_variable_fee_control |
| 6 | 1000000 | u32 | Value | max_base_factor |
| 7 | 4095 | u16 | Value | max_decay_period |
| 8 | 1048575 | u32 | Value | max_volatility_accumulator |
| 9 | 383123885216472214589586756787 | u128 | Value | max_liquidity_per_bin |
| 10 | 1500 | u64 | Value | max_bins |
| 11 | 65535 | u16 | Value | max_u16 |
| 12 | 4294967295 | u32 | Value | max_u32 |
| 13 | 18446744073709551615 | u64 | Value | max_u64 |
| 14 | 340282366920938463463374607431768211455 | u128 | Value | max_u128 |
| 15 | 4294967295 | u128 | Value | mask_32bits |
| 16 | 18446744073709551615 | u256 | Value | mask_64bits |