- Move path
- 0xd5b3…fd97::core
- Functions
- 472 public, 0 entry
- Structs
- 20
Functions47
Structs20
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- AddDepositEvent<phantom T0>copydrop
deposit address amount u64 - AddPoolEvent<phantom T0>copydrop
pool address coin_type TypeName - AddRewardConfigEvent<phantom T0>copydrop
pool address reward_type TypeName reward_rate u64 start_at u64 bank address boost_active bool - AfterSetBoostEventcopydrop
pool address deposit address old_debts VecMap<TypeName, u64> old_share u128 old_boost_share u128 new_debts VecMap<TypeName, u64> new_share u128 new_boost_share u128 id UID pool address balance Balance<T1> id UID pool address amount u64 share u128 boost_share u128 debts VecMap<TypeName, u64> credits VecMap<TypeName, u64> owner address - DepositEvent<phantom T0>copydrop
deposit address owner address pool address amount u64 id UID pool address deposit address - FlipBoostEventcopydrop
pool address reward_type TypeName - FundingBankEvent<phantom T0>copydrop
bank address amount u64 - HarvestEvent<phantom T0>copydrop
deposit address reward_type TypeName amount u64 - Pool<phantom T0>storekey
id UID active bool balance Balance<T0> total_share u128 total_boost_share u128 reward_configs VecMap<TypeName, RewardConfig> users Table<address, address> - RewardConfigstore
reward_rate_before u64 rate_change_at u64 reward_rate_after u64 per_share u128 last_update_time u64 bank address boost_active bool - SetBoostEventcopydrop
addr address boost u64 - SetPoolEvent<phantom T0>copydrop
pool address active bool - SetRewardConfigEvent<phantom T0>copydrop
pool address reward_type TypeName reward_rate u64 start_at u64 - Settingkey
id UID version u64 pools VecMap<TypeName, address> boosts VecMap<address, u64> - SettleEventcopydrop
pool address deposit address old_debts VecMap<TypeName, u64> new_debts VecMap<TypeName, u64> - VersionUpdatedEventcopydrop
old u64 new u64 - WithdrawEvent<phantom T0>copydrop
deposit address amount u64
Constants13
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 2 | u64 | Abort code | assert_versionmigrateinitdeposit |
| 1 | 18446744073709551616 | u128 | Value | per_share_of_perioddebtget_rewardremaining |
| 2 | 1000 | u128 | Value | update_boostget_boostcal_sharedebts |
| 3 | 0 | u64 | Abort code | settledepositadd_depositwithdrawand 1 more |
| 4 | 1 | u64 | Abort code | add_reward_config |
| 5 | 3 | u64 | Abort code | withdraw |
| 6 | 4 | u64 | Abort code | add_reward_configset_reward_config |
| 7 | 5 | u64 | Abort code | add_pool |
| 8 | 6 | u64 | Abort code | assert_versionmigrate |
| 9 | 7 | u64 | Abort code | settleadd_depositwithdrawharvest |
| 10 | 8 | u64 | Abort code | harvest |
| 11 | 9 | u64 | Abort code | withdrawharvest |
| 12 | 0x0000000000000000000000000000000000000000000000000000000000000000 | address | Value | get_deposit |