Name | Lookup | Parameters | |
|---|---|---|---|
| cdd_register_did | 0700 | 2 | |
| invalidate_cdd_claims | 0701 | 3 | |
| remove_secondary_keys | 0702 | 1 | |
| accept_primary_key | 0703 | 2 | |
| change_cdd_requirement_for_mk_rotation | 0704 | 1 | |
| join_identity_as_key | 0705 | 1 | |
| leave_identity_as_key | 0706 | - | |
| add_claim | 0707 | 3 | |
| revoke_claim | 0708 | 2 | |
| set_permission_to_signer | 0709 | 2 | |
| legacy_set_permission_to_signer | 070a | 2 | |
| freeze_secondary_keys | 070b | - | |
| unfreeze_secondary_keys | 070c | - | |
| add_authorization | 070d | 3 | |
| remove_authorization | 070e | 3 | |
| add_secondary_keys_with_authorization | 070f | 2 | |
| add_investor_uniqueness_claim | 0710 | 4 | |
| gc_add_cdd_claim | 0711 | 1 | |
| gc_revoke_cdd_claim | 0712 | 1 | |
| add_investor_uniqueness_claim_v2 | 0713 | 5 | |
| revoke_claim_by_index | 0714 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| DidCreated | 0700 | ||
| SecondaryKeysAdded | 0701 | ||
| SecondaryKeysRemoved | 0702 | ||
| SignerLeft | 0703 | ||
| SecondaryKeyPermissionsUpdated | 0704 | ||
| PrimaryKeyUpdated | 0705 | ||
| ClaimAdded | 0706 | ||
| ClaimRevoked | 0707 | ||
| AssetDidRegistered | 0708 | ||
| AuthorizationAdded | 0709 | ||
| AuthorizationRevoked | 070a | ||
| AuthorizationRejected | 070b | ||
| AuthorizationConsumed | 070c | ||
| OffChainAuthorizationRevoked | 070d | ||
| CddRequirementForPrimaryKeyUpdated | 070e | ||
| CddClaimsInvalidated | 070f | ||
| SecondaryKeysFrozen | 0710 | ||
| SecondaryKeysUnfrozen | 0711 | ||
| MockInvestorUIDCreated | 0712 |
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}} |
Name | Type | Value | |
|---|---|---|---|
| InitialPOLYX | <Balances as Currency<AccountId>>::Balance | 0x00000000000000000000000000000000 |
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. |