subscan
Runtime Modules / Farming
Spec Version:
Call Functions
Events
Name
Lookup
Attributes
FarmingPoolCreated3600["PoolId"]
FarmingPoolReset3601["PoolId"]
FarmingPoolClosed3602["PoolId"]
FarmingPoolKilled3603["PoolId"]
FarmingPoolEdited3604["PoolId"]
Charged3605["AccountIdOf","PoolId","Vec<(CurrencyIdOf, BalanceOf)>"]
Deposited3606["AccountIdOf","PoolId","BalanceOf","Option<(BalanceOf, BlockNumberFor)>"]
Withdrawn3607["AccountIdOf","PoolId","Option<BalanceOf>"]
Claimed3608["AccountIdOf","PoolId"]
WithdrawClaimed3609["AccountIdOf","PoolId"]
GaugeWithdrawn360a["AccountIdOf","PoolId"]
AllForceGaugeClaimed360b["PoolId"]
PartiallyForceGaugeClaimed360c["PoolId"]
AllRetired360d["PoolId"]
PartiallyRetired360e["PoolId"]
RetireLimitSet360f["u32"]
Storage Functions
Name
Type
PoolNextId{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
GaugePoolNextId{"origin":"PlainType","plain_type":"U128","PlainTypeValue":6}
RetireLimit{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
PoolInfos{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U128"],"value":"pallet_farming:rewards:PoolInfo","keys_id":6,"value_id":503}}
GaugePoolInfos{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U128"],"value":"pallet_farming:gauge:GaugePoolInfo","keys_id":6,"value_id":510}}
GaugeInfos{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U128","[U8; 32]"],"value":"pallet_farming:gauge:GaugeInfo","keys_id":466,"value_id":516}}
SharesAndWithdrawnRewards{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U128","[U8; 32]"],"value":"pallet_farming:rewards:ShareInfo","keys_id":466,"value_id":517}}
Constants
Name
Type
Value
TreasuryAccount[U8; 32]6d6f646c70792f74727372790000000000000000000000000000000000000000
Keeper[U8; 8]6d742f666d6b7072
RewardIssuer[U8; 8]6d742f666d726972
Error Types
Name
Docs
InvalidPoolParameterPool parameter is invalid
PoolDoesNotExistPool not exist
GaugePoolNotExistGauge pool not exist
GaugeInfoNotExistGauge info not exist
ShareInfoNotExistsShare info is not exist
InvalidPoolStatePool state is invalid
LastGaugeNotClaimCan not claim gauge
CanNotClaimclaim_limit_time exceeded
GaugeMaxBlockOverflowgauge pool max_block exceeded
WithdrawLimitCountExceededwithdraw_limit_time exceeded
CanNotDepositCan not deposit to pool yet
RetireLimitNotSetThe retire limit number is not set