Name | Lookup | Attributes | |
---|---|---|---|
DepositStake | 3e00 | ["PoolId","StakeId","SignedFixedPoint"] | |
DistributeReward | 3e01 | ["CurrencyId","SignedFixedPoint"] | |
WithdrawStake | 3e02 | ["PoolId","StakeId","SignedFixedPoint"] | |
WithdrawReward | 3e03 | ["PoolId","StakeId","CurrencyId","SignedFixedPoint"] |
Name | Type | |
---|---|---|
TotalStake | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"I128","keys_id":126,"value_id":187}} | |
TotalRewards | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"I128","keys_id":126,"value_id":187}} | |
RewardPerToken | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U128","U128"],"value":"I128","keys_id":621,"value_id":187}} | |
Stake | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128","AccountId"],"value":"I128","keys_id":622,"value_id":187}} | |
RewardTally | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U128","Tuple:U128AccountId"],"value":"I128","keys_id":623,"value_id":187}} | |
RewardCurrencies | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U128"],"value":"Vec<U128>","keys_id":126,"value_id":624}} |
Name | Type | Value | |
---|---|---|---|
MaxRewardCurrencies | U32 | 0a000000 |
Name | Docs |
---|---|
TryIntoIntError | Unable to convert value. |
InsufficientFunds | Balance not sufficient to withdraw stake. |
ZeroTotalStake | Cannot distribute rewards without stake. |
MaxRewardCurrencies | Maximum rewards currencies reached. |