From d1444fdf9e6478b4b7c44bdc68e943a6cdb5fd50 Mon Sep 17 00:00:00 2001 From: Antonio Date: Thu, 1 Dec 2022 14:31:26 +0200 Subject: [PATCH] Update type-definitions dependency and remove outdated type definitions (#8456) --- packages/apps-config/package.json | 2 +- packages/apps-config/src/api/spec/index.ts | 2 - packages/apps-config/src/api/spec/kilt.ts | 4 +- packages/apps-config/src/api/typesBundle.ts | 6953 +------------------ yarn.lock | 10 +- 5 files changed, 201 insertions(+), 6770 deletions(-) diff --git a/packages/apps-config/package.json b/packages/apps-config/package.json index 076570dc60..ba80fccd58 100644 --- a/packages/apps-config/package.json +++ b/packages/apps-config/package.json @@ -25,7 +25,7 @@ "@equilab/definitions": "1.4.14", "@frequency-chain/api-augment": "^0.9.29", "@interlay/interbtc-types": "1.9.0", - "@kiltprotocol/type-definitions": "^0.2.1", + "@kiltprotocol/type-definitions": "^0.30.0", "@laminar/type-definitions": "0.3.1", "@logion/node-api": "^0.7.0", "@mangata-finance/types": "^0.9.0", diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index 9a36d23cdc..c121fa0dc9 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -208,7 +208,6 @@ const spec: Record = { 'jupiter-rococo': jupiterRococo, kerria: parallel, khala, - 'kilt-parachain': kilt, 'kilt-spiritnet': kilt, 'kintsugi-parachain': interbtc, konomi, @@ -223,7 +222,6 @@ const spec: Record = { mangata, 'mangata-parachain': mangata, 'manta-node': manta, - 'mashnet-node': kilt, mathchain, 'mathchain-galois': galois, moonbase: moonbeam, diff --git a/packages/apps-config/src/api/spec/kilt.ts b/packages/apps-config/src/api/spec/kilt.ts index 6349bdd0dd..7f478f4a9d 100644 --- a/packages/apps-config/src/api/spec/kilt.ts +++ b/packages/apps-config/src/api/spec/kilt.ts @@ -3,6 +3,6 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import { typeBundleForPolkadot } from '@kiltprotocol/type-definitions'; +import { typesBundle } from '@kiltprotocol/type-definitions'; -export default typeBundleForPolkadot as unknown as OverrideBundleDefinition; +export default typesBundle.chain?.['KILT Spiritnet'] as OverrideBundleDefinition; diff --git a/packages/apps-config/src/api/typesBundle.ts b/packages/apps-config/src/api/typesBundle.ts index faf0ed0619..efa3e6ab23 100644 --- a/packages/apps-config/src/api/typesBundle.ts +++ b/packages/apps-config/src/api/typesBundle.ts @@ -38434,3223 +38434,175 @@ export const typesBundle = { } ] }, - "kilt-parachain": { - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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" - } - }, - { - "minmax": [ - 23, - 24 - ], - "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" - }, - "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", - "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": { - "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", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 2700, - 10710 - ], - "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", - "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, - 10899 - ], - "types": { - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "RawDidDetails" - }, - "RawServiceEndpoints": { - "id": "Text", - "serviceTypes": "Vec", - "urls": "Vec" - }, - "RawDidDetails": { - "authenticationKey": "Hash", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap>", - "lastTxCounter": "BlockNumber", - "deposit": "KiltSupportDeposit" - }, - "DidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "RpcDidDetails" - }, - "RpcServiceEndpoint": { - "id": "String", - "serviceTypes": "Vec", - "urls": "Vec" - }, - "RpcDidDetails": { - "authenticationKey": "Hash", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "lastTxCounter": "BlockNumber", - "deposit": "KiltSupportDeposit" - }, - "RpcPublicKeyDetails": { - "key": "RpcDidPublicKey", - "blockNumber": "BlockNumber" - }, - "RpcDidPublicKey": { - "_enum": { - "PublicVerificationKey": "RpcDidVerificationKey", - "PublicEncryptionKey": "RpcDidEncryptionKey" - } - }, - "RpcDidVerificationKey": { - "_enum": { - "Ed25519": "AccountId32", - "Sr25519": "AccountId32", - "Ecdsa": "AccountId33" - } - }, - "RpcDidEncryptionKey": { - "_enum": { - "X25519": "AccountId32" - } - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - null - ], - "types": { - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "RawDidDetails" - }, - "RawServiceEndpoints": { - "id": "Text", - "serviceTypes": "Vec", - "urls": "Vec" - }, - "RawDidDetails": { - "authenticationKey": "Hash", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap>", - "lastTxCounter": "BlockNumber", - "deposit": "KiltSupportDeposit" - }, - "DidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "RpcDidDetails" - }, - "RpcServiceEndpoint": { - "id": "String", - "serviceTypes": "Vec", - "urls": "Vec" - }, - "RpcDidDetails": { - "authenticationKey": "Hash", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "lastTxCounter": "BlockNumber", - "deposit": "KiltSupportDeposit" - }, - "RpcPublicKeyDetails": { - "key": "RpcDidPublicKey", - "blockNumber": "BlockNumber" - }, - "RpcDidPublicKey": { - "_enum": { - "PublicVerificationKey": "RpcDidVerificationKey", - "PublicEncryptionKey": "RpcDidEncryptionKey" - } - }, - "RpcDidVerificationKey": { - "_enum": { - "Ed25519": "AccountId32", - "Sr25519": "AccountId32", - "Ecdsa": "AccountId33" - } - }, - "RpcDidEncryptionKey": { - "_enum": { - "X25519": "AccountId32" - } - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - } - ], - "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": "AccountId32" - } - ], - "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 - } - ], - "ParachainStakingApi": [ - { - "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 - } - ] - }, - "rpc": { - "did": { - "query": { - "description": "Return the DID information linked to the provided DID identifier, if found.", - "params": [ - { - "name": "did", - "type": "AccountId32" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Option" - }, - "queryByWeb3Name": { - "description": "Return the DID information linked to the provided web3name, if found.", - "params": [ - { - "name": "name", - "type": "String" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Option" - }, - "queryByAccount": { - "description": "Return the DID information linked to the provided account, if found.", - "params": [ - { - "name": "account", - "type": "AccountId32" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Option" - } - } - } - }, "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 + } + ] + }, "types": [ { "minmax": [ @@ -42533,24 +39485,6 @@ export const typesBundle = { "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", @@ -42558,10 +39492,6 @@ export const typesBundle = { "Delete": "Null" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, "DidAuthorizedCallOperation": { "did": "DidIdentifierOf", "txCounter": "u64", @@ -42790,13 +39720,6 @@ export const typesBundle = { "endpointUrl": "Option", "lastTxCounter": "u64" }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, "DidAuthorizedCallOperation": { "did": "DidIdentifierOf", "txCounter": "u64", @@ -43096,11 +40019,6 @@ export const typesBundle = { "delegations": "Vec", "total": "Balance" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, "Collator": { "id": "AccountId", "stake": "Balance", @@ -43348,7 +40266,6 @@ export const typesBundle = { "first": "BlockNumber", "length": "BlockNumber" }, - "OrderedSet": "BoundedVec", "Stake": { "owner": "AccountId", "amount": "Balance" @@ -43411,14 +40328,6 @@ export const typesBundle = { "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", @@ -43668,19 +40577,6 @@ export const typesBundle = { "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" @@ -43737,7 +40633,6 @@ export const typesBundle = { "V2" ] }, - "MaxCollatorCandidates": "u32", "MaxDelegatorsPerCollator": "u32", "MaxCollatorsPerDelegator": "u32", "StakingStorageVersion": { @@ -44079,11 +40974,6 @@ export const typesBundle = { "DelegationNodeIdOf": "Hash", "DelegatorIdOf": "AccountId", "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, "DelegationNode": { "hierarchyRootId": "DelegationNodeIdOf", "parent": "Option", @@ -44163,12 +41053,6 @@ export const typesBundle = { "InvalidEncryptionKeyFormat" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, "InputError": { "_enum": [ "MaxKeyAgreementKeysLimitExceeded", @@ -44195,22 +41079,6 @@ export const typesBundle = { "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" @@ -44270,11 +41138,6 @@ export const typesBundle = { "newCapabilityDelegationKey": "Option", "newServiceEndpoints": "Option" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, "DidFragmentUpdateAction_ServiceEndpoints": { "_enum": { "Ignore": "Null", @@ -44289,12 +41152,6 @@ export const typesBundle = { "Delete": "Null" } }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, "DidStorageVersion": { "_enum": [ "V1", @@ -44323,8 +41180,6 @@ export const typesBundle = { "MaxVerificationKeysToRevoke": "u32", "MaxPublicKeysPerDid": "u32", "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", "MinCollators": "u32", "MaxTopCandidates": "u32", "Candidate": { @@ -44601,72 +41456,32 @@ export const typesBundle = { { "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", + "accounts": "Vec", "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "RawDidDetails" - }, - "RawServiceEndpoints": { - "id": "Text", - "serviceTypes": "Vec", - "urls": "Vec" - }, - "RawDidDetails": { - "authenticationKey": "Hash", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap>", - "lastTxCounter": "BlockNumber", - "deposit": "KiltSupportDeposit" - }, - "DidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "RpcDidDetails" - }, - "RpcServiceEndpoint": { - "id": "String", - "serviceTypes": "Vec", - "urls": "Vec" - }, - "RpcDidDetails": { - "authenticationKey": "Hash", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "lastTxCounter": "BlockNumber", - "deposit": "KiltSupportDeposit" - }, - "RpcPublicKeyDetails": { - "key": "RpcDidPublicKey", - "blockNumber": "BlockNumber" - }, - "RpcDidPublicKey": { - "_enum": { - "PublicVerificationKey": "RpcDidVerificationKey", - "PublicEncryptionKey": "RpcDidEncryptionKey" - } - }, - "RpcDidVerificationKey": { - "_enum": { - "Ed25519": "AccountId32", - "Sr25519": "AccountId32", - "Ecdsa": "AccountId33" - } - }, - "RpcDidEncryptionKey": { - "_enum": { - "X25519": "AccountId32" - } + "serviceEndpoints": "Vec", + "details": "DidDidDetails" }, "StakingRates": { "collatorStakingRate": "Perquintill", @@ -44682,69 +41497,13 @@ export const typesBundle = { null ], "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", "RawDidLinkedInfo": { "identifier": "AccountId32", - "accounts": "Vec", + "accounts": "Vec", "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "RawDidDetails" - }, - "RawServiceEndpoints": { - "id": "Text", - "serviceTypes": "Vec", - "urls": "Vec" - }, - "RawDidDetails": { - "authenticationKey": "Hash", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap>", - "lastTxCounter": "BlockNumber", - "deposit": "KiltSupportDeposit" - }, - "DidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "RpcDidDetails" - }, - "RpcServiceEndpoint": { - "id": "String", - "serviceTypes": "Vec", - "urls": "Vec" - }, - "RpcDidDetails": { - "authenticationKey": "Hash", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "lastTxCounter": "BlockNumber", - "deposit": "KiltSupportDeposit" - }, - "RpcPublicKeyDetails": { - "key": "RpcDidPublicKey", - "blockNumber": "BlockNumber" - }, - "RpcDidPublicKey": { - "_enum": { - "PublicVerificationKey": "RpcDidVerificationKey", - "PublicEncryptionKey": "RpcDidEncryptionKey" - } - }, - "RpcDidVerificationKey": { - "_enum": { - "Ed25519": "AccountId32", - "Sr25519": "AccountId32", - "Ecdsa": "AccountId33" - } - }, - "RpcDidEncryptionKey": { - "_enum": { - "X25519": "AccountId32" - } + "serviceEndpoints": "Vec", + "details": "DidDidDetails" }, "StakingRates": { "collatorStakingRate": "Perquintill", @@ -44754,117 +41513,7 @@ export const typesBundle = { } } } - ], - "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": "AccountId32" - } - ], - "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 - } - ], - "ParachainStakingApi": [ - { - "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 - } - ] - }, - "rpc": { - "did": { - "query": { - "description": "Return the DID information linked to the provided DID identifier, if found.", - "params": [ - { - "name": "did", - "type": "AccountId32" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Option" - }, - "queryByWeb3Name": { - "description": "Return the DID information linked to the provided web3name, if found.", - "params": [ - { - "name": "name", - "type": "String" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Option" - }, - "queryByAccount": { - "description": "Return the DID information linked to the provided account, if found.", - "params": [ - { - "name": "account", - "type": "AccountId32" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Option" - } - } - } + ] }, "kintsugi-parachain": { "types": [ @@ -47241,3222 +43890,6 @@ export const typesBundle = { } ] }, - "mashnet-node": { - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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": { - "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" - } - }, - { - "minmax": [ - 23, - 24 - ], - "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" - }, - "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", - "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": { - "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", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 2700, - 10710 - ], - "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", - "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, - 10899 - ], - "types": { - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "RawDidDetails" - }, - "RawServiceEndpoints": { - "id": "Text", - "serviceTypes": "Vec", - "urls": "Vec" - }, - "RawDidDetails": { - "authenticationKey": "Hash", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap>", - "lastTxCounter": "BlockNumber", - "deposit": "KiltSupportDeposit" - }, - "DidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "RpcDidDetails" - }, - "RpcServiceEndpoint": { - "id": "String", - "serviceTypes": "Vec", - "urls": "Vec" - }, - "RpcDidDetails": { - "authenticationKey": "Hash", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "lastTxCounter": "BlockNumber", - "deposit": "KiltSupportDeposit" - }, - "RpcPublicKeyDetails": { - "key": "RpcDidPublicKey", - "blockNumber": "BlockNumber" - }, - "RpcDidPublicKey": { - "_enum": { - "PublicVerificationKey": "RpcDidVerificationKey", - "PublicEncryptionKey": "RpcDidEncryptionKey" - } - }, - "RpcDidVerificationKey": { - "_enum": { - "Ed25519": "AccountId32", - "Sr25519": "AccountId32", - "Ecdsa": "AccountId33" - } - }, - "RpcDidEncryptionKey": { - "_enum": { - "X25519": "AccountId32" - } - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - null - ], - "types": { - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "RawDidDetails" - }, - "RawServiceEndpoints": { - "id": "Text", - "serviceTypes": "Vec", - "urls": "Vec" - }, - "RawDidDetails": { - "authenticationKey": "Hash", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap>", - "lastTxCounter": "BlockNumber", - "deposit": "KiltSupportDeposit" - }, - "DidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "RpcDidDetails" - }, - "RpcServiceEndpoint": { - "id": "String", - "serviceTypes": "Vec", - "urls": "Vec" - }, - "RpcDidDetails": { - "authenticationKey": "Hash", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "lastTxCounter": "BlockNumber", - "deposit": "KiltSupportDeposit" - }, - "RpcPublicKeyDetails": { - "key": "RpcDidPublicKey", - "blockNumber": "BlockNumber" - }, - "RpcDidPublicKey": { - "_enum": { - "PublicVerificationKey": "RpcDidVerificationKey", - "PublicEncryptionKey": "RpcDidEncryptionKey" - } - }, - "RpcDidVerificationKey": { - "_enum": { - "Ed25519": "AccountId32", - "Sr25519": "AccountId32", - "Ecdsa": "AccountId33" - } - }, - "RpcDidEncryptionKey": { - "_enum": { - "X25519": "AccountId32" - } - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - } - ], - "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": "AccountId32" - } - ], - "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 - } - ], - "ParachainStakingApi": [ - { - "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 - } - ] - }, - "rpc": { - "did": { - "query": { - "description": "Return the DID information linked to the provided DID identifier, if found.", - "params": [ - { - "name": "did", - "type": "AccountId32" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Option" - }, - "queryByWeb3Name": { - "description": "Return the DID information linked to the provided web3name, if found.", - "params": [ - { - "name": "name", - "type": "String" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Option" - }, - "queryByAccount": { - "description": "Return the DID information linked to the provided account, if found.", - "params": [ - { - "name": "account", - "type": "AccountId32" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Option" - } - } - } - }, "mathchain": { "types": [ { diff --git a/yarn.lock b/yarn.lock index c19411c3dc..a42c2b7106 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2278,10 +2278,10 @@ __metadata: languageName: node linkType: hard -"@kiltprotocol/type-definitions@npm:^0.2.1": - version: 0.2.1 - resolution: "@kiltprotocol/type-definitions@npm:0.2.1" - checksum: c8606942d10b65ee1b45180e48273ed58f0df3fa9cdaa376d8b7da0d7c8741ef45d5a81ec4689f64945f06a2789d5fd16b3b47128ffafb23ae729b42876bbca4 +"@kiltprotocol/type-definitions@npm:^0.30.0": + version: 0.30.0 + resolution: "@kiltprotocol/type-definitions@npm:0.30.0" + checksum: 5d80ea2c2b9c6f7c2316f377a6ae9e341a3ad325c12123373f247f6c1ae52c5bcd19bcf9eae95d6e30932b2ce01b6c9f88a46fbf84dc26a14e4ca55f06d642cd languageName: node linkType: hard @@ -3163,7 +3163,7 @@ __metadata: "@equilab/definitions": 1.4.14 "@frequency-chain/api-augment": ^0.9.29 "@interlay/interbtc-types": 1.9.0 - "@kiltprotocol/type-definitions": ^0.2.1 + "@kiltprotocol/type-definitions": ^0.30.0 "@laminar/type-definitions": 0.3.1 "@logion/node-api": ^0.7.0 "@mangata-finance/types": ^0.9.0