Name | Lookup | Parameters | |
---|---|---|---|
set_admin_address | 4900 | 1 | |
stake | 4901 | 1 | |
unstake_all | 4902 | - | |
unstake_partial | 4908 | 1 | |
sponsor_collection | 4903 | 1 | |
stop_sponsoring_collection | 4904 | 1 | |
sponsor_contract | 4905 | 1 | |
stop_sponsoring_contract | 4906 | 1 | |
payout_stakers | 4907 | 1 | |
force_unstake | 4909 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
StakingRecalculation | 4900 | ["AccountId","BalanceOf","BalanceOf"] | |
Stake | 4901 | ["AccountId","BalanceOf"] | |
Unstake | 4902 | ["AccountId","BalanceOf"] | |
SetAdmin | 4903 | ["AccountId"] |
Name | Type | |
---|---|---|
TotalStaked | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
Admin | {"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0} | |
Staked | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["AccountId","U32"],"value":"Tuple:U128U32","keys_id":631,"value_id":632}} | |
StakesPerAccount | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U8","keys_id":0,"value_id":2}} | |
PendingUnstake | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<Tuple:AccountIdU128>","keys_id":4,"value_id":633}} | |
PreviousCalculatedRecord | {"origin":"PlainType","plain_type":"Tuple:AccountIdU32","PlainTypeValue":631} |
Name | Type | Value | |
---|---|---|---|
PalletId | [U8; 8] | 6170707374616b65 | |
FreezeIdentifier | [U8; 16] | 6170707374616b656170707374616b65 | |
RecalculationInterval | U32 | 40380000 | |
PendingInterval | U32 | e0c40000 | |
IntervalIncome | U32 | 88ea0600 | |
Nominal | U128 | 000064a7b3b6e00d0000000000000000 |
Name | Docs |
---|---|
AdminNotSet | Error due to action requiring admin to be set. |
NoPermission | No permission to perform an action. |
NotSufficientFunds | Insufficient funds to perform an action. |
PendingForBlockOverflow | Occurs when a pending unstake cannot be added in this block. PENDING_LIMIT_PER_BLOCK` limits exceeded. |
SponsorNotSet | The error is due to the fact that the collection/contract must already be sponsored in order to perform the action. |
InsufficientStakedBalance | Errors caused by insufficient staked balance. |
InconsistencyState | Errors caused by incorrect state of a staker in context of the pallet. |