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","Option<(BalanceOf, BlockNumberFor)>"]
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":759}}
GaugePoolInfos{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"bifrost_farming:gauge:GaugePoolInfo","keys_id":4,"value_id":764}}
GaugeInfos{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"bifrost_farming:gauge:GaugeInfo","keys_id":731,"value_id":770}}
SharesAndWithdrawnRewards{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"bifrost_farming:rewards:ShareInfo","keys_id":731,"value_id":771}}
BoostPoolInfos{"origin":"PlainType","plain_type":"bifrost_farming:boost:BoostPoolInfo","PlainTypeValue":772}
UserBoostInfos{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"bifrost_farming:boost:UserBoostInfo","keys_id":0,"value_id":773}}
BoostWhitelist{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"NULL","keys_id":4,"value_id":47}}
BoostNextRoundWhitelist{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"NULL","keys_id":4,"value_id":47}}
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":775,"value_id":6}}
Constants
Name
Type
Value
TreasuryAccountAccountId6d6f646c62662f74727372790000000000000000000000000000000000000000
Keeper[U8; 8]62662f666d6b7072
RewardIssuer[U8; 8]62662f666d726972
FarmingBoost[U8; 8]62662f666d627374
WhitelistMaximumLimitU320a000000
Error Types
Name
Docs
NotNullable
PoolDoesNotExist
GaugePoolNotExist
GaugeInfoNotExist
InvalidPoolState
LastGaugeNotClaim
CanNotClaimclaim_limit_time exceeded
GaugeMaxBlockOverflowgauge pool max_block exceeded
WithdrawLimitCountExceededwithdraw_limit_time exceeded
ShareInfoNotExists
CanNotDeposit
WhitelistEmpty
RoundNotOver
RoundLengthNotSet
WhitelistLimitExceeded
NobodyVoting
NotInWhitelist
PercentOverflow
PoolNotCleared