diff --git a/packages/apps-config/src/api/typesBundle.ts b/packages/apps-config/src/api/typesBundle.ts index 9f214a79b4..cff5d25c5d 100644 --- a/packages/apps-config/src/api/typesBundle.ts +++ b/packages/apps-config/src/api/typesBundle.ts @@ -40120,7 +40120,7 @@ export const typesBundle = { { "minmax": [ 2700, - null + 10710 ], "types": { "AccountInfo": "AccountInfoWithTripleRefCount", @@ -40372,8 +40372,168 @@ export const typesBundle = { "amount": "Balance" } } + }, + { + "minmax": [ + 10720, + 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" + } + } + } } - ] + ], + "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 + } + ] + }, + "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": { "types": [ @@ -43070,7 +43230,7 @@ export const typesBundle = { { "minmax": [ 2700, - null + 10710 ], "types": { "AccountInfo": "AccountInfoWithTripleRefCount", @@ -43322,8 +43482,168 @@ export const typesBundle = { "amount": "Balance" } } + }, + { + "minmax": [ + 10720, + 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" + } + } + } } - ] + ], + "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 + } + ] + }, + "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": [ @@ -48251,7 +48571,7 @@ export const typesBundle = { { "minmax": [ 2700, - null + 10710 ], "types": { "AccountInfo": "AccountInfoWithTripleRefCount", @@ -48503,8 +48823,168 @@ export const typesBundle = { "amount": "Balance" } } + }, + { + "minmax": [ + 10720, + 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" + } + } + } } - ] + ], + "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 + } + ] + }, + "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": [