subscan
Runtime Modules / Farming
Spec Version:
Call Functions
Name
Lookup
Parameters
update_reward_schedule2c004
remove_reward_schedule2c012
deposit2c022
withdraw2c033
claim2c042
Events
Name
Lookup
Attributes
RewardScheduleUpdated2c00["CurrencyIdOf","CurrencyIdOf","u32","BalanceOf"]
RewardDistributed2c01["CurrencyIdOf","CurrencyIdOf","BalanceOf"]
RewardClaimed2c02["AccountIdOf","CurrencyIdOf","CurrencyIdOf","BalanceOf"]
Storage Functions
Name
Type
RewardSchedules{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["interbtc_primitives:CurrencyId","interbtc_primitives:CurrencyId"],"value":"farming:RewardSchedule","keys_id":466,"value_id":481}}
Constants
Name
Type
Value
FarmingPalletId[U8; 8]6d6f642f6661726d
TreasuryAccountId[U8; 32]6d6f646c6d6f642f747273790000000000000000000000000000000000000000
RewardPeriodU3205000000
Error Types
Name
Docs
InsufficientStake
BadRewardLength