staking_pool
Module0x9193…6edc
- Move path
- 0x9193…6edc::staking_pool
- Functions
- 3621 public, 0 entry
- Structs
- 3
- Friend modules
- claimstakingstaking_admin
staking_pool
Functions36
- public fun position_info<T0>(&StakedPosition<T0>): (ID, ID, u64, u128, u64, u64, u64, u128, u64, u64, u64, u64)
Structs3
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- STAKING_POOLdrop
dummy_field bool - StakedPosition<phantom T0>storekey
id UID pool_id ID stake_amount u64 stake_weight u128 time_multiplier u64 chakra_multiplier u64 net_multiplier u64 index u128 start_time u64 end_time u64 last_updated_time u64 harvested_rewards u64 - StakingPool<phantom T0>storekey
id UID rewards_balance Balance<T0> staked Balance<T0> reward_amount u64 harvested_amount u64 total_weight u128 index u128 last_harvest_time u64 reward_end_time u64 chakra_multipliers vector<u64> min_lock_time u64 max_lock_time u64 lock_durations vector<u64> max_time_multiplier u64 enabled bool
Constants7
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 18446744073709551616 | u128 | Value | harvestharvest_position |
| 1 | 0 | u64 | Abort code | unstake |
| 2 | 1 | u64 | Abort code | stake |
| 3 | 2 | u64 | Abort code | stake |
| 4 | 3 | u64 | Abort code | stake |
| 5 | 4 | u64 | Abort code | assert_valid_pool |
| 6 | 5 | u64 | Abort code | assert_pool_enabled |