subscan
Runtime Modules / Delegation
Spec Version:
Events
Name
Lookup
Attributes
HierarchyCreated3f00["DelegatorIdOf","DelegationNodeIdOf","CtypeHashOf"]
HierarchyRevoked3f01["DelegatorIdOf","DelegationNodeIdOf"]
HierarchyRemoved3f02["DelegatorIdOf","DelegationNodeIdOf"]
DelegationCreated3f03["DelegatorIdOf","DelegationNodeIdOf","DelegationNodeIdOf","DelegationNodeIdOf","DelegatorIdOf","Permissions"]
DelegationRevoked3f04["DelegatorIdOf","DelegationNodeIdOf"]
DelegationRemoved3f05["AccountIdOf","DelegationNodeIdOf"]
DepositReclaimed3f06["AccountIdOf","DelegationNodeIdOf"]
Storage Functions
Name
Type
DelegationNodes{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H256"],"value":"delegation:delegation_hierarchy:DelegationNode","keys_id":12,"value_id":456}}
DelegationHierarchies{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H256"],"value":"H256","keys_id":12,"value_id":461}}
Constants
Name
Type
Value
DepositU1280080c6a47e8d03000000000000000000
MaxSignatureByteLengthU164000
MaxRevocationsU3205000000
MaxRemovalsU3205000000
MaxParentChecksU3205000000
MaxChildrenU32e8030000
Error Types
Name
Docs
DelegationAlreadyExistsThere is already a delegation node with the same ID stored on chain.
InvalidDelegateSignatureThe delegate's signature for the delegation creation operation isinvalid.
DelegationNotFoundNo delegation with the given ID stored on chain.
DelegateNotFoundNo delegate with the given ID stored on chain.
HierarchyAlreadyExistsThere is already a hierarchy with the same ID stored on chain.
HierarchyNotFoundNo hierarchy with the given ID stored on chain.
MaxSearchDepthReachedMax number of nodes checked without verifying the given condition.
NotOwnerOfParentDelegationThe delegation creator is not allowed to write the delegationbecause they are not the owner of the delegation parent node.
NotOwnerOfDelegationHierarchyThe delegation creator is not allowed to write the delegationbecause they are not the owner of the delegation root node.
ParentDelegationNotFoundNo parent delegation with the given ID stored on chain.
ParentDelegationRevokedThe parent delegation has previously been revoked.
UnauthorizedRevocationThe delegation revoker is not allowed to revoke the delegation.
UnauthorizedRemovalThe call origin is not authorized to remove the delegation.
UnauthorizedDelegationThe delegation creator is not allowed to create the delegation.
AccessDeniedThe operation wasn't allowed because of insufficient rights.
ExceededRevocationBoundsMax number of revocations for delegation nodes has been reached forthe operation.
ExceededRemovalBoundsMax number of removals for delegation nodes has been reached for theoperation.
MaxRevocationsTooLargeThe max number of revocation exceeds the limit for the pallet.
MaxRemovalsTooLargeThe max number of removals exceeds the limit for the pallet.
MaxParentChecksTooLargeThe max number of parent checks exceeds the limit for the pallet.
InternalAn error that is not supposed to take place, yet it happened.
MaxChildrenExceededThe max number of all children has been reached for thecorresponding delegation node.