Westend
subscan
Runtime Modules / DelegatedStaking
Spec Version:
Events
Name
Lookup
Attributes
Delegated2600["AccountId","AccountId","BalanceOf"]
Released2601["AccountId","AccountId","BalanceOf"]
Slashed2602["AccountId","AccountId","BalanceOf"]
MigratedDelegation2603["AccountId","AccountId","BalanceOf"]
Storage Functions
Name
Type
Delegators{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_delegated_staking:types:Delegation","keys_id":0,"value_id":803}}
CounterForDelegators{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Agents{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_delegated_staking:types:AgentLedger","keys_id":0,"value_id":804}}
CounterForAgents{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
Constants
Name
Type
Value
PalletId[U8; 8]70792f646c73746b
SlashRewardFractionU3280969800
Error Types
Name
Docs
NotAllowedThe account cannot perform this operation.
AlreadyStakingAn existing staker cannot perform this action.
InvalidRewardDestinationReward Destination cannot be same as `Agent` account.
InvalidDelegationDelegation conditions are not met.Possible issues are1) Cannot delegate to self,2) Cannot delegate to multiple delegates.
NotEnoughFundsThe account does not have enough funds to perform the operation.
NotAgentNot an existing `Agent` account.
NotDelegatorNot a Delegator account.
BadStateSome corruption in internal state.
UnappliedSlashUnapplied pending slash restricts operation on `Agent`.
NothingToSlash`Agent` has no pending slash to be applied.
WithdrawFailedFailed to withdraw amount from Core Staking.
NotSupportedOperation not supported by this pallet.