Name | Lookup | Parameters | |
|---|---|---|---|
| create_farming_pool | 7700 | 8 | |
| charge | 7701 | 2 | |
| deposit | 7702 | 2 | |
| withdraw | 7703 | 2 | |
| claim | 7704 | 1 | |
| withdraw_claim | 7705 | 1 | |
| force_retire_pool | 7706 | 1 | |
| set_retire_limit | 7707 | 1 | |
| close_pool | 7708 | 1 | |
| reset_pool | 7709 | 8 | |
| kill_pool | 770a | 1 | |
| edit_pool | 770b | 6 | |
| force_gauge_claim | 770d | 1 | |
| add_boost_pool_whitelist | 770e | 1 | |
| set_next_round_whitelist | 770f | 1 | |
| vote | 7710 | 1 | |
| start_boost_round | 7711 | 1 | |
| end_boost_round | 7712 | - | |
| charge_boost | 7713 | 1 | |
| refresh | 7714 | - |
Name | Lookup | Attributes | |
|---|---|---|---|
| FarmingPoolCreated | 7700 | ["PoolId"] | |
| FarmingPoolReset | 7701 | ["PoolId"] | |
| FarmingPoolClosed | 7702 | ["PoolId"] | |
| FarmingPoolKilled | 7703 | ["PoolId"] | |
| FarmingPoolEdited | 7704 | ["PoolId"] | |
| Charged | 7705 | ["AccountIdOf","PoolId","Vec<(CurrencyIdOf, BalanceOf)>"] | |
| Deposited | 7706 | ["AccountIdOf","PoolId","BalanceOf"] | |
| Withdrawn | 7707 | ["AccountIdOf","PoolId","Option<BalanceOf>"] | |
| Claimed | 7708 | ["AccountIdOf","PoolId"] | |
| WithdrawClaimed | 7709 | ["AccountIdOf","PoolId"] | |
| GaugeWithdrawn | 770a | ["AccountIdOf","PoolId"] | |
| AllForceGaugeClaimed | 770b | ["PoolId"] | |
| PartiallyForceGaugeClaimed | 770c | ["PoolId"] | |
| AllRetired | 770d | ["PoolId"] | |
| PartiallyRetired | 770e | ["PoolId"] | |
| RetireLimitSet | 770f | ["u32"] | |
| RoundEnd | 7710 | ["BalanceOf","BlockNumberFor","BlockNumberFor"] | |
| RoundStartError | 7711 | ["DispatchError"] | |
| RoundStart | 7712 | ["BlockNumberFor"] | |
| Voted | 7713 | ["AccountIdOf","Vec<(PoolId, Percent)>"] | |
| BoostCharged | 7714 | ["AccountIdOf","Vec<(CurrencyIdOf, BalanceOf)>"] |
Name | Type | |
|---|---|---|
| PoolNextId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| GaugePoolNextId | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| RetireLimit | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| PoolInfos | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"bifrost_farming:rewards:PoolInfo","keys_id":4,"value_id":970}} | |
| GaugePoolInfos | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"bifrost_farming:gauge:GaugePoolInfo","keys_id":4,"value_id":974}} | |
| GaugeInfos | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"bifrost_farming:gauge:GaugeInfo","keys_id":750,"value_id":980}} | |
| SharesAndWithdrawnRewards | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"bifrost_farming:rewards:ShareInfo","keys_id":750,"value_id":981}} | |
| BoostPoolInfos | {"origin":"PlainType","plain_type":"bifrost_farming:boost:BoostPoolInfo","PlainTypeValue":982} | |
| UserBoostInfos | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"bifrost_farming:boost:UserBoostInfo","keys_id":0,"value_id":983}} | |
| BoostWhitelist | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"NULL","keys_id":4,"value_id":306}} | |
| BoostNextRoundWhitelist | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"NULL","keys_id":4,"value_id":306}} | |
| BoostVotingPools | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U128","keys_id":4,"value_id":6}} | |
| BoostBasicRewards | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","bifrost_primitives:currency:CurrencyId"],"value":"U128","keys_id":985,"value_id":6}} | |
| UserFarmingPool | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Vec<U32>","keys_id":0,"value_id":986}} |
Name | Type | Value | |
|---|---|---|---|
| TreasuryAccount | AccountId | 6d6f646c62662f74727372790000000000000000000000000000000000000000 | |
| Keeper | [U8; 8] | 62662f666d6b7072 | |
| RewardIssuer | [U8; 8] | 62662f666d726972 | |
| FarmingBoost | [U8; 8] | 62662f666d627374 | |
| WhitelistMaximumLimit | U32 | 0a000000 | |
| GaugeRewardIssuer | [U8; 8] | 62662f666d676172 |
Name | Docs |
|---|---|
| NotNullable | The field tokens_proportion cannot be empty. |
| PoolDoesNotExist | The pool does not exist. |
| GaugePoolNotExist | The gauge pool does not exist. |
| GaugeInfoNotExist | The gauge info does not exist. |
| InvalidPoolState | The pool is not in the correct state. |
| CanNotClaim | claim_limit_time exceeded |
| GaugeMaxBlockOverflow | gauge pool max_block exceeded |
| WithdrawLimitCountExceeded | withdraw_limit_time exceeded |
| ShareInfoNotExists | User's personal share info does not exist |
| CanNotDeposit | The current block height needs to be greater than the field after_block_to_start inorder to execute deposit. |
| WhitelistEmpty | Whitelist cannot be empty |
| RoundNotOver | When starting a round, the field end_round needs to be 0 to indicate that the previousround has ended. |
| RoundLengthNotSet | The round length needs to be set when starting a round |
| WhitelistLimitExceeded | Whitelist maximum limit exceeded |
| NobodyVoting | No one voted for this pool. |
| NotInWhitelist | The pool is not in the whitelist |
| PercentOverflow | The total voting percentage of users cannot exceed 100%. |
| PoolNotCleared | The pool cannot be cleaned completely |
| InvalidRemoveAmount | Invalid remove amount |
| UserFarmingPoolOverflow | User farming pool overflow |