Name | Lookup | Parameters | |
|---|---|---|---|
| cdd_register_did | 0700 | 2 | |
| invalidate_cdd_claims | 0701 | 3 | |
| accept_primary_key | 0702 | 2 | |
| change_cdd_requirement_for_mk_rotation | 0703 | 1 | |
| join_identity_as_key | 0704 | 1 | |
| leave_identity_as_key | 0705 | - | |
| add_claim | 0706 | 3 | |
| revoke_claim | 0707 | 2 | |
| freeze_secondary_keys | 0708 | - | |
| unfreeze_secondary_keys | 0709 | - | |
| add_authorization | 070a | 3 | |
| remove_authorization | 070b | 3 | |
| gc_add_cdd_claim | 070c | 1 | |
| gc_revoke_cdd_claim | 070d | 1 | |
| revoke_claim_by_index | 070e | 3 | |
| rotate_primary_key_to_secondary | 070f | 2 | |
| add_secondary_keys_with_authorization | 0710 | 2 | |
| set_secondary_key_permissions | 0711 | 2 | |
| remove_secondary_keys | 0712 | 1 | |
| register_custom_claim_type | 0713 | 1 | |
| cdd_register_did_with_cdd | 0714 | 3 | |
| create_child_identity | 0715 | 1 | |
| create_child_identities | 0716 | 2 | |
| unlink_child_identity | 0717 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| DidCreated | 0700 | ["IdentityId","AccountId","Vec<SecondaryKey<AccountId>>"] | |
| SecondaryKeysAdded | 0701 | ["IdentityId","Vec<SecondaryKey<AccountId>>"] | |
| SecondaryKeysRemoved | 0702 | ["IdentityId","Vec<AccountId>"] | |
| SecondaryKeyLeftIdentity | 0703 | ["IdentityId","AccountId"] | |
| SecondaryKeyPermissionsUpdated | 0704 | ["IdentityId","AccountId","Permissions","Permissions"] | |
| PrimaryKeyUpdated | 0705 | ["IdentityId","AccountId","AccountId"] | |
| ClaimAdded | 0706 | ["IdentityId","IdentityClaim"] | |
| ClaimRevoked | 0707 | ["IdentityId","IdentityClaim"] | |
| AssetDidRegistered | 0708 | ["IdentityId","Ticker"] | |
| AuthorizationAdded | 0709 | ["IdentityId","Option<IdentityId>","Option<AccountId>","u64","AuthorizationData<AccountId>","Option<Moment>"] | |
| AuthorizationRevoked | 070a | ["Option<IdentityId>","Option<AccountId>","u64"] | |
| AuthorizationRejected | 070b | ["Option<IdentityId>","Option<AccountId>","u64"] | |
| AuthorizationConsumed | 070c | ["Option<IdentityId>","Option<AccountId>","u64"] | |
| AuthorizationRetryLimitReached | 070d | ["Option<IdentityId>","Option<AccountId>","u64"] | |
| CddRequirementForPrimaryKeyUpdated | 070e | ["bool"] | |
| CddClaimsInvalidated | 070f | ["IdentityId","Moment"] | |
| SecondaryKeysFrozen | 0710 | ["IdentityId"] | |
| SecondaryKeysUnfrozen | 0711 | ["IdentityId"] | |
| CustomClaimTypeAdded | 0712 | ["IdentityId","CustomClaimTypeId","Bytes"] | |
| ChildDidCreated | 0713 | ["IdentityId","IdentityId","AccountId"] | |
| ChildDidUnlinked | 0714 | ["IdentityId","IdentityId","IdentityId"] |
Name | Type | |
|---|---|---|
| DidRecords | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["[U8; 32]"],"value":"option<AccountId>","keys_id":32,"value_id":354}} | |
| IsDidFrozen | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["[U8; 32]"],"value":"Bool","keys_id":32,"value_id":78}} | |
| 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":355,"value_id":64}} | |
| CustomClaims | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Vec<U8>","keys_id":70,"value_id":12}} | |
| CustomClaimsInverse | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"U32","keys_id":12,"value_id":70}} | |
| CustomClaimIdSequence | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":70} | |
| KeyRecords | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"polymesh_primitives:secondary_key:KeyRecord","keys_id":0,"value_id":358}} | |
| KeyExtrinsicPermissions | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"polymesh_primitives:secondary_key:ExtrinsicPermissions","keys_id":0,"value_id":46}} | |
| KeyAssetPermissions | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"polymesh_primitives:subset:SubsetRestriction@41","keys_id":0,"value_id":41}} | |
| KeyPortfolioPermissions | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"polymesh_primitives:subset:SubsetRestriction@57","keys_id":0,"value_id":57}} | |
| DidKeys | {"origin":"Map","n_map_type":{"hashers":["Identity","Twox64Concat"],"key_vec":["[U8; 32]","AccountId"],"value":"Bool","keys_id":359,"value_id":78}} | |
| 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":360,"value_id":362}} | |
| AuthorizationsGiven | {"origin":"Map","n_map_type":{"hashers":["Identity","Twox64Concat"],"key_vec":["[U8; 32]","U64"],"value":"polymesh_primitives:secondary_key:Signatory","keys_id":363,"value_id":361}} | |
| CddAuthForPrimaryKeyRotation | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":78} | |
| StorageVersion | {"origin":"PlainType","plain_type":"U8","PlainTypeValue":364} | |
| 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":365,"value_id":78}} | |
| NumberOfGivenAuths | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["[U8; 32]"],"value":"U32","keys_id":32,"value_id":4}} | |
| OutdatedAuthorizations | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["polymesh_primitives:secondary_key:Signatory"],"value":"U64","keys_id":361,"value_id":10}} | |
| CurrentAuthId | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":10} |
Name | Type | Value | |
|---|---|---|---|
| InitialPOLYX | U128 | 00000000000000000000000000000000 | |
| MaxGivenAuths | U32 | 00040000 |
Name | Docs |
|---|---|
| AlreadyLinked | One secondary or primary key can only belong to one DID |
| MissingIdentity | Caller is missing an identity. |
| 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. |
| 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`. |
| 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. |
| CustomClaimTypeAlreadyExists | The custom claim type trying to be registered already exists. |
| CustomClaimTypeDoesNotExist | The custom claim type does not exist. |
| ClaimDoesNotExist | Claim does not exist. |
| IsChildIdentity | Identity is already a child of an other identity, can't create grand-child identity. |
| NoParentIdentity | The Identity doesn't have a parent identity. |
| NotParentOrChildIdentity | The caller is not the parent or child identity. |
| DuplicateKey | The same key was included multiple times. |
| ExceptNotAllowedForExtrinsics | Cannot use Except when specifying extrinsic permissions. |
| ExceededNumberOfGivenAuths | Maximum number of given authorizations was exceeded. |
| BadAuthorizationType | The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is. |
| InvalidAuthorization | Auth identified by an `auth_id` for a given `target` does not exist.The `target` might be wrong or the `auth_id` was never created at all. |
| UnauthorizedCallerFrozenDid | Frozen secondary key. |
| UnauthorizedCallerDidMissingCdd | The DID is missing a CDD claim. |
| UnauthorizedCallerMissingPermissions | The key does not have permissions to execute the extrinsic. |