@bucket/core-interface
constants
- Move path
- 0xce7f…4db2::constants
- Functions
- 1818 public, 0 entry
- Structs
- 0
- Friend modules
- None
constants
Functions18
- public fun buck_decimal(): u8
- public fun decay_factor_precision(): u64
- public fun decimal_factor(): u64
- public fun distribution_precision(): u128
- public fun fee_precision(): u64
- public fun flash_loan_fee(): u64
- public fun interest_precision(): u256
- public fun liquidation_fee(): u64
- public fun liquidation_rebate(): u64
- public fun max_fee(): u64
- public fun max_lock_time(): u64
- public fun max_u64(): u64
- public fun min_fee(): u64
- public fun min_lock_time(): u64
- public fun minute_decay_factor(): u64
- public fun ms_in_year(): u256
- public fun p_initial_value(): u64
- public fun scale_factor(): u64
Structs0
This module defines no structs
Constants16
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 5000 | u64 | Value | liquidation_rebate |
| 1 | 20000 | u64 | Value | liquidation_fee |
| 2 | 1000000 | u64 | Value | fee_precision |
| 3 | 500 | u64 | Value | flash_loan_fee |
| 4 | 999037758833783500 | u64 | Value | minute_decay_factor |
| 5 | 1000000000000000000 | u64 | Value | decay_factor_precisionp_initial_value |
| 6 | 9 | u8 | Value | buck_decimal |
| 7 | 1000000000 | u64 | Value | decimal_factorscale_factor |
| 8 | 18446744073709551615 | u64 | Value | max_u64 |
| 9 | 18446744073709551616 | u128 | Value | distribution_precision |
| 10 | 31104000000 | u64 | Value | max_lock_time |
| 11 | 2592000000 | u64 | Value | min_lock_time |
| 12 | 3000 | u64 | Value | min_fee |
| 13 | 50000 | u64 | Value | max_fee |
| 14 | 1000000000000000000000000000 | u256 | Value | interest_precision |
| 15 | 31536000000 | u256 | Value | ms_in_year |