subscan
Runtime Modules / Identity
Spec Version:
Storage Functions
Name
Type
DidRecords{"origin":"MapType","map_type":{"key":"IdentityId","hasher":"Identity","value":"DidRecord<AccountId>","isLinked":false}}
IsDidFrozen{"origin":"MapType","map_type":{"key":"IdentityId","hasher":"Identity","value":"bool","isLinked":false}}
CurrentDid{"origin":"PlainType","plain_type":"IdentityId"}
CurrentPayer{"origin":"PlainType","plain_type":"AccountId"}
Claims{"origin":"DoubleMapType","double_map_type":{"key":"Claim1stKey","key2":"Claim2ndKey","hasher":"Twox64Concat","key2Hasher":"Blake2_128Concat","value":"IdentityClaim","isLinked":false}}
KeyToIdentityIds{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"IdentityId","isLinked":false}}
MultiPurposeNonce{"origin":"PlainType","plain_type":"u64"}
OffChainAuthorizationNonce{"origin":"MapType","map_type":{"key":"IdentityId","hasher":"Identity","value":"AuthorizationNonce","isLinked":false}}
Authorizations{"origin":"DoubleMapType","double_map_type":{"key":"Signatory<AccountId>","key2":"u64","hasher":"Blake2_128Concat","key2Hasher":"Twox64Concat","value":"Authorization<AccountId, Moment>","isLinked":false}}
AuthorizationsGiven{"origin":"DoubleMapType","double_map_type":{"key":"IdentityId","key2":"u64","hasher":"Identity","key2Hasher":"Twox64Concat","value":"Signatory<AccountId>","isLinked":false}}
CddAuthForMasterKeyRotation{"origin":"PlainType","plain_type":"bool"}
CddAuthForPrimaryKeyRotation{"origin":"PlainType","plain_type":"bool"}
StorageVersion{"origin":"PlainType","plain_type":"Version"}
AccountKeyRefCount{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Blake2_128Concat","value":"u64","isLinked":false}}
Constants
Name
Type
Value
InitialPOLYX<Balances as Currency<AccountId>>::Balance0x00e87648170000000000000000000000
Error Types
Name
Docs
AlreadyLinked One secondary or primary key can only belong to one DID
MissingCurrentIdentity Missing current identity on the transaction
Unauthorized Signatory is not pre authorized by the identity
InvalidAccountKey Account Id cannot be extracted from signer
UnAuthorizedCddProvider Only CDD service providers are allowed.
InvalidAuthorizationFromOwner An invalid authorization from the owner.
InvalidAuthorizationFromCddProvider An invalid authorization from the CDD provider.
NotCddProviderAttestation Attestation was not by a CDD service provider.
AuthorizationsNotForSameDids Authorizations are not for the same DID.
DidMustAlreadyExist The DID must already exist.
CurrentIdentityCannotBeForwarded Current identity cannot be forwarded, it is not a secondary key of target identity.
AuthorizationExpired The offchain authorization has expired.
TargetHasNoCdd The target DID has no valid CDD.
AuthorizationHasBeenRevoked Authorization has been explicitly revoked.
InvalidAuthorizationSignature An invalid authorization signature.
KeyNotAllowed This key is not allowed to execute a given operation.
NotPrimaryKey Only the primary key is allowed to revoke an Identity Signatory off-chain authorization.
DidDoesNotExist The DID does not exist.
DidAlreadyExists The DID already exists.
SecondaryKeysContainPrimaryKey The secondary keys contain the primary key.
FailedToChargeFee Couldn't charge fee for the transaction.
NotASigner Signer is not a secondary key of the provided identity
CannotDecodeSignerAccountId Cannot convert a `T::AccountId` to `AnySignature::Signer::AccountId`.
MultiSigHasBalance Multisig can not be unlinked from an identity while it still holds POLYX
ConfidentialScopeClaimNotAllowed Confidential Scope claims can be added by an Identity to it-self.
InvalidScopeClaim Addition of a new scope claim gets invalidated.
ClaimVariantNotAllowed Try to add a claim variant using un-designated extrinsic.
TargetHasNonZeroBalanceAtScopeId Try to delete the IU claim even when the user has non zero balance at given scopeId.
CDDIdNotUniqueForIdentity CDDId should be unique & same within all cdd claims possessed by a DID.
InvalidCDDId Non systematic CDD providers can not create default cdd_id claims.
ClaimAndProofVersionsDoNotMatch Claim and Proof versions are different.
AccountKeyIsBeingUsed The account key is being used, it can't be unlinked.
CustomScopeTooLong A custom scope is too long. It can at most be `32` characters long.