From baf248329a140308b8b5658786faea4fa614db9a Mon Sep 17 00:00:00 2001 From: Raphael Flechtner <39338561+rflechtner@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:42:25 +0200 Subject: [PATCH] chore(deps): update kilt chain type definitions to v1 (#10850) --- packages/apps-config/package.json | 2 +- packages/apps-config/src/api/chain/index.ts | 13 +- packages/apps-config/src/api/spec/index.ts | 2 + .../src/api/{chain => spec}/kilt.ts | 6 +- packages/apps-config/src/api/typesBundle.ts | 36717 +++++++--------- yarn.lock | 12 +- 6 files changed, 14972 insertions(+), 21780 deletions(-) rename packages/apps-config/src/api/{chain => spec}/kilt.ts (60%) diff --git a/packages/apps-config/package.json b/packages/apps-config/package.json index 710b251f64..ac30477a9a 100644 --- a/packages/apps-config/package.json +++ b/packages/apps-config/package.json @@ -28,7 +28,7 @@ "@fragnova/api-augment": "0.1.0-spec-1.0.4-mainnet", "@frequency-chain/api-augment": "1.11.1", "@interlay/interbtc-types": "1.13.0", - "@kiltprotocol/type-definitions": "0.35.1", + "@kiltprotocol/type-definitions": "^1.11200.0", "@laminar/type-definitions": "0.3.1", "@logion/node-api": "0.27.0-4", "@mangata-finance/type-definitions": "^2.1.2", diff --git a/packages/apps-config/src/api/chain/index.ts b/packages/apps-config/src/api/chain/index.ts index b3f9f1b555..3f35c6e458 100644 --- a/packages/apps-config/src/api/chain/index.ts +++ b/packages/apps-config/src/api/chain/index.ts @@ -4,21 +4,10 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types'; import cere from './cere.js'; -import kilt from './kilt.js'; - -if (!kilt) { - throw new Error('Unable to retrieve kilt'); -} // NOTE: The mapping is done from chain name in system.chain const chain: Record = { - 'Cere Mainnet Beta': cere, - 'KILT Mashnet': kilt['KILT Mashnet'], - 'KILT Peregrine': kilt['KILT Peregrine'], - 'KILT Peregrine Develop': kilt['KILT Peregrine Develop'], - 'KILT Peregrine Stagenet': kilt['KILT Peregrine Stagenet'], - 'KILT Spiritnet': kilt['KILT Spiritnet'], - 'KILT Spiritnet Develop': kilt['KILT Spiritnet Develop'] + 'Cere Mainnet Beta': cere }; export default chain; diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index da701a6aa6..a49740758c 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -65,6 +65,7 @@ import jupiter from './jupiter.js'; import jupiterRococo from './jupiter-rococo.js'; import jur from './jur.js'; import khala from './khala.js'; +import kilt from './kilt.js'; import konomi from './konomi.js'; import kpron from './kpron.js'; import kulupu from './kulupu.js'; @@ -221,6 +222,7 @@ const spec: Record = { 'jur-node': jur, kerria: parallel, khala, + ...kilt, 'kintsugi-parachain': interbtc, konomi, kpron, diff --git a/packages/apps-config/src/api/chain/kilt.ts b/packages/apps-config/src/api/spec/kilt.ts similarity index 60% rename from packages/apps-config/src/api/chain/kilt.ts rename to packages/apps-config/src/api/spec/kilt.ts index f73ecb9a80..d1c0515d47 100644 --- a/packages/apps-config/src/api/chain/kilt.ts +++ b/packages/apps-config/src/api/spec/kilt.ts @@ -3,8 +3,8 @@ import { typesBundle } from '@kiltprotocol/type-definitions'; -if (!typesBundle.chain) { - throw new Error('Unable to find chain defintions'); +if (!typesBundle.spec) { + throw new Error('Unable to find chain definitions'); } -export default typesBundle.chain; +export default typesBundle.spec; diff --git a/packages/apps-config/src/api/typesBundle.ts b/packages/apps-config/src/api/typesBundle.ts index b393e47d0b..877c1e49fb 100644 --- a/packages/apps-config/src/api/typesBundle.ts +++ b/packages/apps-config/src/api/typesBundle.ts @@ -88,21765 +88,6 @@ export const typesBundle = { "types": {} } ] - }, - "KILT Mashnet": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Did": [ - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" - } - }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" - }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" - }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" - }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" - }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" - }, - "ChainId": { - "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" - } - }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { - "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 - } - }, - "XcmError": { - "_enum": { - "Undefined": 0, - "Unimplemented": 1, - "UnhandledXcmVersion": 2, - "UnhandledXcmMessage": 3, - "UnhandledEffect": 4, - "EscalationOfPrivilege": 5, - "UntrustedReserveLocation": 6, - "UntrustedTeleportLocation": 7, - "DestinationBufferOverflow": 8, - "CannotReachDestination": 9, - "MultiLocationFull": 10, - "FailedToDecode": 11, - "BadOrigin": 12, - "ExceedsMaxMessageSize": 13, - "FailedToTransactAsset": 14 - } - }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } - } - }, - { - "minmax": [ - 9, - 9 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10, - 11 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } - } - }, - { - "minmax": [ - 17, - 17 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 18, - 18 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 2700, - 10409 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10410, - 10719 - ], - "types": { - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - 11199 - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 11200, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - }, - "IdentityCommitmentVersion": "u16", - "DipProofRequest": { - "identifier": "AccountId32", - "version": "IdentityCommitmentVersion", - "proofKeys": "Vec", - "accounts": "Vec", - "shouldIncludeWeb3Name": "bool" - }, - "CompleteMerkleProof": { - "root": "MerkleRoot", - "proof": "MerkleProof" - }, - "MerkleRoot": "Hash", - "MerkleProof": { - "blinded": "BlindedLeaves", - "revealed": "RevealedLeaves" - }, - "BlindedLeaves": "Vec", - "BlindedValue": "Bytes", - "RevealedLeaves": "Vec", - "RevealedLeaf": { - "_enum": { - "DidKey": "RevealedDidKey", - "Web3Name": "RevealedWeb3Name", - "LinkedAccount": "RevealedAccountId" - } - }, - "RevealedDidKey": { - "id": "Hash", - "relationship": "KeyRelationship", - "details": "DidDidDetailsDidPublicKeyDetails" - }, - "KeyRelationship": { - "_enum": { - "Encryption": "Null", - "Verification": "VerificationRelationship" - } - }, - "VerificationRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "RevealedWeb3Name": { - "web3Name": "Text", - "claimedAt": "BlockNumber" - }, - "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RuntimeApiDipProofError": { - "_enum": { - "IdentityProvider": "LinkedDidIdentityProviderError", - "MerkleProof": "DidMerkleProofError" - } - }, - "LinkedDidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "DidDeleted", - "Internal" - ] - }, - "DidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "Internal" - ] - }, - "DidMerkleProofError": { - "_enum": [ - "UnsupportedVersion", - "KeyNotFound", - "LinkedAccountNotFound", - "Web3NameNotFound", - "Internal" - ] - } - } - } - ] - }, - "KILT Peregrine": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Did": [ - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" - }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" - } - }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" - } - }, - "version": 1 - } - ], - "DipProvider": [ - { - "methods": { - "generate_proof": { - "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", - "params": [ - { - "name": "request", - "type": "DipProofRequest" - } - ], - "type": "Result" - } - }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" - }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" - }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" - }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" - }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" - }, - "ChainId": { - "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" - } - }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { - "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 - } - }, - "XcmError": { - "_enum": { - "Undefined": 0, - "Unimplemented": 1, - "UnhandledXcmVersion": 2, - "UnhandledXcmMessage": 3, - "UnhandledEffect": 4, - "EscalationOfPrivilege": 5, - "UntrustedReserveLocation": 6, - "UntrustedTeleportLocation": 7, - "DestinationBufferOverflow": 8, - "CannotReachDestination": 9, - "MultiLocationFull": 10, - "FailedToDecode": 11, - "BadOrigin": 12, - "ExceedsMaxMessageSize": 13, - "FailedToTransactAsset": 14 - } - }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } - } - }, - { - "minmax": [ - 9, - 9 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10, - 11 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } - } - }, - { - "minmax": [ - 17, - 17 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 18, - 18 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 2700, - 10409 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10410, - 10719 - ], - "types": { - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - 11199 - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 11200, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - }, - "IdentityCommitmentVersion": "u16", - "DipProofRequest": { - "identifier": "AccountId32", - "version": "IdentityCommitmentVersion", - "proofKeys": "Vec", - "accounts": "Vec", - "shouldIncludeWeb3Name": "bool" - }, - "CompleteMerkleProof": { - "root": "MerkleRoot", - "proof": "MerkleProof" - }, - "MerkleRoot": "Hash", - "MerkleProof": { - "blinded": "BlindedLeaves", - "revealed": "RevealedLeaves" - }, - "BlindedLeaves": "Vec", - "BlindedValue": "Bytes", - "RevealedLeaves": "Vec", - "RevealedLeaf": { - "_enum": { - "DidKey": "RevealedDidKey", - "Web3Name": "RevealedWeb3Name", - "LinkedAccount": "RevealedAccountId" - } - }, - "RevealedDidKey": { - "id": "Hash", - "relationship": "KeyRelationship", - "details": "DidDidDetailsDidPublicKeyDetails" - }, - "KeyRelationship": { - "_enum": { - "Encryption": "Null", - "Verification": "VerificationRelationship" - } - }, - "VerificationRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "RevealedWeb3Name": { - "web3Name": "Text", - "claimedAt": "BlockNumber" - }, - "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RuntimeApiDipProofError": { - "_enum": { - "IdentityProvider": "LinkedDidIdentityProviderError", - "MerkleProof": "DidMerkleProofError" - } - }, - "LinkedDidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "DidDeleted", - "Internal" - ] - }, - "DidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "Internal" - ] - }, - "DidMerkleProofError": { - "_enum": [ - "UnsupportedVersion", - "KeyNotFound", - "LinkedAccountNotFound", - "Web3NameNotFound", - "Internal" - ] - } - } - } - ] - }, - "KILT Peregrine Develop": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Did": [ - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" - }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" - } - }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" - } - }, - "version": 1 - } - ], - "DipProvider": [ - { - "methods": { - "generate_proof": { - "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", - "params": [ - { - "name": "request", - "type": "DipProofRequest" - } - ], - "type": "Result" - } - }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" - }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" - }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" - }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" - }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" - }, - "ChainId": { - "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" - } - }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { - "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 - } - }, - "XcmError": { - "_enum": { - "Undefined": 0, - "Unimplemented": 1, - "UnhandledXcmVersion": 2, - "UnhandledXcmMessage": 3, - "UnhandledEffect": 4, - "EscalationOfPrivilege": 5, - "UntrustedReserveLocation": 6, - "UntrustedTeleportLocation": 7, - "DestinationBufferOverflow": 8, - "CannotReachDestination": 9, - "MultiLocationFull": 10, - "FailedToDecode": 11, - "BadOrigin": 12, - "ExceedsMaxMessageSize": 13, - "FailedToTransactAsset": 14 - } - }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } - } - }, - { - "minmax": [ - 9, - 9 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10, - 11 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } - } - }, - { - "minmax": [ - 17, - 17 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 18, - 18 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 2700, - 10409 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10410, - 10719 - ], - "types": { - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - 11199 - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 11200, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - }, - "IdentityCommitmentVersion": "u16", - "DipProofRequest": { - "identifier": "AccountId32", - "version": "IdentityCommitmentVersion", - "proofKeys": "Vec", - "accounts": "Vec", - "shouldIncludeWeb3Name": "bool" - }, - "CompleteMerkleProof": { - "root": "MerkleRoot", - "proof": "MerkleProof" - }, - "MerkleRoot": "Hash", - "MerkleProof": { - "blinded": "BlindedLeaves", - "revealed": "RevealedLeaves" - }, - "BlindedLeaves": "Vec", - "BlindedValue": "Bytes", - "RevealedLeaves": "Vec", - "RevealedLeaf": { - "_enum": { - "DidKey": "RevealedDidKey", - "Web3Name": "RevealedWeb3Name", - "LinkedAccount": "RevealedAccountId" - } - }, - "RevealedDidKey": { - "id": "Hash", - "relationship": "KeyRelationship", - "details": "DidDidDetailsDidPublicKeyDetails" - }, - "KeyRelationship": { - "_enum": { - "Encryption": "Null", - "Verification": "VerificationRelationship" - } - }, - "VerificationRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "RevealedWeb3Name": { - "web3Name": "Text", - "claimedAt": "BlockNumber" - }, - "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RuntimeApiDipProofError": { - "_enum": { - "IdentityProvider": "LinkedDidIdentityProviderError", - "MerkleProof": "DidMerkleProofError" - } - }, - "LinkedDidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "DidDeleted", - "Internal" - ] - }, - "DidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "Internal" - ] - }, - "DidMerkleProofError": { - "_enum": [ - "UnsupportedVersion", - "KeyNotFound", - "LinkedAccountNotFound", - "Web3NameNotFound", - "Internal" - ] - } - } - } - ] - }, - "KILT Peregrine Stagenet": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Did": [ - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" - }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" - } - }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" - } - }, - "version": 1 - } - ], - "DipProvider": [ - { - "methods": { - "generate_proof": { - "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", - "params": [ - { - "name": "request", - "type": "DipProofRequest" - } - ], - "type": "Result" - } - }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" - }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" - }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" - }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" - }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" - }, - "ChainId": { - "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" - } - }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { - "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 - } - }, - "XcmError": { - "_enum": { - "Undefined": 0, - "Unimplemented": 1, - "UnhandledXcmVersion": 2, - "UnhandledXcmMessage": 3, - "UnhandledEffect": 4, - "EscalationOfPrivilege": 5, - "UntrustedReserveLocation": 6, - "UntrustedTeleportLocation": 7, - "DestinationBufferOverflow": 8, - "CannotReachDestination": 9, - "MultiLocationFull": 10, - "FailedToDecode": 11, - "BadOrigin": 12, - "ExceedsMaxMessageSize": 13, - "FailedToTransactAsset": 14 - } - }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } - } - }, - { - "minmax": [ - 9, - 9 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10, - 11 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } - } - }, - { - "minmax": [ - 17, - 17 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 18, - 18 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 2700, - 10409 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10410, - 10719 - ], - "types": { - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - 11199 - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 11200, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - }, - "IdentityCommitmentVersion": "u16", - "DipProofRequest": { - "identifier": "AccountId32", - "version": "IdentityCommitmentVersion", - "proofKeys": "Vec", - "accounts": "Vec", - "shouldIncludeWeb3Name": "bool" - }, - "CompleteMerkleProof": { - "root": "MerkleRoot", - "proof": "MerkleProof" - }, - "MerkleRoot": "Hash", - "MerkleProof": { - "blinded": "BlindedLeaves", - "revealed": "RevealedLeaves" - }, - "BlindedLeaves": "Vec", - "BlindedValue": "Bytes", - "RevealedLeaves": "Vec", - "RevealedLeaf": { - "_enum": { - "DidKey": "RevealedDidKey", - "Web3Name": "RevealedWeb3Name", - "LinkedAccount": "RevealedAccountId" - } - }, - "RevealedDidKey": { - "id": "Hash", - "relationship": "KeyRelationship", - "details": "DidDidDetailsDidPublicKeyDetails" - }, - "KeyRelationship": { - "_enum": { - "Encryption": "Null", - "Verification": "VerificationRelationship" - } - }, - "VerificationRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "RevealedWeb3Name": { - "web3Name": "Text", - "claimedAt": "BlockNumber" - }, - "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RuntimeApiDipProofError": { - "_enum": { - "IdentityProvider": "LinkedDidIdentityProviderError", - "MerkleProof": "DidMerkleProofError" - } - }, - "LinkedDidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "DidDeleted", - "Internal" - ] - }, - "DidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "Internal" - ] - }, - "DidMerkleProofError": { - "_enum": [ - "UnsupportedVersion", - "KeyNotFound", - "LinkedAccountNotFound", - "Web3NameNotFound", - "Internal" - ] - } - } - } - ] - }, - "KILT Spiritnet": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Did": [ - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" - }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" - } - }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" - } - }, - "version": 1 - } - ], - "DipProvider": [ - { - "methods": { - "generate_proof": { - "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", - "params": [ - { - "name": "request", - "type": "DipProofRequest" - } - ], - "type": "Result" - } - }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" - }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" - }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" - }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" - }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" - }, - "ChainId": { - "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" - } - }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { - "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 - } - }, - "XcmError": { - "_enum": { - "Undefined": 0, - "Unimplemented": 1, - "UnhandledXcmVersion": 2, - "UnhandledXcmMessage": 3, - "UnhandledEffect": 4, - "EscalationOfPrivilege": 5, - "UntrustedReserveLocation": 6, - "UntrustedTeleportLocation": 7, - "DestinationBufferOverflow": 8, - "CannotReachDestination": 9, - "MultiLocationFull": 10, - "FailedToDecode": 11, - "BadOrigin": 12, - "ExceedsMaxMessageSize": 13, - "FailedToTransactAsset": 14 - } - }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } - } - }, - { - "minmax": [ - 9, - 9 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10, - 11 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } - } - }, - { - "minmax": [ - 17, - 17 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 18, - 18 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 2700, - 10409 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10410, - 10719 - ], - "types": { - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - 11199 - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 11200, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - }, - "IdentityCommitmentVersion": "u16", - "DipProofRequest": { - "identifier": "AccountId32", - "version": "IdentityCommitmentVersion", - "proofKeys": "Vec", - "accounts": "Vec", - "shouldIncludeWeb3Name": "bool" - }, - "CompleteMerkleProof": { - "root": "MerkleRoot", - "proof": "MerkleProof" - }, - "MerkleRoot": "Hash", - "MerkleProof": { - "blinded": "BlindedLeaves", - "revealed": "RevealedLeaves" - }, - "BlindedLeaves": "Vec", - "BlindedValue": "Bytes", - "RevealedLeaves": "Vec", - "RevealedLeaf": { - "_enum": { - "DidKey": "RevealedDidKey", - "Web3Name": "RevealedWeb3Name", - "LinkedAccount": "RevealedAccountId" - } - }, - "RevealedDidKey": { - "id": "Hash", - "relationship": "KeyRelationship", - "details": "DidDidDetailsDidPublicKeyDetails" - }, - "KeyRelationship": { - "_enum": { - "Encryption": "Null", - "Verification": "VerificationRelationship" - } - }, - "VerificationRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "RevealedWeb3Name": { - "web3Name": "Text", - "claimedAt": "BlockNumber" - }, - "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RuntimeApiDipProofError": { - "_enum": { - "IdentityProvider": "LinkedDidIdentityProviderError", - "MerkleProof": "DidMerkleProofError" - } - }, - "LinkedDidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "DidDeleted", - "Internal" - ] - }, - "DidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "Internal" - ] - }, - "DidMerkleProofError": { - "_enum": [ - "UnsupportedVersion", - "KeyNotFound", - "LinkedAccountNotFound", - "Web3NameNotFound", - "Internal" - ] - } - } - } - ] - }, - "KILT Spiritnet Develop": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Did": [ - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" - }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" - } - }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" - } - }, - "version": 1 - } - ], - "DipProvider": [ - { - "methods": { - "generate_proof": { - "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", - "params": [ - { - "name": "request", - "type": "DipProofRequest" - } - ], - "type": "Result" - } - }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" - }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" - }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" - }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" - }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" - }, - "ChainId": { - "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" - } - }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { - "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 - } - }, - "XcmError": { - "_enum": { - "Undefined": 0, - "Unimplemented": 1, - "UnhandledXcmVersion": 2, - "UnhandledXcmMessage": 3, - "UnhandledEffect": 4, - "EscalationOfPrivilege": 5, - "UntrustedReserveLocation": 6, - "UntrustedTeleportLocation": 7, - "DestinationBufferOverflow": 8, - "CannotReachDestination": 9, - "MultiLocationFull": 10, - "FailedToDecode": 11, - "BadOrigin": 12, - "ExceedsMaxMessageSize": 13, - "FailedToTransactAsset": 14 - } - }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } - } - }, - { - "minmax": [ - 9, - 9 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10, - 11 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } - } - }, - { - "minmax": [ - 17, - 17 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 18, - 18 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 2700, - 10409 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10410, - 10719 - ], - "types": { - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - 11199 - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 11200, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - }, - "IdentityCommitmentVersion": "u16", - "DipProofRequest": { - "identifier": "AccountId32", - "version": "IdentityCommitmentVersion", - "proofKeys": "Vec", - "accounts": "Vec", - "shouldIncludeWeb3Name": "bool" - }, - "CompleteMerkleProof": { - "root": "MerkleRoot", - "proof": "MerkleProof" - }, - "MerkleRoot": "Hash", - "MerkleProof": { - "blinded": "BlindedLeaves", - "revealed": "RevealedLeaves" - }, - "BlindedLeaves": "Vec", - "BlindedValue": "Bytes", - "RevealedLeaves": "Vec", - "RevealedLeaf": { - "_enum": { - "DidKey": "RevealedDidKey", - "Web3Name": "RevealedWeb3Name", - "LinkedAccount": "RevealedAccountId" - } - }, - "RevealedDidKey": { - "id": "Hash", - "relationship": "KeyRelationship", - "details": "DidDidDetailsDidPublicKeyDetails" - }, - "KeyRelationship": { - "_enum": { - "Encryption": "Null", - "Verification": "VerificationRelationship" - } - }, - "VerificationRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "RevealedWeb3Name": { - "web3Name": "Text", - "claimedAt": "BlockNumber" - }, - "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RuntimeApiDipProofError": { - "_enum": { - "IdentityProvider": "LinkedDidIdentityProviderError", - "MerkleProof": "DidMerkleProofError" - } - }, - "LinkedDidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "DidDeleted", - "Internal" - ] - }, - "DidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "Internal" - ] - }, - "DidMerkleProofError": { - "_enum": [ - "UnsupportedVersion", - "KeyNotFound", - "LinkedAccountNotFound", - "Web3NameNotFound", - "Internal" - ] - } - } - } - ] } }, "spec": { @@ -52824,6 +31065,14964 @@ export const typesBundle = { } ] }, + "kilt-spiritnet": { + "runtime": { + "DidApi": [ + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_did_by_account_id": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 1 + }, + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_did_by_account_id": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 2 + } + ], + "Did": [ + { + "methods": { + "query_by_web3_name": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_by_account": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 1 + }, + { + "methods": { + "query_by_web3_name": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_by_account": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 2 + } + ], + "Staking": [ + { + "methods": { + "get_staking_rates": { + "description": "Calculate the current staking and reward rates for collators and delegators", + "params": [], + "type": "StakingRates" + }, + "get_unclaimed_staking_rewards": { + "description": "Calculate the claimable staking rewards for a given account address", + "params": [ + { + "name": "account", + "type": "AccountId32" + } + ], + "type": "Balance" + } + }, + "version": 1 + } + ], + "PublicCredentials": [ + { + "methods": { + "get_by_id": { + "description": "Return the public credential with the specified ID, if found.", + "params": [ + { + "name": "credential_id", + "type": "Hash" + } + ], + "type": "Option" + }, + "get_by_subject": { + "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", + "params": [ + { + "name": "subject", + "type": "Text" + }, + { + "name": "filter", + "type": "Option" + } + ], + "type": "Result, PublicCredentialError>" + } + }, + "version": 1 + } + ], + "DipProvider": [ + { + "methods": { + "generate_proof": { + "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", + "params": [ + { + "name": "request", + "type": "DipProofRequest" + } + ], + "type": "Result" + } + }, + "version": 1 + } + ], + "AssetSwitch": [ + { + "methods": { + "pool_account_id": { + "description": "Calculate the pool account address for a switch pallet instance and asset ID", + "params": [ + { + "name": "pair_id", + "type": "Text" + }, + { + "name": "asset_id", + "type": "XcmVersionedAssetId" + } + ], + "type": "Result" + } + }, + "version": 1 + } + ] + }, + "types": [ + { + "minmax": [ + 0, + 8 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithDualRefCount", + "Address": "AccountId", + "Attestation": { + "ctypeHash": "Hash", + "attester": "AccountId", + "delegationId": "Option", + "revoked": "bool" + }, + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" + }, + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" + }, + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" + }, + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + }, + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } + }, + "XcmError": { + "_enum": { + "Undefined": 0, + "Unimplemented": 1, + "UnhandledXcmVersion": 2, + "UnhandledXcmMessage": 3, + "UnhandledEffect": 4, + "EscalationOfPrivilege": 5, + "UntrustedReserveLocation": 6, + "UntrustedTeleportLocation": 7, + "DestinationBufferOverflow": 8, + "CannotReachDestination": 9, + "MultiLocationFull": 10, + "FailedToDecode": 11, + "BadOrigin": 12, + "ExceedsMaxMessageSize": 13, + "FailedToTransactAsset": 14 + } + }, + "ReferendumInfo": { + "_enum": { + "Ongoing": "ReferendumStatus", + "Finished": "ReferendumInfoFinished" + } + } + } + }, + { + "minmax": [ + 9, + 9 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "DidIdentifierOf", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "DidIdentifierOf", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10, + 11 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 12, + 16 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + } + } + }, + { + "minmax": [ + 17, + 17 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 18, + 18 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" + } + } + }, + { + "minmax": [ + 19, + 19 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "BTreeSet", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "Vec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 20, + 20 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "BoundedVec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "DidVerificationKeysToRevoke", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "minmax": [ + 21, + 22 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1" + } + }, + { + "minmax": [ + 23, + 24 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 25, + 2699 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "submitter": "AccountId" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 2700, + 10409 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10410, + 10719 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10720, + 10750 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + } + } + }, + { + "minmax": [ + 10800, + 10899 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 10900, + 11199 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 11200, + 11399 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + } + } + }, + { + "minmax": [ + 11400, + null + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + }, + "AssetSwitchApiError": { + "_enum": [ + "InvalidInput", + "SwitchPoolNotFound", + "Internal" + ] + } + } + } + ] + }, + "mashnet-node": { + "runtime": { + "DidApi": [ + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_did_by_account_id": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 1 + }, + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_did_by_account_id": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 2 + } + ], + "Did": [ + { + "methods": { + "query_by_web3_name": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_by_account": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 1 + }, + { + "methods": { + "query_by_web3_name": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_by_account": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 2 + } + ], + "Staking": [ + { + "methods": { + "get_staking_rates": { + "description": "Calculate the current staking and reward rates for collators and delegators", + "params": [], + "type": "StakingRates" + }, + "get_unclaimed_staking_rewards": { + "description": "Calculate the claimable staking rewards for a given account address", + "params": [ + { + "name": "account", + "type": "AccountId32" + } + ], + "type": "Balance" + } + }, + "version": 1 + } + ], + "PublicCredentials": [ + { + "methods": { + "get_by_id": { + "description": "Return the public credential with the specified ID, if found.", + "params": [ + { + "name": "credential_id", + "type": "Hash" + } + ], + "type": "Option" + }, + "get_by_subject": { + "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", + "params": [ + { + "name": "subject", + "type": "Text" + }, + { + "name": "filter", + "type": "Option" + } + ], + "type": "Result, PublicCredentialError>" + } + }, + "version": 1 + } + ], + "DipProvider": [ + { + "methods": { + "generate_proof": { + "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", + "params": [ + { + "name": "request", + "type": "DipProofRequest" + } + ], + "type": "Result" + } + }, + "version": 1 + } + ], + "AssetSwitch": [ + { + "methods": { + "pool_account_id": { + "description": "Calculate the pool account address for a switch pallet instance and asset ID", + "params": [ + { + "name": "pair_id", + "type": "Text" + }, + { + "name": "asset_id", + "type": "XcmVersionedAssetId" + } + ], + "type": "Result" + } + }, + "version": 1 + } + ] + }, + "types": [ + { + "minmax": [ + 0, + 8 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithDualRefCount", + "Address": "AccountId", + "Attestation": { + "ctypeHash": "Hash", + "attester": "AccountId", + "delegationId": "Option", + "revoked": "bool" + }, + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" + }, + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" + }, + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" + }, + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + }, + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } + }, + "XcmError": { + "_enum": { + "Undefined": 0, + "Unimplemented": 1, + "UnhandledXcmVersion": 2, + "UnhandledXcmMessage": 3, + "UnhandledEffect": 4, + "EscalationOfPrivilege": 5, + "UntrustedReserveLocation": 6, + "UntrustedTeleportLocation": 7, + "DestinationBufferOverflow": 8, + "CannotReachDestination": 9, + "MultiLocationFull": 10, + "FailedToDecode": 11, + "BadOrigin": 12, + "ExceedsMaxMessageSize": 13, + "FailedToTransactAsset": 14 + } + }, + "ReferendumInfo": { + "_enum": { + "Ongoing": "ReferendumStatus", + "Finished": "ReferendumInfoFinished" + } + } + } + }, + { + "minmax": [ + 9, + 9 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "DidIdentifierOf", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "DidIdentifierOf", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10, + 11 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 12, + 16 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + } + } + }, + { + "minmax": [ + 17, + 17 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 18, + 18 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" + } + } + }, + { + "minmax": [ + 19, + 19 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "BTreeSet", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "Vec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 20, + 20 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "BoundedVec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "DidVerificationKeysToRevoke", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "minmax": [ + 21, + 22 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1" + } + }, + { + "minmax": [ + 23, + 24 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 25, + 2699 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "submitter": "AccountId" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 2700, + 10409 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10410, + 10719 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10720, + 10750 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + } + } + }, + { + "minmax": [ + 10800, + 10899 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 10900, + 11199 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 11200, + 11399 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + } + } + }, + { + "minmax": [ + 11400, + null + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + }, + "AssetSwitchApiError": { + "_enum": [ + "InvalidInput", + "SwitchPoolNotFound", + "Internal" + ] + } + } + } + ] + }, + "kilt-kestrel": { + "runtime": { + "DidApi": [ + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_did_by_account_id": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 1 + }, + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_did_by_account_id": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 2 + } + ], + "Did": [ + { + "methods": { + "query_by_web3_name": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_by_account": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 1 + }, + { + "methods": { + "query_by_web3_name": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_by_account": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 2 + } + ], + "PublicCredentials": [ + { + "methods": { + "get_by_id": { + "description": "Return the public credential with the specified ID, if found.", + "params": [ + { + "name": "credential_id", + "type": "Hash" + } + ], + "type": "Option" + }, + "get_by_subject": { + "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", + "params": [ + { + "name": "subject", + "type": "Text" + }, + { + "name": "filter", + "type": "Option" + } + ], + "type": "Result, PublicCredentialError>" + } + }, + "version": 1 + } + ] + }, + "types": [ + { + "minmax": [ + 0, + 8 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithDualRefCount", + "Address": "AccountId", + "Attestation": { + "ctypeHash": "Hash", + "attester": "AccountId", + "delegationId": "Option", + "revoked": "bool" + }, + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" + }, + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" + }, + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" + }, + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + }, + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } + }, + "XcmError": { + "_enum": { + "Undefined": 0, + "Unimplemented": 1, + "UnhandledXcmVersion": 2, + "UnhandledXcmMessage": 3, + "UnhandledEffect": 4, + "EscalationOfPrivilege": 5, + "UntrustedReserveLocation": 6, + "UntrustedTeleportLocation": 7, + "DestinationBufferOverflow": 8, + "CannotReachDestination": 9, + "MultiLocationFull": 10, + "FailedToDecode": 11, + "BadOrigin": 12, + "ExceedsMaxMessageSize": 13, + "FailedToTransactAsset": 14 + } + }, + "ReferendumInfo": { + "_enum": { + "Ongoing": "ReferendumStatus", + "Finished": "ReferendumInfoFinished" + } + } + } + }, + { + "minmax": [ + 9, + 9 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "DidIdentifierOf", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "DidIdentifierOf", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10, + 11 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 12, + 16 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + } + } + }, + { + "minmax": [ + 17, + 17 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 18, + 18 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" + } + } + }, + { + "minmax": [ + 19, + 19 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "BTreeSet", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "Vec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 20, + 20 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "BoundedVec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "DidVerificationKeysToRevoke", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "minmax": [ + 21, + 22 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1" + } + }, + { + "minmax": [ + 23, + 24 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 25, + 2699 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "submitter": "AccountId" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 2700, + 10409 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10410, + 10719 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10720, + 10750 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + } + } + }, + { + "minmax": [ + 10800, + 10899 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 10900, + 11199 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 11200, + 11399 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + } + } + }, + { + "minmax": [ + 11400, + null + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + }, + "AssetSwitchApiError": { + "_enum": [ + "InvalidInput", + "SwitchPoolNotFound", + "Internal" + ] + } + } + } + ] + }, + "dip-provider-runtime-template": { + "runtime": { + "DidApi": [ + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_did_by_account_id": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 1 + }, + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_did_by_account_id": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 2 + } + ], + "Did": [ + { + "methods": { + "query_by_web3_name": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_by_account": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 1 + }, + { + "methods": { + "query_by_web3_name": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" + }, + "query_by_account": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "DidApiAccountId" + } + ], + "type": "Option" + }, + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" + } + }, + "version": 2 + } + ], + "DipProvider": [ + { + "methods": { + "generate_proof": { + "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", + "params": [ + { + "name": "request", + "type": "DipProofRequest" + } + ], + "type": "Result" + } + }, + "version": 1 + } + ] + }, + "types": [ + { + "minmax": [ + 0, + 8 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithDualRefCount", + "Address": "AccountId", + "Attestation": { + "ctypeHash": "Hash", + "attester": "AccountId", + "delegationId": "Option", + "revoked": "bool" + }, + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" + }, + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" + }, + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" + }, + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + }, + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } + }, + "XcmError": { + "_enum": { + "Undefined": 0, + "Unimplemented": 1, + "UnhandledXcmVersion": 2, + "UnhandledXcmMessage": 3, + "UnhandledEffect": 4, + "EscalationOfPrivilege": 5, + "UntrustedReserveLocation": 6, + "UntrustedTeleportLocation": 7, + "DestinationBufferOverflow": 8, + "CannotReachDestination": 9, + "MultiLocationFull": 10, + "FailedToDecode": 11, + "BadOrigin": 12, + "ExceedsMaxMessageSize": 13, + "FailedToTransactAsset": 14 + } + }, + "ReferendumInfo": { + "_enum": { + "Ongoing": "ReferendumStatus", + "Finished": "ReferendumInfoFinished" + } + } + } + }, + { + "minmax": [ + 9, + 9 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "DidIdentifierOf", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "DidIdentifierOf", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10, + 11 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 12, + 16 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + } + } + }, + { + "minmax": [ + 17, + 17 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 18, + 18 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" + } + } + }, + { + "minmax": [ + 19, + 19 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "BTreeSet", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "Vec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 20, + 20 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "BoundedVec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "DidVerificationKeysToRevoke", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "minmax": [ + 21, + 22 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1" + } + }, + { + "minmax": [ + 23, + 24 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 25, + 2699 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "submitter": "AccountId" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 2700, + 10409 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10410, + 10719 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10720, + 10750 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + } + } + }, + { + "minmax": [ + 10800, + 10899 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 10900, + 11199 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 11200, + 11399 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + } + } + }, + { + "minmax": [ + 11400, + null + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + }, + "AssetSwitchApiError": { + "_enum": [ + "InvalidInput", + "SwitchPoolNotFound", + "Internal" + ] + } + } + } + ] + }, "kintsugi-parachain": { "default": { "types": [ diff --git a/yarn.lock b/yarn.lock index 8d97c3e55a..f08ea521eb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -583,10 +583,12 @@ __metadata: languageName: node linkType: hard -"@kiltprotocol/type-definitions@npm:0.35.1": - version: 0.35.1 - resolution: "@kiltprotocol/type-definitions@npm:0.35.1" - checksum: 10/8534af75e75e72a812ae2265e00292c3103735ec77b03df765ab9aa3ae47062203f684aa7d0b6ca7e0c2ce13835ecd72a74aeb2e53bf0ff14f0f03a1b2f9fdbe +"@kiltprotocol/type-definitions@npm:^1.11200.0": + version: 1.11200.0 + resolution: "@kiltprotocol/type-definitions@npm:1.11200.0" + peerDependencies: + "@polkadot/types": ^12.2.0 + checksum: 10/f42517be177efb7e67ab3563c941c5cdb24162db4345b90cb3d9cae8069a5d981dd12f59870d28402ea22c69d1b3cc74bad99213324424f623994010883e7ba8 languageName: node linkType: hard @@ -1783,7 +1785,7 @@ __metadata: "@fragnova/api-augment": "npm:0.1.0-spec-1.0.4-mainnet" "@frequency-chain/api-augment": "npm:1.11.1" "@interlay/interbtc-types": "npm:1.13.0" - "@kiltprotocol/type-definitions": "npm:0.35.1" + "@kiltprotocol/type-definitions": "npm:^1.11200.0" "@laminar/type-definitions": "npm:0.3.1" "@logion/node-api": "npm:0.27.0-4" "@mangata-finance/type-definitions": "npm:^2.1.2"