subscan
Runtime Modules / Identity
Spec Version:
Events
Name
Lookup
Attributes
DidCreated0700["IdentityId","AccountId","Vec<SecondaryKey<AccountId>>"]
SecondaryKeysAdded0701["IdentityId","Vec<SecondaryKey<AccountId>>"]
SecondaryKeysRemoved0702["IdentityId","Vec<AccountId>"]
SecondaryKeyLeftIdentity0703["IdentityId","AccountId"]
SecondaryKeyPermissionsUpdated0704["IdentityId","AccountId","Permissions","Permissions"]
PrimaryKeyUpdated0705["IdentityId","AccountId","AccountId"]
ClaimAdded0706["IdentityId","IdentityClaim"]
ClaimRevoked0707["IdentityId","IdentityClaim"]
AssetDidRegistered0708["IdentityId","Ticker"]
AuthorizationAdded0709["IdentityId","Option<IdentityId>","Option<AccountId>","u64","AuthorizationData<AccountId>","Option<Moment>"]
AuthorizationRevoked070a["Option<IdentityId>","Option<AccountId>","u64"]
AuthorizationRejected070b["Option<IdentityId>","Option<AccountId>","u64"]
AuthorizationConsumed070c["Option<IdentityId>","Option<AccountId>","u64"]
AuthorizationRetryLimitReached070d["Option<IdentityId>","Option<AccountId>","u64"]
CddRequirementForPrimaryKeyUpdated070e["bool"]
CddClaimsInvalidated070f["IdentityId","Moment"]
SecondaryKeysFrozen0710["IdentityId"]
SecondaryKeysUnfrozen0711["IdentityId"]
CustomClaimTypeAdded0712["IdentityId","CustomClaimTypeId","Bytes"]
ChildDidCreated0713["IdentityId","IdentityId","AccountId"]
ChildDidUnlinked0714["IdentityId","IdentityId","IdentityId"]
Storage Functions
Name
Type
DidRecords{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["[U8; 32]"],"value":"option<AccountId>","keys_id":32,"value_id":359}}
IsDidFrozen{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["[U8; 32]"],"value":"Bool","keys_id":32,"value_id":74}}
CurrentDid{"origin":"PlainType","plain_type":"[U8; 32]","PlainTypeValue":32}
CurrentPayer{"origin":"PlainType","plain_type":"AccountId","PlainTypeValue":0}
Claims{"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Blake2_128Concat"],"key_vec":["pallet_identity:types:Claim1stKey","pallet_identity:types:Claim2ndKey"],"value":"polymesh_primitives:identity_claim:IdentityClaim","keys_id":360,"value_id":62}}
CustomClaims{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":68,"value_id":12}}
CustomClaimsInverse{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U32","keys_id":12,"value_id":68}}
CustomClaimIdSequence{"origin":"PlainType","plain_type":"U32","PlainTypeValue":68}
KeyRecords{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"polymesh_primitives:secondary_key:KeyRecord","keys_id":0,"value_id":363}}
DidKeys{"origin":"Map","n_map_type":{"hashers":["Identity","Twox64Concat"],"key_vec":["[U8; 32]","AccountId"],"value":"Bool","keys_id":364,"value_id":74}}
MultiPurposeNonce{"origin":"PlainType","plain_type":"U64","PlainTypeValue":10}
OffChainAuthorizationNonce{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["[U8; 32]"],"value":"U64","keys_id":32,"value_id":10}}
Authorizations{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Twox64Concat"],"key_vec":["polymesh_primitives:secondary_key:Signatory","U64"],"value":"polymesh_primitives:authorization:Authorization","keys_id":365,"value_id":366}}
AuthorizationsGiven{"origin":"Map","n_map_type":{"hashers":["Identity","Twox64Concat"],"key_vec":["[U8; 32]","U64"],"value":"polymesh_primitives:secondary_key:Signatory","keys_id":367,"value_id":95}}
CddAuthForPrimaryKeyRotation{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":74}
StorageVersion{"origin":"PlainType","plain_type":"U8","PlainTypeValue":368}
AccountKeyRefCount{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U64","keys_id":0,"value_id":10}}
ParentDid{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["[U8; 32]"],"value":"[U8; 32]","keys_id":32,"value_id":32}}
ChildDid{"origin":"Map","n_map_type":{"hashers":["Identity","Identity"],"key_vec":["[U8; 32]","[U8; 32]"],"value":"Bool","keys_id":369,"value_id":74}}
Constants
Name
Type
Value
InitialPOLYXU12800000000000000000000000000000000
Error Types
Name
Docs
AlreadyLinkedOne secondary or primary key can only belong to one DID
MissingCurrentIdentityMissing current identity on the transaction
UnauthorizedSignatory is not pre authorized by the identity
InvalidAccountKeyAccount Id cannot be extracted from signer
UnAuthorizedCddProviderOnly CDD service providers are allowed.
InvalidAuthorizationFromOwnerAn invalid authorization from the owner.
InvalidAuthorizationFromCddProviderAn invalid authorization from the CDD provider.
NotCddProviderAttestationAttestation was not by a CDD service provider.
AuthorizationsNotForSameDidsAuthorizations are not for the same DID.
DidMustAlreadyExistThe DID must already exist.
AuthorizationExpiredThe offchain authorization has expired.
TargetHasNoCddThe target DID has no valid CDD.
AuthorizationHasBeenRevokedAuthorization has been explicitly revoked.
InvalidAuthorizationSignatureAn invalid authorization signature.
KeyNotAllowedThis key is not allowed to execute a given operation.
NotPrimaryKeyOnly the primary key is allowed to revoke an Identity Signatory off-chain authorization.
DidDoesNotExistThe DID does not exist.
DidAlreadyExistsThe DID already exists.
SecondaryKeysContainPrimaryKeyThe secondary keys contain the primary key.
FailedToChargeFeeCouldn't charge fee for the transaction.
NotASignerSigner is not a secondary key of the provided identity
CannotDecodeSignerAccountIdCannot convert a `T::AccountId` to `AnySignature::Signer::AccountId`.
MultiSigHasBalanceMultisig can not be unlinked from an identity while it still holds POLYX
AccountKeyIsBeingUsedThe account key is being used, it can't be unlinked.
CustomScopeTooLongA custom scope is too long.It can at most be `32` characters long.
CustomClaimTypeAlreadyExistsThe custom claim type trying to be registered already exists.
CustomClaimTypeDoesNotExistThe custom claim type does not exist.
ClaimDoesNotExistClaim does not exist.
IsChildIdentityIdentity is already a child of an other identity, can't create grand-child identity.
NoParentIdentityThe Identity doesn't have a parent identity.
NotParentOrChildIdentityThe caller is not the parent or child identity.
DuplicateKeyThe same key was included multiple times.
ExceptNotAllowedForExtrinsicsCannot use Except when specifying extrinsic permissions.