subscan
Runtime Modules / Farming
Spec Version:
Events
Name
Lookup
Attributes
FarmingPoolCreated7700["PoolId"]
FarmingPoolReset7701["PoolId"]
FarmingPoolClosed7702["PoolId"]
FarmingPoolKilled7703["PoolId"]
FarmingPoolEdited7704["PoolId"]
Charged7705["AccountIdOf","PoolId","Vec<(CurrencyIdOf, BalanceOf)>"]
Deposited7706["AccountIdOf","PoolId","BalanceOf"]
Withdrawn7707["AccountIdOf","PoolId","Option<BalanceOf>"]
Claimed7708["AccountIdOf","PoolId"]
WithdrawClaimed7709["AccountIdOf","PoolId"]
GaugeWithdrawn770a["AccountIdOf","PoolId"]
AllForceGaugeClaimed770b["PoolId"]
PartiallyForceGaugeClaimed770c["PoolId"]
AllRetired770d["PoolId"]
PartiallyRetired770e["PoolId"]
RetireLimitSet770f["u32"]
RoundEnd7710["BalanceOf","BlockNumberFor","BlockNumberFor"]
RoundStartError7711["DispatchError"]
RoundStart7712["BlockNumberFor"]
Voted7713["AccountIdOf","Vec<(PoolId, Percent)>"]
BoostCharged7714["AccountIdOf","Vec<(CurrencyIdOf, BalanceOf)>"]
Storage Functions
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":798}}
GaugePoolInfos{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"bifrost_farming:gauge:GaugePoolInfo","keys_id":4,"value_id":803}}
GaugeInfos{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"bifrost_farming:gauge:GaugeInfo","keys_id":605,"value_id":809}}
SharesAndWithdrawnRewards{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"bifrost_farming:rewards:ShareInfo","keys_id":605,"value_id":810}}
BoostPoolInfos{"origin":"PlainType","plain_type":"bifrost_farming:boost:BoostPoolInfo","PlainTypeValue":811}
UserBoostInfos{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"bifrost_farming:boost:UserBoostInfo","keys_id":0,"value_id":812}}
BoostWhitelist{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"NULL","keys_id":4,"value_id":303}}
BoostNextRoundWhitelist{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"NULL","keys_id":4,"value_id":303}}
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":814,"value_id":6}}
UserFarmingPool{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"Vec<U32>","keys_id":0,"value_id":815}}
Constants
Name
Type
Value
TreasuryAccountAccountId6d6f646c62662f74727372790000000000000000000000000000000000000000
Keeper[U8; 8]62662f666d6b7072
RewardIssuer[U8; 8]62662f666d726972
FarmingBoost[U8; 8]62662f666d627374
WhitelistMaximumLimitU320a000000
GaugeRewardIssuer[U8; 8]62662f666d676172
Error Types
Name
Docs
NotNullableThe field tokens_proportion cannot be empty.
PoolDoesNotExistThe pool does not exist.
GaugePoolNotExistThe gauge pool does not exist.
GaugeInfoNotExistThe gauge info does not exist.
InvalidPoolStateThe pool is not in the correct state.
CanNotClaimclaim_limit_time exceeded
GaugeMaxBlockOverflowgauge pool max_block exceeded
WithdrawLimitCountExceededwithdraw_limit_time exceeded
ShareInfoNotExistsUser's personal share info does not exist
CanNotDepositThe current block height needs to be greater than the field after_block_to_start inorder to execute deposit.
WhitelistEmptyWhitelist cannot be empty
RoundNotOverWhen starting a round, the field end_round needs to be 0 to indicate that the previousround has ended.
RoundLengthNotSetThe round length needs to be set when starting a round
WhitelistLimitExceededWhitelist maximum limit exceeded
NobodyVotingNo one voted for this pool.
NotInWhitelistThe pool is not in the whitelist
PercentOverflowThe total voting percentage of users cannot exceed 100%.
PoolNotClearedThe pool cannot be cleaned completely
InvalidRemoveAmountInvalid remove amount
UserFarmingPoolOverflowUser farming pool overflow