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"]
Storage Functions
Name
Type
DidRecords{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["[U8; 32]"],"value":"option<AccountId>","keys_id":32,"value_id":367}}
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":368,"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":371}}
DidKeys{"origin":"Map","n_map_type":{"hashers":["Identity","Twox64Concat"],"key_vec":["[U8; 32]","AccountId"],"value":"Bool","keys_id":372,"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":373,"value_id":374}}
AuthorizationsGiven{"origin":"Map","n_map_type":{"hashers":["Identity","Twox64Concat"],"key_vec":["[U8; 32]","U64"],"value":"polymesh_primitives:secondary_key:Signatory","keys_id":375,"value_id":95}}
CddAuthForMasterKeyRotation{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":74}
CddAuthForPrimaryKeyRotation{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":74}
StorageVersion{"origin":"PlainType","plain_type":"U8","PlainTypeValue":376}
AccountKeyRefCount{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"U64","keys_id":0,"value_id":10}}
Constants
Name
Type
Value
InitialPOLYXU12800e87648170000000000000000000000
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.
CurrentIdentityCannotBeForwardedCurrent identity cannot be forwarded, it is not a secondary key of target identity.
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
ConfidentialScopeClaimNotAllowedConfidential Scope claims can be added by an Identity to it-self.
InvalidScopeClaimAddition of a new scope claim gets invalidated.
ClaimVariantNotAllowedTry to add a claim variant using un-designated extrinsic.
TargetHasNonZeroBalanceAtScopeIdTry to delete the IU claim even when the user has non zero balance at given scopeId.
CDDIdNotUniqueForIdentityCDDId should be unique & same within all cdd claims possessed by a DID.
InvalidCDDIdNon systematic CDD providers can not create default cdd_id claims.
ClaimAndProofVersionsDoNotMatchClaim and Proof versions are different.
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.