diff --git a/CONTRIBUTORS b/CONTRIBUTORS index f0a1fecd69d..2cd5ba9ab7c 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1,6 +1,6 @@ 4364 Jaco Disable unreachable endpoints (#10221) 81 Thibaut Sardan update overrides (#10090) - 72 Tarik Gul Revert 0d59324dec3fd7b5acd048a93669cb4f34f92037 (#10865) + 74 Tarik Gul Allow reserved in voting balance (#10858) 62 kwingram25 iadd fix (#2911) 49 pan update Bifrost kusama on Subsquare (#9752) 46 Antoine Estienne Update moonbeam endpoints and moonbase logo and color (#6890) @@ -65,6 +65,7 @@ 8 Hging Add MathChain mainnet support (#6214) 8 illlefr4u new additions to Russian translation (#2948) 8 Jakub Jóźwiak Code signing and Notarization (#2794) + 8 James Bayly Add Ajuna OnFinality (#9409) 8 José Molina Colmenero Add muse-paseo (#10757) 8 Kai Update Litentry rococo-parachain endpoint (#10086) 8 Milos Kriz Add IBP endpoints to `people-kusama` and HydraDX (#10627) @@ -78,7 +79,6 @@ 7 Carl Update Subscan network config (#10408) 7 Drew Stone Update production.ts (#5757) 7 icodezjb Update OmniBTC wss url (#8678) - 7 James Bayly Add Ajuna OnFinality (#9409) 7 JelliedOwl (Paul) Re-enable Edgeware Beresheet (#10244) 7 Logan Saether Add Zeitgeist para config (#6628) 7 Masterdubs Add Innovatorchain (#10058) @@ -289,6 +289,7 @@ 2 Nisheeth Barthwal display discord identity in profile sidebar (#9185) 2 Pablo Andrés Dorado Suárez Restore Virto provider for Kreivo in Kusama (#10463) 2 qinghuan add chainx rococo node (#4772) + 2 Raphael Flechtner chore(deps): update kilt chain type definitions to v1 (#10850) 2 Robert Gabriel Jakabosky Support BTreeSet. (#9206) 2 Salman Pathan Add tangle to live networks (#10448) 2 sander2 fix: add account derive (#8683) @@ -489,7 +490,6 @@ 1 Radka Gettová Make Block Hash "Hover to Copy"-able (#458) 1 Rajdeep Singh add collectives to polkassembly links (#9595) 1 Raoul Millais Upgrade @substrate/connect@0.3.16 (#5855) - 1 Raphael Flechtner chore: use new kilt logo (#5649) 1 Ravi Kumar Add hi_IN translation (#5420) 1 Raymond Zhong Add types for beresheet runtime (#5576) 1 Ricardo Rius Update stable poc types (#3783) diff --git a/package.json b/package.json index 0cb734d6f4e..5f607ed3d31 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "versions": { - "git": "0.143.3-5-x", + "git": "0.143.3-9-x", "npm": "0.143.2" }, "workspaces": [ diff --git a/packages/apps-config/package.json b/packages/apps-config/package.json index f57e94a71e4..d4b5124d29a 100644 --- a/packages/apps-config/package.json +++ b/packages/apps-config/package.json @@ -13,7 +13,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "main": "index.js", "dependencies": { "@acala-network/type-definitions": "5.1.2", @@ -28,7 +28,7 @@ "@fragnova/api-augment": "0.1.0-spec-1.0.4-mainnet", "@frequency-chain/api-augment": "1.11.1", "@interlay/interbtc-types": "1.13.0", - "@kiltprotocol/type-definitions": "0.35.1", + "@kiltprotocol/type-definitions": "^1.11200.0", "@laminar/type-definitions": "0.3.1", "@logion/node-api": "0.27.0-4", "@mangata-finance/type-definitions": "^2.1.2", diff --git a/packages/apps-config/src/api/chain/index.ts b/packages/apps-config/src/api/chain/index.ts index b3f9f1b5557..3f35c6e458b 100644 --- a/packages/apps-config/src/api/chain/index.ts +++ b/packages/apps-config/src/api/chain/index.ts @@ -4,21 +4,10 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types'; import cere from './cere.js'; -import kilt from './kilt.js'; - -if (!kilt) { - throw new Error('Unable to retrieve kilt'); -} // NOTE: The mapping is done from chain name in system.chain const chain: Record = { - 'Cere Mainnet Beta': cere, - 'KILT Mashnet': kilt['KILT Mashnet'], - 'KILT Peregrine': kilt['KILT Peregrine'], - 'KILT Peregrine Develop': kilt['KILT Peregrine Develop'], - 'KILT Peregrine Stagenet': kilt['KILT Peregrine Stagenet'], - 'KILT Spiritnet': kilt['KILT Spiritnet'], - 'KILT Spiritnet Develop': kilt['KILT Spiritnet Develop'] + 'Cere Mainnet Beta': cere }; export default chain; diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index e352f2abda3..be505c9887c 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -67,6 +67,7 @@ import jupiter from './jupiter.js'; import jupiterRococo from './jupiter-rococo.js'; import jur from './jur.js'; import khala from './khala.js'; +import kilt from './kilt.js'; import konomi from './konomi.js'; import kpron from './kpron.js'; import kulupu from './kulupu.js'; @@ -225,6 +226,7 @@ const spec: Record = { 'jur-node': jur, kerria: parallel, khala, + ...kilt, 'kintsugi-parachain': interbtc, konomi, kpron, diff --git a/packages/apps-config/src/api/chain/kilt.ts b/packages/apps-config/src/api/spec/kilt.ts similarity index 60% rename from packages/apps-config/src/api/chain/kilt.ts rename to packages/apps-config/src/api/spec/kilt.ts index f73ecb9a807..d1c0515d477 100644 --- a/packages/apps-config/src/api/chain/kilt.ts +++ b/packages/apps-config/src/api/spec/kilt.ts @@ -3,8 +3,8 @@ import { typesBundle } from '@kiltprotocol/type-definitions'; -if (!typesBundle.chain) { - throw new Error('Unable to find chain defintions'); +if (!typesBundle.spec) { + throw new Error('Unable to find chain definitions'); } -export default typesBundle.chain; +export default typesBundle.spec; diff --git a/packages/apps-config/src/api/typesBundle.ts b/packages/apps-config/src/api/typesBundle.ts index 7e028cf1f68..94d531b2f29 100644 --- a/packages/apps-config/src/api/typesBundle.ts +++ b/packages/apps-config/src/api/typesBundle.ts @@ -88,30931 +88,23294 @@ export const typesBundle = { "types": {} } ] + } + }, + "spec": { + "Equilibrium": { + "instances": { + "balances": [ + "eq" + ] + } }, - "KILT Mashnet": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Did": [ - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" - } - }, - "version": 1 - } + "Genshiro": { + "instances": { + "balances": [ + "gens" ] - }, + } + }, + "VLN": { "types": [ { "minmax": [ 0, - 8 + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" - }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" - }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" - }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" - }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" - }, - "ChainId": { + "Asset": { "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" + "Collateral": "Collateral", + "Fiat": "Fiat", + "Usdv": null } }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { - "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 - } + "Collateral": { + "_enum": [ + "Usdc" + ] }, - "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 - } + "Fiat": { + "_enum": [ + "Cop", + "Vez" + ] }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } + "CurrencyId": "Asset", + "OracleKey": "Asset", + "OracleValue": "FixedU128", + "CurrencyIdOf": "Asset", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" + }, + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "Share": "Permill" } - }, + } + ] + }, + "VLN-PC": { + "types": [ { "minmax": [ - 9, - 9 + 0, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } - }, - "DidEncryptionKey": { + "Asset": { "_enum": { - "X25519": "[u8; 32]" + "Collateral": "Collateral", + "Fiat": "Fiat", + "Network": "NetworkAsset", + "Usdv": null } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "Collateral": { + "_enum": [ + "Usdc" + ] }, - "DidVerificationKeyRelationship": { + "Fiat": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Cop", + "Vez" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "CurrencyId": "NetworkAsset", + "OracleKey": "Asset", + "OracleValue": "FixedU128", + "CurrencyIdOf": "NetworkAsset", + "Amount": "i64", + "AmountOf": "Amount", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "Share": "Permill", + "XCurrencyId": { + "chain_id": "ChainId", + "currency_id": "Bytes" }, - "StorageError": { + "ChainId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "RelayChain": null, + "Parachain": "ParaId" } }, - "SignatureError": { + "NetworkAsset": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "ACA", + "AUSD", + "DOT" ] }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "BaseAsset": "CurrencyId", + "AssetPair": { + "base": "BaseAsset", + "quote": "CurrencyId" }, - "UrlError": { + "PaymentMethod": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "BankX", + "BankY" ] }, - "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": { + "RatePremiumType": "FixedU128", + "SwapKind": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "In": "SwapIn", + "Out": "SwapOut" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" + "SwapIn": { + "_enum": { + "Created": null, + "Accepted": "Vec", + "Rejected": "Vec", + "Confirmed": "Vec", + "Expired": null, + "Completed": null + } }, - "Url": { + "SwapOut": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Created": null, + "Accepted": null, + "Rejected": "Vec", + "Confirmed": "Vec", + "Expired": null, + "Completed": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10, - 11 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "PairPrice": { + "pair": "AssetPair", + "price": "FixedU128" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "Swap": { + "human": "AccountId", + "kind": "SwapKind", + "price": "PairPrice", + "amount": "FixedU128" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" + "RateDetail": { + "rate": "FixedU128" + } + } + } + ] + }, + "acala": { + "rpc": { + "dex": { + "getSupplyAmount": { + "description": "Get supply amount", + "params": [ + { + "name": "supplyCurrencyId", + "type": "CurrencyId" + }, + { + "name": "targetCurrencyId", + "type": "CurrencyId" + }, + { + "name": "targetCurrencyAmount", + "type": "BalanceRequest" } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "dex_getSupplyAmount", + "method": "getSupplyAmount", + "section": "dex" + }, + "getTargetAmount": { + "description": "Get target amount", + "params": [ + { + "name": "supplyCurrencyId", + "type": "CurrencyId" + }, + { + "name": "targetCurrencyId", + "type": "CurrencyId" + }, + { + "name": "supplyCurrencyAmount", + "type": "BalanceRequest" } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "dex_getTargetAmount", + "method": "getTargetAmount", + "section": "dex" + } + }, + "evm": { + "call": { + "description": "eth call", + "params": [ + { + "name": "data", + "type": "CallRequest" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "DidVerificationKeyRelationship": { + ], + "type": "Raw", + "isSubscription": false, + "jsonrpc": "evm_call", + "method": "call", + "section": "evm" + }, + "estimateResources": { + "description": "eth estimateResources", + "params": [ + { + "name": "from", + "type": "H160" + }, + { + "name": "unsignedExtrinsic", + "type": "Bytes" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "EstimateResourcesResponse", + "isSubscription": false, + "jsonrpc": "evm_estimateResources", + "method": "estimateResources", + "section": "evm" + } + }, + "stakingPool": { + "getAvailableUnbonded": { + "description": "Get Available Unbonded", + "params": [ + { + "name": "account", + "type": "AccountId" + } + ], + "type": "BalanceInfo", + "isSubscription": false, + "jsonrpc": "stakingPool_getAvailableUnbonded", + "method": "getAvailableUnbonded", + "section": "stakingPool" + }, + "getLiquidStakingExchangeRate": { + "description": "get liquid staking exchange rate", + "params": [], + "type": "ExchangeRate", + "isSubscription": false, + "jsonrpc": "stakingPool_getLiquidStakingExchangeRate", + "method": "getLiquidStakingExchangeRate", + "section": "stakingPool" + } + } + }, + "instances": { + "council": [ + "generalCouncil" + ] + }, + "types": [ + { + "minmax": [ + 600, + 699 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "ACA", + "AUSD", + "DOT", + "XBTC", + "LDOT", + "RENBTC" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } - }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "DidVerificationKeyUpdateAction": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "HttpUrl": { - "payload": "Text" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "FtpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "IpfsUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "Url": { + "BalanceRequest": { + "amount": "Balance" + }, + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "CollatorStatus": { + "ExitReason": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { + "ExitSucceed": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Stopped", + "Returned", + "Suicided" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { + "ExitError": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { + "ExitRevert": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Reverted" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidVerificationKeyUpdateAction": { + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "FtpUrl": { - "payload": "Text" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "OrderedSet": "Vec", - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" + "data": "ClassData" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "CollatorStatus": { + "ChangeRate": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } + }, + "BalanceInfo": { + "amount": "Balance" + }, + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "LookupSource", + "LookupSource": "IndicesLookupSource" } }, { "minmax": [ - 17, - 17 + 700, + 719 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "ACA", + "AUSD", + "DOT", + "XBTC", + "LDOT", + "RENBTC" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "DidVerificationKeyUpdateAction": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "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" + "BalanceRequest": { + "amount": "Balance" }, - "CollatorStatus": { + "TradingPairStatus": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 18, - 18 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidPublicKey": { + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" + }, + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" + }, + "ExitReason": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DidVerificationKeyRelationship": { + "ExitSucceed": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Stopped", + "Returned", + "Suicided" ] }, - "DidSignature": { + "ExitError": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "ExitRevert": { + "_enum": [ + "Reverted" + ] }, - "StorageError": { + "ExitFatal": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidVerificationKeyUpdateAction": { + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "FtpUrl": { - "payload": "Text" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "OrderedSet": "Vec", - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" + "data": "ClassData" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "CollatorStatus": { + "ChangeRate": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "BalanceInfo": { + "amount": "Balance" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress" } }, { "minmax": [ - 19, - 19 + 720, + 722 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "XBTC": 4, + "RENBTC": 5, + "POLKABTC": 6, + "PLM": 7, + "PHA": 8, + "HDT": 9, + "BCG": 11, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "SDN": 135, + "KILT": 138 } }, - "DidEncryptionKey": { + "DexShare": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidPublicKey": { + "CurrencyId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" } }, - "DidVerificationKeyRelationship": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "KAR", + "ACA" ] }, - "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": { + "AuthoritysOriginId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "KeyError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Aggregated", + "Acala", + "Band" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "InputError": { + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" + }, + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" + }, + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "LiquidationStrategy": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Auction", + "Exchange" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "HttpUrl": { - "payload": "Text" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "FtpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "IpfsUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "Url": { + "BalanceRequest": { + "amount": "Balance" + }, + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "CollatorStatus": { + "ExitReason": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } }, - "DelegationStorageVersion": { + "ExitRevert": { "_enum": [ - "V1", - "V2" + "Reverted" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" + }, + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolIdV0": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "DidEncryptionKey": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] + }, + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] + }, + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_enum": { - "X25519": "[u8; 32]" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidPublicKey": { + "ChangeRatio": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "BalanceInfo": { + "amount": "Balance" }, - "DidSignature": { + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 723, + 729 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "XBTC": 4, + "RENBTC": 5, + "POLKABTC": 6, + "PLM": 7, + "PHA": 8, + "HDT": 9, + "BCG": 11, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "SDN": 135, + "KILT": 138 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "FtpUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "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" + "BalanceRequest": { + "amount": "Balance" }, - "CollatorStatus": { + "TradingPairStatus": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" + }, + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" + }, + "ExitReason": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "ContentType": { + "ExitSucceed": { "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" + "Stopped", + "Returned", + "Suicided" ] }, - "DidStorageVersion": { + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } + }, + "ExitRevert": { "_enum": [ - "V1", - "V2" + "Reverted" ] }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidEncryptionKey": { + "PoolIdV0": { "_enum": { - "X25519": "[u8; 32]" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Position": { + "collateral": "Balance", + "debit": "Balance" + }, + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" + }, + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "DidVerificationKeyRelationship": { + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" + }, + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" + }, + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "DidSignature": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] + }, + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidError": { + "ChangeRatio": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "StorageError": { + "BalanceInfo": { + "amount": "Balance" + }, + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + } + } + }, + { + "minmax": [ + 730, + 1007 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 4, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "CASH": 140 } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "DexShare": { + "_enum": { + "Token": "TokenSymbol", + "Erc20": "EvmAddress" + } }, - "KeyError": { + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "KAR", + "ACA" ] }, - "UrlError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "IpfsUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "Url": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "BalanceWrapper": { + "amount": "Balance" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "BalanceRequest": { + "amount": "Balance" }, - "CollatorStatus": { + "TradingPairStatus": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" + }, + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" + }, + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" + }, + "ExitReason": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "ContentType": { + "ExitSucceed": { "_enum": [ - "application/json", - "application/ld+json" + "Stopped", + "Returned", + "Suicided" ] }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "ExitRevert": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" + "Reverted" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" + }, + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidEncryptionKey": { + "PoolIdV0": { "_enum": { - "X25519": "[u8; 32]" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Position": { + "collateral": "Balance", + "debit": "Balance" + }, + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" + }, + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "DidVerificationKeyRelationship": { + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" + }, + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" + }, + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "DidSignature": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] + }, + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidError": { + "ChangeRatio": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "StorageError": { + "BalanceInfo": { + "amount": "Balance" + }, + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + } + } + }, + { + "minmax": [ + 1008, + 1008 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131 } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "DexShare": { + "_enum": { + "Token": "TokenSymbol", + "Erc20": "EvmAddress" + } }, - "KeyError": { + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "KAR", + "ACA" ] }, - "UrlError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "IpfsUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "Url": { + "ChangeOptionRatio": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "Stake": { - "owner": "AccountId", + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" + }, + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ExitReason": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "ContentType": { + "ExitSucceed": { "_enum": [ - "application/json", - "application/ld+json" + "Stopped", + "Returned", + "Suicided" ] }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "ExitRevert": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Reverted" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { + "ExitFatal": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidError": { + "PoolId": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "StorageError": { + "PoolIdV0": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "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" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "data": "ClassData" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "DelegationStorageVersion": { + "StakingPoolPhase": { "_enum": [ - "V1", - "V2" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ChangeRate": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ChangeRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "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" - ] + "BalanceInfo": { + "amount": "Balance" }, - "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", + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" } } }, { "minmax": [ - 2700, - 10409 + 1008, + 1009 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidEncryptionKey": { + "DexShare": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidPublicKey": { + "CurrencyId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "DidVerificationKeyRelationship": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "KAR", + "ACA" ] }, - "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": { + "AuthoritysOriginId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "KeyError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" + }, + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" + }, + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" + }, + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "LiquidationStrategy": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" + "Auction", + "Exchange" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" + }, + "ExitReason": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DidStorageVersion": { + "ExitSucceed": { "_enum": [ - "V1", - "V2", - "V3" + "Stopped", + "Returned", + "Suicided" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } + }, + "ExitRevert": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Reverted" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { + "ExitFatal": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10410, - 10719 - ], - "types": { - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidError": { + "PoolId": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "StorageError": { + "PoolIdV0": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "data": "ClassData" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "DelegationStorageVersion": { + "StakingPoolPhase": { "_enum": [ - "V1", - "V2" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ChangeRate": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ChangeRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "BalanceInfo": { + "amount": "Balance" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" } } }, { "minmax": [ - 10800, - 10899 + 1010, + 1013 ], "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - 11199 - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "DexShare": { + "_enum": { + "Token": "TokenSymbol", + "Erc20": "EvmAddress" + } }, - "PublicCredentialFilter": { + "CurrencyId": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "PublicCredentialError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSubjectId" + "KAR", + "ACA" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 11200, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] }, - "PublicCredentialError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidSubjectId" + "Aggregated", + "Acala", + "Band" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "IdentityCommitmentVersion": "u16", - "DipProofRequest": { - "identifier": "AccountId32", - "version": "IdentityCommitmentVersion", - "proofKeys": "Vec", - "accounts": "Vec", - "shouldIncludeWeb3Name": "bool" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "CompleteMerkleProof": { - "root": "MerkleRoot", - "proof": "MerkleProof" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "MerkleRoot": "Hash", - "MerkleProof": { - "blinded": "BlindedLeaves", - "revealed": "RevealedLeaves" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "BlindedLeaves": "Vec", - "BlindedValue": "Bytes", - "RevealedLeaves": "Vec", - "RevealedLeaf": { + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] + }, + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "DidKey": "RevealedDidKey", - "Web3Name": "RevealedWeb3Name", - "LinkedAccount": "RevealedAccountId" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "RevealedDidKey": { - "id": "Hash", - "relationship": "KeyRelationship", - "details": "DidDidDetailsDidPublicKeyDetails" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "KeyRelationship": { + "ChangeBalance": { "_enum": { - "Encryption": "Null", - "Verification": "VerificationRelationship" + "NoChange": "Null", + "NewValue": "Balance" } }, - "VerificationRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "RevealedWeb3Name": { - "web3Name": "Text", - "claimedAt": "BlockNumber" - }, - "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RuntimeApiDipProofError": { - "_enum": { - "IdentityProvider": "LinkedDidIdentityProviderError", - "MerkleProof": "DidMerkleProofError" - } + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "LinkedDidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "DidDeleted", - "Internal" - ] + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "DidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "Internal" - ] + "BalanceWrapper": { + "amount": "Balance" }, - "DidMerkleProofError": { - "_enum": [ - "UnsupportedVersion", - "KeyNotFound", - "LinkedAccountNotFound", - "Web3NameNotFound", - "Internal" - ] - } - } - } - ] - }, - "KILT Peregrine": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } + "BalanceRequest": { + "amount": "Balance" }, - "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" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "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" - } + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "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" - } + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "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" - } + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" - } + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "version": 1 - } - ], - "DipProvider": [ - { - "methods": { - "generate_proof": { - "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", - "params": [ - { - "name": "request", - "type": "DipProofRequest" - } - ], - "type": "Result" - } + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "ChainId": { + "ExitReason": { "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { - "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 - } + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "XcmError": { + "ExitError": { "_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 + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "ReferendumInfo": { + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitFatal": { "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } - } - } - }, - { - "minmax": [ - 9, - 9 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidEncryptionKey": { + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "X25519": "[u8; 32]" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "DidPublicKey": { + "PoolIdV0": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "UrlError": { + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidVerificationKeyUpdateAction": { + "ChangeRate": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { + "ChangeRatio": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "LockedBalance": { - "block": "BlockNumber", + "BalanceInfo": { "amount": "Balance" - } + }, + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" } }, { "minmax": [ - 10, - 11 + 1014, + 1018 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidEncryptionKey": { + "DexShare": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidPublicKey": { + "CurrencyId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "DidVerificationKeyRelationship": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "KAR", + "ACA" ] }, - "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": { + "AuthoritysOriginId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "KeyError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Aggregated", + "Acala", + "Band" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "DidVerificationKeyUpdateAction": { + "ChangeOptionRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "HttpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "BalanceRequest": { + "amount": "Balance" }, - "Url": { + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DidPublicKey": { + "ExitReason": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DidVerificationKeyRelationship": { + "ExitSucceed": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Stopped", + "Returned", + "Suicided" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { + "ExitError": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { + "ExitRevert": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Reverted" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidVerificationKeyUpdateAction": { + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "FtpUrl": { - "payload": "Text" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "OrderedSet": "Vec", - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" + "data": "ClassData" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "CollatorStatus": { + "ChangeRate": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } + }, + "BalanceInfo": { + "amount": "Balance" + }, + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV1", + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1", + "XcmError": "XcmErrorV1", + "Response": "ResponseV1" } }, { "minmax": [ - 17, - 17 + 1019, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidEncryptionKey": { + "DexShare": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidPublicKey": { + "CurrencyId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "DidVerificationKeyRelationship": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "KAR", + "ACA" ] }, - "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": { + "AuthoritysOriginId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "KeyError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Aggregated", + "Acala", + "Band" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "DidVerificationKeyUpdateAction": { + "ChangeOptionRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "HttpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "BalanceRequest": { + "amount": "Balance" }, - "Url": { + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "CollatorStatus": { + "ExitReason": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { + "ExitSucceed": { "_enum": [ - "V1", - "V2" + "Stopped", + "Returned", + "Suicided" ] - } - } - }, - { - "minmax": [ - 18, - 18 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } }, - "DidPublicKey": { + "ExitError": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "DidVerificationKeyRelationship": { + "ExitRevert": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Reverted" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { + "ExitFatal": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidVerificationKeyUpdateAction": { + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { + "PoolIdV0": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "OrderedSet": "Vec", - "Stake": { + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", "owner": "AccountId", - "amount": "Balance" + "data": "TokenData" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "BondingLedger": { "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" + "active": "Balance", + "unlocking": "Vec" }, - "DelegationStorageVersion": { + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "V1", - "V2" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "ChangeRate": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidEncryptionKey": { + "ChangeRatio": { "_enum": { - "X25519": "[u8; 32]" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "BalanceInfo": { + "amount": "Balance" }, - "DidVerificationKeyRelationship": { + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress" + } + } + ], + "alias": { + "stakingPool": { + "Phase": "StakingPoolPhase" + }, + "nomineesElection": { + "UnlockChunk": "HomaUnlockChunk" + }, + "evm": { + "AccountInfo": "EvmAccountInfo", + "ContractInfo": "EvmContractInfo" + }, + "rewards": { + "OrmlCurrencyId": "CurrencyId" + }, + "oracle": { + "DataProviderId": "AcalaDataProviderId" + }, + "chainBridge": { + "ChainId": "ChainBridgeChainId" + } + } + }, + "mandala": { + "rpc": { + "dex": { + "getSupplyAmount": { + "description": "Get supply amount", + "params": [ + { + "name": "supplyCurrencyId", + "type": "CurrencyId" + }, + { + "name": "targetCurrencyId", + "type": "CurrencyId" + }, + { + "name": "targetCurrencyAmount", + "type": "BalanceRequest" + } + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "dex_getSupplyAmount", + "method": "getSupplyAmount", + "section": "dex" + }, + "getTargetAmount": { + "description": "Get target amount", + "params": [ + { + "name": "supplyCurrencyId", + "type": "CurrencyId" + }, + { + "name": "targetCurrencyId", + "type": "CurrencyId" + }, + { + "name": "supplyCurrencyAmount", + "type": "BalanceRequest" + } + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "dex_getTargetAmount", + "method": "getTargetAmount", + "section": "dex" + } + }, + "evm": { + "call": { + "description": "eth call", + "params": [ + { + "name": "data", + "type": "CallRequest" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Raw", + "isSubscription": false, + "jsonrpc": "evm_call", + "method": "call", + "section": "evm" + }, + "estimateResources": { + "description": "eth estimateResources", + "params": [ + { + "name": "from", + "type": "H160" + }, + { + "name": "unsignedExtrinsic", + "type": "Bytes" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "EstimateResourcesResponse", + "isSubscription": false, + "jsonrpc": "evm_estimateResources", + "method": "estimateResources", + "section": "evm" + } + }, + "stakingPool": { + "getAvailableUnbonded": { + "description": "Get Available Unbonded", + "params": [ + { + "name": "account", + "type": "AccountId" + } + ], + "type": "BalanceInfo", + "isSubscription": false, + "jsonrpc": "stakingPool_getAvailableUnbonded", + "method": "getAvailableUnbonded", + "section": "stakingPool" + }, + "getLiquidStakingExchangeRate": { + "description": "get liquid staking exchange rate", + "params": [], + "type": "ExchangeRate", + "isSubscription": false, + "jsonrpc": "stakingPool_getLiquidStakingExchangeRate", + "method": "getLiquidStakingExchangeRate", + "section": "stakingPool" + } + } + }, + "instances": { + "council": [ + "generalCouncil" + ] + }, + "types": [ + { + "minmax": [ + 600, + 699 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "ACA", + "AUSD", + "DOT", + "XBTC", + "LDOT", + "RENBTC" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "FtpUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "CollatorStatus": { + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" + }, + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" + }, + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" + }, + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" + }, + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" + }, + "ExitReason": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } }, - "DelegationStorageVersion": { + "ExitRevert": { "_enum": [ - "V1", - "V2" + "Reverted" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" + }, + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolIdV0": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "ContentType": { + "Position": { + "collateral": "Balance", + "debit": "Balance" + }, + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" + }, + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } + }, + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" + }, + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" + }, + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "DidStorageVersion": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "V1", - "V2" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "ChangeRate": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidEncryptionKey": { + "ChangeRatio": { "_enum": { - "X25519": "[u8; 32]" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "BalanceInfo": { + "amount": "Balance" }, - "DidVerificationKeyRelationship": { + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "LookupSource", + "LookupSource": "IndicesLookupSource" + } + }, + { + "minmax": [ + 700, + 719 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "ACA", + "AUSD", + "DOT", + "XBTC", + "LDOT", + "RENBTC" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "KAR", + "ACA" ] }, - "UrlError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "IpfsUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "Url": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BalanceWrapper": { + "amount": "Balance" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "BalanceRequest": { + "amount": "Balance" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ExitReason": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitError": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "ContentType": { + "ExitRevert": { "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" + "Reverted" ] }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidEncryptionKey": { + "PoolId": { "_enum": { - "X25519": "[u8; 32]" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "DidPublicKey": { + "PoolIdV0": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "InputError": { + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "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" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "HttpUrl": { - "payload": "Text" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "FtpUrl": { - "payload": "Text" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "IpfsUrl": { - "payload": "Text" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "Url": { + "ChangeRate": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Rate" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "Stake": { - "owner": "AccountId", + "BalanceInfo": { "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": { + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress" + } + }, + { + "minmax": [ + 720, + 722 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "XBTC": 4, + "RENBTC": 5, + "POLKABTC": 6, + "PLM": 7, + "PHA": 8, + "HDT": 9, + "BCG": 11, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "SDN": 135, + "KILT": 138 } }, - "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": { + "DexShare": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "CurrencyId": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" } }, - "ContentType": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "application/json", - "application/ld+json" + "KAR", + "ACA" ] }, - "DidStorageVersion": { + "AuthoritysOriginId": { "_enum": [ - "V1", - "V2" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "AcalaDataProviderId": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" + "Aggregated", + "Acala", + "Band" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidVerificationKeyRelationship": { + "LiquidationStrategy": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Auction", + "Exchange" ] }, - "DidSignature": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidError": { + "ChangeOptionRatio": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "StorageError": { + "ChangeBalance": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "NoChange": "Null", + "NewValue": "Balance" } }, - "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" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "HttpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "BalanceRequest": { + "amount": "Balance" }, - "Url": { + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "ExitReason": { + "_enum": { + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" + } }, - "DelegationStorageVersion": { + "ExitSucceed": { "_enum": [ - "V1", - "V2" + "Stopped", + "Returned", + "Suicided" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ExitError": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitFatal": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { "total": "Balance", - "status": "CandidateStatus" + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "CandidateStatus": { + "PoolId": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" + }, + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "DidEncryptionKey": { + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" + }, + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" + }, + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] + }, + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] + }, + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_enum": { - "X25519": "[u8; 32]" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidPublicKey": { + "ChangeRatio": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "BalanceInfo": { + "amount": "Balance" }, - "DidSignature": { + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 723, + 729 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "XBTC": 4, + "RENBTC": 5, + "POLKABTC": 6, + "PLM": 7, + "PHA": 8, + "HDT": 9, + "BCG": 11, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "SDN": 135, + "KILT": 138 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "FtpUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" + }, + "ExitReason": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { + "ExitSucceed": { "_enum": [ - "application/json", - "application/ld+json" + "Stopped", + "Returned", + "Suicided" ] }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "ExitRevert": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Reverted" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { + "ExitFatal": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } - } - } - }, - { - "minmax": [ - 2700, - 10409 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidError": { + "PoolId": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "StorageError": { + "PoolIdV0": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "data": "ClassData" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "DelegationStorageVersion": { + "StakingPoolPhase": { "_enum": [ - "V1", - "V2" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ChangeRate": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ChangeRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "BalanceInfo": { + "amount": "Balance" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" } } }, { "minmax": [ - 10410, - 10719 + 730, + 1007 ], "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": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 4, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "CASH": 140 } }, - "DidEncryptionKey": { + "DexShare": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidPublicKey": { + "CurrencyId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "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": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "BalanceWrapper": { + "amount": "Balance" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "BalanceRequest": { + "amount": "Balance" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "PublicCredentialFilter": { + "ExitReason": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "PublicCredentialError": { + "ExitSucceed": { "_enum": [ - "InvalidSubjectId" + "Stopped", + "Returned", + "Suicided" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - 11199 - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { + "ExitError": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "PublicCredentialError": { + "ExitRevert": { "_enum": [ - "InvalidSubjectId" + "Reverted" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 11200, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { + "ExitFatal": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "IdentityCommitmentVersion": "u16", - "DipProofRequest": { - "identifier": "AccountId32", - "version": "IdentityCommitmentVersion", - "proofKeys": "Vec", - "accounts": "Vec", - "shouldIncludeWeb3Name": "bool" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "CompleteMerkleProof": { - "root": "MerkleRoot", - "proof": "MerkleProof" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "MerkleRoot": "Hash", - "MerkleProof": { - "blinded": "BlindedLeaves", - "revealed": "RevealedLeaves" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "BlindedLeaves": "Vec", - "BlindedValue": "Bytes", - "RevealedLeaves": "Vec", - "RevealedLeaf": { + "PoolId": { "_enum": { - "DidKey": "RevealedDidKey", - "Web3Name": "RevealedWeb3Name", - "LinkedAccount": "RevealedAccountId" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "RevealedDidKey": { - "id": "Hash", - "relationship": "KeyRelationship", - "details": "DidDidDetailsDidPublicKeyDetails" - }, - "KeyRelationship": { + "PoolIdV0": { "_enum": { - "Encryption": "Null", - "Verification": "VerificationRelationship" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "VerificationRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "RevealedWeb3Name": { - "web3Name": "Text", - "claimedAt": "BlockNumber" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RuntimeApiDipProofError": { - "_enum": { - "IdentityProvider": "LinkedDidIdentityProviderError", - "MerkleProof": "DidMerkleProofError" - } + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "LinkedDidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "DidDeleted", - "Internal" - ] - }, - "DidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "Internal" - ] - }, - "DidMerkleProofError": { - "_enum": [ - "UnsupportedVersion", - "KeyNotFound", - "LinkedAccountNotFound", - "Web3NameNotFound", - "Internal" - ] - } - } - } - ] - }, - "KILT Peregrine Develop": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "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" - } + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "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" - } + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "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" - } + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" - } + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "version": 1 - } - ], - "DipProvider": [ - { - "methods": { - "generate_proof": { - "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", - "params": [ - { - "name": "request", - "type": "DipProofRequest" - } - ], - "type": "Result" - } + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "ChainId": { + "ChangeRate": { "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" + "NoChange": "Null", + "NewValue": "Rate" } }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { + "ChangeRatio": { "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 + "NoChange": "Null", + "NewValue": "Ratio" } }, - "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 - } + "BalanceInfo": { + "amount": "Balance" }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" } } }, { "minmax": [ - 9, - 9 + 1008, + 1008 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131 } }, - "DidEncryptionKey": { + "DexShare": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidPublicKey": { + "CurrencyId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "DidVerificationKeyRelationship": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "KAR", + "ACA" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] }, - "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": { + "AcalaDataProviderId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Aggregated", + "Acala", + "Band" ] }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "DidVerificationKeyUpdateAction": { + "ChangeOptionRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "HttpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "BalanceRequest": { + "amount": "Balance" }, - "Url": { + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10, - 11 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "StorageError": { + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" + }, + "ExitReason": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { + "ExitSucceed": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Stopped", + "Returned", + "Suicided" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } }, - "InputError": { + "ExitRevert": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Reverted" ] }, - "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": { + "ExitFatal": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "HttpUrl": { - "payload": "Text" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "FtpUrl": { - "payload": "Text" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "IpfsUrl": { - "payload": "Text" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "Url": { + "PoolId": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "OrderedSet": "Vec", - "Stake": { + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "data": "TokenData" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "BondingLedger": { "total": "Balance", - "state": "CollatorStatus" + "active": "Balance", + "unlocking": "Vec" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "DidEncryptionKey": { + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_enum": { - "X25519": "[u8; 32]" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidPublicKey": { + "ChangeRatio": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "BalanceInfo": { + "amount": "Balance" }, - "DidSignature": { + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + } + } + }, + { + "minmax": [ + 1008, + 1009 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "DidVerificationKeyUpdateAction": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } - } - }, - { - "minmax": [ - 17, - 17 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DidEncryptionKey": { + "ExitReason": { "_enum": { - "X25519": "[u8; 32]" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DidPublicKey": { + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitError": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "DidVerificationKeyRelationship": { + "ExitRevert": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Reverted" ] }, - "DidSignature": { + "ExitFatal": { "_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" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidVerificationKeyUpdateAction": { + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "FtpUrl": { - "payload": "Text" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "OrderedSet": "Vec", - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" + "data": "ClassData" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "CollatorStatus": { + "ChangeRate": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "BalanceInfo": { + "amount": "Balance" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" } } }, { "minmax": [ - 18, - 18 + 1010, + 1013 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidEncryptionKey": { + "DexShare": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidPublicKey": { + "CurrencyId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "DidVerificationKeyRelationship": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "KAR", + "ACA" ] }, - "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": { + "AuthoritysOriginId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "KeyError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Aggregated", + "Acala", + "Band" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "InputError": { + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" + }, + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" + }, + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "LiquidationStrategy": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Auction", + "Exchange" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "DidVerificationKeyUpdateAction": { + "ChangeBalance": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Balance" } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "LockedBalance": { - "block": "BlockNumber", + "BalanceWrapper": { "amount": "Balance" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", + "BalanceRequest": { "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": { + "TradingPairStatus": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DidPublicKey": { + "ExitReason": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DidVerificationKeyRelationship": { + "ExitSucceed": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Stopped", + "Returned", + "Suicided" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { + "ExitError": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { + "ExitRevert": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Reverted" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "HttpUrl": { - "payload": "Text" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "FtpUrl": { - "payload": "Text" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "IpfsUrl": { - "payload": "Text" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "Url": { + "PoolId": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "OrderedSet": "Vec", - "Stake": { + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "data": "TokenData" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "BondingLedger": { "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "active": "Balance", + "unlocking": "Vec" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "DelegationStorageVersion": { + "StakingPoolPhase": { "_enum": [ - "V1", - "V2" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "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" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ChangeRate": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ChangeRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] + "BalanceInfo": { + "amount": "Balance" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" } }, { "minmax": [ - 20, - 20 + 1014, + 1018 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidEncryptionKey": { + "DexShare": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidPublicKey": { + "CurrencyId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "DidVerificationKeyRelationship": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "KAR", + "ACA" ] }, - "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": { + "AuthoritysOriginId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "KeyError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Aggregated", + "Acala", + "Band" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "InputError": { + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" + }, + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" + }, + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "LiquidationStrategy": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Auction", + "Exchange" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "HttpUrl": { - "payload": "Text" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "FtpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "IpfsUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "Url": { + "BalanceRequest": { + "amount": "Balance" + }, + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "CollatorStatus": { + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" + }, + "ExitReason": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } }, - "DelegationStorageVersion": { + "ExitRevert": { "_enum": [ - "V1", - "V2" + "Reverted" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" + }, + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolIdV0": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "DidEncryptionKey": { + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] + }, + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] + }, + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_enum": { - "X25519": "[u8; 32]" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidPublicKey": { + "ChangeRatio": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "BalanceInfo": { + "amount": "Balance" }, - "DidSignature": { + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV1", + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1", + "XcmError": "XcmErrorV1", + "Response": "ResponseV1" + } + }, + { + "minmax": [ + 1019, + null + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "FtpUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BalanceRequest": { + "amount": "Balance" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ExitReason": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitError": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "ContentType": { + "ExitRevert": { "_enum": [ - "application/json", - "application/ld+json" + "Reverted" ] }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "DidEncryptionKey": { + "PoolIdV0": { "_enum": { - "X25519": "[u8; 32]" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Position": { + "collateral": "Balance", + "debit": "Balance" + }, + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" + }, + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "DidVerificationKeyRelationship": { + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" + }, + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" + }, + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DidError": { + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] + }, + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "StorageError": { + "ChangeRatio": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "SignatureError": { + "BalanceInfo": { + "amount": "Balance" + }, + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress" + } + } + ], + "alias": { + "stakingPool": { + "Phase": "StakingPoolPhase" + }, + "nomineesElection": { + "UnlockChunk": "HomaUnlockChunk" + }, + "evm": { + "AccountInfo": "EvmAccountInfo", + "ContractInfo": "EvmContractInfo" + }, + "rewards": { + "OrmlCurrencyId": "CurrencyId" + }, + "oracle": { + "DataProviderId": "AcalaDataProviderId" + }, + "chainBridge": { + "ChainId": "ChainBridgeChainId" + } + } + }, + "karura": { + "rpc": { + "dex": { + "getSupplyAmount": { + "description": "Get supply amount", + "params": [ + { + "name": "supplyCurrencyId", + "type": "CurrencyId" + }, + { + "name": "targetCurrencyId", + "type": "CurrencyId" + }, + { + "name": "targetCurrencyAmount", + "type": "BalanceRequest" + } + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "dex_getSupplyAmount", + "method": "getSupplyAmount", + "section": "dex" + }, + "getTargetAmount": { + "description": "Get target amount", + "params": [ + { + "name": "supplyCurrencyId", + "type": "CurrencyId" + }, + { + "name": "targetCurrencyId", + "type": "CurrencyId" + }, + { + "name": "supplyCurrencyAmount", + "type": "BalanceRequest" + } + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "dex_getTargetAmount", + "method": "getTargetAmount", + "section": "dex" + } + }, + "evm": { + "call": { + "description": "eth call", + "params": [ + { + "name": "data", + "type": "CallRequest" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Raw", + "isSubscription": false, + "jsonrpc": "evm_call", + "method": "call", + "section": "evm" + }, + "estimateResources": { + "description": "eth estimateResources", + "params": [ + { + "name": "from", + "type": "H160" + }, + { + "name": "unsignedExtrinsic", + "type": "Bytes" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "EstimateResourcesResponse", + "isSubscription": false, + "jsonrpc": "evm_estimateResources", + "method": "estimateResources", + "section": "evm" + } + }, + "stakingPool": { + "getAvailableUnbonded": { + "description": "Get Available Unbonded", + "params": [ + { + "name": "account", + "type": "AccountId" + } + ], + "type": "BalanceInfo", + "isSubscription": false, + "jsonrpc": "stakingPool_getAvailableUnbonded", + "method": "getAvailableUnbonded", + "section": "stakingPool" + }, + "getLiquidStakingExchangeRate": { + "description": "get liquid staking exchange rate", + "params": [], + "type": "ExchangeRate", + "isSubscription": false, + "jsonrpc": "stakingPool_getLiquidStakingExchangeRate", + "method": "getLiquidStakingExchangeRate", + "section": "stakingPool" + } + } + }, + "instances": { + "council": [ + "generalCouncil" + ] + }, + "types": [ + { + "minmax": [ + 600, + 699 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "ACA", + "AUSD", + "DOT", + "XBTC", + "LDOT", + "RENBTC" ] }, - "KeyError": { + "DexShare": { + "_enum": { + "Token": "TokenSymbol", + "Erc20": "EvmAddress" + } + }, + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "KAR", + "ACA" ] }, - "UrlError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "IpfsUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "Url": { + "ChangeOptionRatio": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "Stake": { - "owner": "AccountId", + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" + }, + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ExitReason": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "ContentType": { + "ExitSucceed": { "_enum": [ - "application/json", - "application/ld+json" + "Stopped", + "Returned", + "Suicided" ] }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "ExitRevert": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Reverted" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { + "ExitFatal": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidError": { + "PoolId": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "StorageError": { + "PoolIdV0": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "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" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "data": "ClassData" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "DelegationStorageVersion": { + "StakingPoolPhase": { "_enum": [ - "V1", - "V2" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ChangeRate": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ChangeRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "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" - ] + "BalanceInfo": { + "amount": "Balance" }, - "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", + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "LookupSource", + "LookupSource": "IndicesLookupSource" } }, { "minmax": [ - 2700, - 10409 + 700, + 719 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { + "_enum": [ + "ACA", + "AUSD", + "DOT", + "XBTC", + "LDOT", + "RENBTC" + ] }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "DexShare": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidEncryptionKey": { + "CurrencyId": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] }, - "DidVerificationKeyRelationship": { + "AuthoritysOriginId": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "DidSignature": { + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" + }, + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" + }, + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" + }, + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] + }, + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidError": { + "ChangeOptionRatio": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "StorageError": { + "ChangeBalance": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "NoChange": "Null", + "NewValue": "Balance" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "BalanceWrapper": { + "amount": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "BalanceRequest": { + "amount": "Balance" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "ExitReason": { + "_enum": { + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" + } }, - "DelegationStorageVersion": { + "ExitSucceed": { "_enum": [ - "V1", - "V2" + "Stopped", + "Returned", + "Suicided" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ExitError": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitFatal": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" + }, + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { "total": "Balance", - "status": "CandidateStatus" + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "CandidateStatus": { + "PoolId": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "Deposit": { + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } + }, + "Position": { + "collateral": "Balance", + "debit": "Balance" + }, + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10410, - 10719 - ], - "types": { - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" + "data": "TokenData" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "DidEncryptionKey": { + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" + }, + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" + }, + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] + }, + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] + }, + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_enum": { - "X25519": "[u8; 32]" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidPublicKey": { + "ChangeRatio": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "BalanceInfo": { + "amount": "Balance" }, - "DidSignature": { + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress" + } + }, + { + "minmax": [ + 720, + 722 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "XBTC": 4, + "RENBTC": 5, + "POLKABTC": 6, + "PLM": 7, + "PHA": 8, + "HDT": 9, + "BCG": 11, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "SDN": 135, + "KILT": 138 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "Stake": { - "owner": "AccountId", + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } + }, + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } + }, + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } + }, + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" + }, + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" + }, + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" + }, + "ExitReason": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DidStorageVersion": { + "ExitSucceed": { "_enum": [ - "V1", - "V2", - "V3" + "Stopped", + "Returned", + "Suicided" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } + }, + "ExitRevert": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Reverted" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { + "ExitFatal": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "PublicCredentialFilter": { + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" + }, + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" + }, + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "PublicCredentialError": { + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } + }, + "Position": { + "collateral": "Balance", + "debit": "Balance" + }, + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" + }, + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } + }, + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" + }, + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" + }, + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "InvalidSubjectId" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - 11199 - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "PublicCredentialError": { + "StakingPoolPhase": { "_enum": [ - "InvalidSubjectId" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "Rate" + } + }, + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } + }, + "BalanceInfo": { + "amount": "Balance" + }, + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" } }, { "minmax": [ - 11200, - null + 723, + 729 ], "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { + "_enum": { + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "XBTC": 4, + "RENBTC": 5, + "POLKABTC": 6, + "PLM": 7, + "PHA": 8, + "HDT": 9, + "BCG": 11, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "SDN": 135, + "KILT": 138 + } }, - "PublicCredentialFilter": { + "DexShare": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "PublicCredentialError": { + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSubjectId" + "KAR", + "ACA" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] }, - "IdentityCommitmentVersion": "u16", - "DipProofRequest": { - "identifier": "AccountId32", - "version": "IdentityCommitmentVersion", - "proofKeys": "Vec", - "accounts": "Vec", - "shouldIncludeWeb3Name": "bool" + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] }, - "CompleteMerkleProof": { - "root": "MerkleRoot", - "proof": "MerkleProof" + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "MerkleRoot": "Hash", - "MerkleProof": { - "blinded": "BlindedLeaves", - "revealed": "RevealedLeaves" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "BlindedLeaves": "Vec", - "BlindedValue": "Bytes", - "RevealedLeaves": "Vec", - "RevealedLeaf": { + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" + }, + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] + }, + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "DidKey": "RevealedDidKey", - "Web3Name": "RevealedWeb3Name", - "LinkedAccount": "RevealedAccountId" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "RevealedDidKey": { - "id": "Hash", - "relationship": "KeyRelationship", - "details": "DidDidDetailsDidPublicKeyDetails" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "KeyRelationship": { + "ChangeBalance": { "_enum": { - "Encryption": "Null", - "Verification": "VerificationRelationship" + "NoChange": "Null", + "NewValue": "Balance" } }, - "VerificationRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "RevealedWeb3Name": { - "web3Name": "Text", - "claimedAt": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RuntimeApiDipProofError": { + "BalanceWrapper": { + "amount": "Balance" + }, + "BalanceRequest": { + "amount": "Balance" + }, + "TradingPairStatus": { "_enum": { - "IdentityProvider": "LinkedDidIdentityProviderError", - "MerkleProof": "DidMerkleProofError" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LinkedDidIdentityProviderError": { + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" + }, + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" + }, + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" + }, + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" + }, + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" + }, + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" + }, + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" + }, + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" + }, + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" + }, + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" + }, + "ExitReason": { + "_enum": { + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" + } + }, + "ExitSucceed": { "_enum": [ - "DidNotFound", - "DidDeleted", - "Internal" + "Stopped", + "Returned", + "Suicided" ] }, - "DidIdentityProviderError": { + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } + }, + "ExitRevert": { "_enum": [ - "DidNotFound", - "Internal" + "Reverted" ] }, - "DidMerkleProofError": { - "_enum": [ - "UnsupportedVersion", - "KeyNotFound", - "LinkedAccountNotFound", - "Web3NameNotFound", - "Internal" - ] - } - } - } - ] - }, - "KILT Peregrine Stagenet": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "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" - } + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "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" - } + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "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" - } + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "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" - } + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "version": 1 - } - ], - "DipProvider": [ - { - "methods": { - "generate_proof": { - "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", - "params": [ - { - "name": "request", - "type": "DipProofRequest" - } - ], - "type": "Result" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" + "data": "TokenData" }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } + }, + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" + }, + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" + }, + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "revoked": "bool" + "data": "ClassData" }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "ChainId": { - "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" - } + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { - "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 - } + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "XcmError": { + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] + }, + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_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 + "NoChange": "Null", + "NewValue": "Rate" } }, - "ReferendumInfo": { + "ChangeRatio": { "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" + "NoChange": "Null", + "NewValue": "Ratio" } + }, + "BalanceInfo": { + "amount": "Balance" + }, + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" } } }, { "minmax": [ - 9, - 9 + 730, + 1007 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 4, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "CASH": 140 } }, - "DidEncryptionKey": { + "DexShare": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidPublicKey": { + "CurrencyId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "DidVerificationKeyRelationship": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "KAR", + "ACA" ] }, - "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": { + "AuthoritysOriginId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "KeyError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Aggregated", + "Acala", + "Band" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "DidVerificationKeyUpdateAction": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "HttpUrl": { - "payload": "Text" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "FtpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "IpfsUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "Url": { + "BalanceRequest": { + "amount": "Balance" + }, + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10, - 11 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "StorageError": { + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" + }, + "ExitReason": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { + "ExitSucceed": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Stopped", + "Returned", + "Suicided" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } }, - "InputError": { + "ExitRevert": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Reverted" ] }, - "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": { + "ExitFatal": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "HttpUrl": { - "payload": "Text" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "FtpUrl": { - "payload": "Text" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "IpfsUrl": { - "payload": "Text" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "Url": { + "PoolId": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "OrderedSet": "Vec", - "Stake": { + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "data": "TokenData" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "BondingLedger": { "total": "Balance", - "state": "CollatorStatus" + "active": "Balance", + "unlocking": "Vec" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "DidEncryptionKey": { + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_enum": { - "X25519": "[u8; 32]" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidPublicKey": { + "ChangeRatio": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "BalanceInfo": { + "amount": "Balance" }, - "DidSignature": { + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + } + } + }, + { + "minmax": [ + 1008, + 1008 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "DidVerificationKeyUpdateAction": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BalanceRequest": { + "amount": "Balance" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } - } - }, - { - "minmax": [ - 17, - 17 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DidPublicKey": { + "ExitReason": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DidVerificationKeyRelationship": { + "ExitSucceed": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Stopped", + "Returned", + "Suicided" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { + "ExitError": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { + "ExitRevert": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Reverted" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidVerificationKeyUpdateAction": { + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "FtpUrl": { - "payload": "Text" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "OrderedSet": "Vec", - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" + "data": "ClassData" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "CollatorStatus": { + "ChangeRate": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "BalanceInfo": { + "amount": "Balance" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" } } }, { "minmax": [ - 18, - 18 + 1008, + 1009 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidEncryptionKey": { + "DexShare": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidPublicKey": { + "CurrencyId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "DidVerificationKeyRelationship": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "KAR", + "ACA" ] }, - "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": { + "AuthoritysOriginId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "KeyError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Aggregated", + "Acala", + "Band" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "InputError": { + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" + }, + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" + }, + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "LiquidationStrategy": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Auction", + "Exchange" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { + "ChangeOptionRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "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" + "BalanceRequest": { + "amount": "Balance" }, - "CollatorStatus": { + "TradingPairStatus": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DidPublicKey": { + "ExitReason": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DidVerificationKeyRelationship": { + "ExitSucceed": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Stopped", + "Returned", + "Suicided" ] }, - "DidSignature": { + "ExitError": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" } }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "ExitRevert": { + "_enum": [ + "Reverted" + ] }, - "StorageError": { + "ExitFatal": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "PoolId": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "HttpUrl": { - "payload": "Text" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "FtpUrl": { - "payload": "Text" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "OrderedSet": "Vec", - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" + "data": "ClassData" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "CollatorStatus": { + "ChangeRate": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "BalanceInfo": { + "amount": "Balance" }, - "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" - ] + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" } } }, { "minmax": [ - 20, - 20 + 1010, + 1013 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidEncryptionKey": { + "DexShare": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidPublicKey": { + "CurrencyId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "DidVerificationKeyRelationship": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "KAR", + "ACA" ] }, - "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": { + "AuthoritysOriginId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "KeyError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Aggregated", + "Acala", + "Band" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "InputError": { + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" + }, + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" + }, + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "LiquidationStrategy": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Auction", + "Exchange" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "HttpUrl": { - "payload": "Text" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "FtpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "IpfsUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "Url": { + "BalanceRequest": { + "amount": "Balance" + }, + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "CollatorStatus": { + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" + }, + "ExitReason": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } }, - "DelegationStorageVersion": { + "ExitRevert": { "_enum": [ - "V1", - "V2" + "Reverted" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" + }, + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolIdV0": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } + }, + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" + }, + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" + }, + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidEncryptionKey": { + "ChangeRate": { "_enum": { - "X25519": "[u8; 32]" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidPublicKey": { + "ChangeRatio": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "BalanceInfo": { + "amount": "Balance" }, - "DidSignature": { + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1014, + 1018 + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "FtpUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "BalanceRequest": { + "amount": "Balance" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ExitReason": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { + "ExitSucceed": { "_enum": [ - "V1", - "V2" + "Stopped", + "Returned", + "Suicided" ] }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } + }, + "ExitRevert": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" + "Reverted" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" + }, + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "DidEncryptionKey": { + "PoolIdV0": { "_enum": { - "X25519": "[u8; 32]" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Position": { + "collateral": "Balance", + "debit": "Balance" + }, + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" + }, + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "DidVerificationKeyRelationship": { + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" + }, + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" + }, + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "DidSignature": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] + }, + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidError": { + "ChangeRatio": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "StorageError": { + "BalanceInfo": { + "amount": "Balance" + }, + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "CompactAssignments": "CompactAssignmentsWith16", + "DispatchErrorModule": "DispatchErrorModuleU8", + "RawSolution": "RawSolutionWith16", + "Weight": "WeightV1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV1", + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1", + "XcmError": "XcmErrorV1", + "Response": "ResponseV1" + } + }, + { + "minmax": [ + 1019, + null + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "DexShare": { + "_enum": { + "Token": "TokenSymbol", + "Erc20": "EvmAddress" + } }, - "KeyError": { + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCrowdloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "KAR", + "ACA" ] }, - "UrlError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "TradingPair": "(CurrencyId, CurrencyId)", + "OrmlCurrencyId": "CurrencyId", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "IpfsUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "Url": { + "ChangeOptionRatio": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "Stake": { - "owner": "AccountId", + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" + }, + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "BlockLimits": { + "maxGasLimit": "u64", + "maxStorageLimit": "u32" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "CallInfo": { + "exit_reason": "ExitReason", + "value": "Vec", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "CreateInfo": { + "exit_reason": "ExitReason", + "value": "H160", + "used_gas": "U256", + "used_storage": "i32", + "logs": "Vec" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "EthereumLog": { + "address": "H160", + "topics": "Vec", + "data": "Bytes" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ExitReason": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Succeed": "ExitSucceed", + "Error": "ExitError", + "Revert": "ExitRevert", + "Fatal": "ExitFatal" } }, - "ContentType": { + "ExitSucceed": { "_enum": [ - "application/json", - "application/ld+json" + "Stopped", + "Returned", + "Suicided" ] }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "ExitError": { + "_enum": { + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text", + "InvalidCode": "u8" + } }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "ExitRevert": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Reverted" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { + "ExitFatal": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidError": { + "PoolId": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "StorageError": { + "PoolIdV0": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "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" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "data": "ClassData" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "DelegationStorageVersion": { + "StakingPoolPhase": { "_enum": [ - "V1", - "V2" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ChangeRate": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ChangeRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "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" - ] + "BalanceInfo": { + "amount": "Balance" }, - "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", + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress" } + } + ], + "alias": { + "stakingPool": { + "Phase": "StakingPoolPhase" }, - { - "minmax": [ - 2700, - 10409 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } + "nomineesElection": { + "UnlockChunk": "HomaUnlockChunk" + }, + "evm": { + "AccountInfo": "EvmAccountInfo", + "ContractInfo": "EvmContractInfo" + }, + "rewards": { + "OrmlCurrencyId": "CurrencyId" }, + "oracle": { + "DataProviderId": "AcalaDataProviderId" + }, + "chainBridge": { + "ChainId": "ChainBridgeChainId" + } + } + }, + "ajuna": { + "types": [ { "minmax": [ - 10410, - 10719 + 0, + null ], "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" + "LookupSource": "MultiAddress" + } + } + ] + }, + "altair": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "ParachainAccountIdOf": "AccountId", + "Proof": { + "leafHash": "Hash", + "sortedHashes": "Vec" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "_Staking", + "NonProxy" + ] }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "RelayChainAccountId": "AccountId", + "RootHashOf": "Hash" + } + } + ] + }, + "amplitude": { + "rpc": { + "issue": { + "getIssueRequests": { + "description": "Get all issue requests for a particular account", + "params": [ + { + "name": "accountId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "issue_getIssueRequests", + "method": "getIssueRequests", + "section": "issue" + }, + "getVaultIssueRequests": { + "description": "Get all issue requests for a particular vault", + "params": [ + { + "name": "vaultId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "issue_getVaultIssueRequests", + "method": "getVaultIssueRequests", + "section": "issue" + } + }, + "redeem": { + "getRedeemRequests": { + "description": "Get all redeem requests for a particular account", + "params": [ + { + "name": "accountId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "redeem_getRedeemRequests", + "method": "getRedeemRequests", + "section": "redeem" + }, + "getVaultRedeemRequests": { + "description": "Get all redeem requests for a particular vault", + "params": [ + { + "name": "vaultId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "redeem_getVaultRedeemRequests", + "method": "getVaultRedeemRequests", + "section": "redeem" + } + }, + "replace": { + "getOldVaultReplaceRequests": { + "description": "Get all replace requests from a particular vault", + "params": [ + { + "name": "accountId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "replace_getOldVaultReplaceRequests", + "method": "getOldVaultReplaceRequests", + "section": "replace" + }, + "getNewVaultReplaceRequests": { + "description": "Get all replace requests to a particular vault", + "params": [ + { + "name": "vaultId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - 11199 - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "replace_getNewVaultReplaceRequests", + "method": "getNewVaultReplaceRequests", + "section": "replace" } }, - { - "minmax": [ - 11200, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - }, - "IdentityCommitmentVersion": "u16", - "DipProofRequest": { - "identifier": "AccountId32", - "version": "IdentityCommitmentVersion", - "proofKeys": "Vec", - "accounts": "Vec", - "shouldIncludeWeb3Name": "bool" - }, - "CompleteMerkleProof": { - "root": "MerkleRoot", - "proof": "MerkleProof" - }, - "MerkleRoot": "Hash", - "MerkleProof": { - "blinded": "BlindedLeaves", - "revealed": "RevealedLeaves" - }, - "BlindedLeaves": "Vec", - "BlindedValue": "Bytes", - "RevealedLeaves": "Vec", - "RevealedLeaf": { - "_enum": { - "DidKey": "RevealedDidKey", - "Web3Name": "RevealedWeb3Name", - "LinkedAccount": "RevealedAccountId" - } - }, - "RevealedDidKey": { - "id": "Hash", - "relationship": "KeyRelationship", - "details": "DidDidDetailsDidPublicKeyDetails" - }, - "KeyRelationship": { - "_enum": { - "Encryption": "Null", - "Verification": "VerificationRelationship" - } - }, - "VerificationRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "RevealedWeb3Name": { - "web3Name": "Text", - "claimedAt": "BlockNumber" - }, - "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RuntimeApiDipProofError": { - "_enum": { - "IdentityProvider": "LinkedDidIdentityProviderError", - "MerkleProof": "DidMerkleProofError" - } - }, - "LinkedDidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "DidDeleted", - "Internal" - ] - }, - "DidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "Internal" - ] - }, - "DidMerkleProofError": { - "_enum": [ - "UnsupportedVersion", - "KeyNotFound", - "LinkedAccountNotFound", - "Web3NameNotFound", - "Internal" - ] - } - } - } - ] - }, - "KILT Spiritnet": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" + "oracle": { + "currencyToUsd": { + "description": "Get the USD value of a currency", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" }, - "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" + { + "name": "currencyId", + "type": "SpacewalkPrimitivesCurrencyId" }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "version": 1 + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "oracle_currencyToUsd", + "method": "currencyToUsd", + "section": "oracle" }, - { - "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" + "usdToCurrency": { + "description": "Get the currency value of a USD amount", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" }, - "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" + { + "name": "currencyId", + "type": "SpacewalkPrimitivesCurrencyId" }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "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" + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "oracle_usdToCurrency", + "method": "usdToCurrency", + "section": "oracle" + }, + "getExchangeRate": { + "description": "Get the exchange rate of the given currencyId to USD", + "params": [ + { + "name": "currencyId", + "type": "SpacewalkPrimitivesCurrencyId" }, - "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" + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "UnsignedFixedPoint", + "isSubscription": false, + "jsonrpc": "oracle_getExchangeRate", + "method": "getExchangeRate", + "section": "oracle" + } + }, + "vaultRegistry": { + "getVaultCollateral": { + "description": "Get the vault's collateral (excluding nomination)", + "params": [ + { + "name": "vaultId", + "type": "SpacewalkPrimitivesVaultId" }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "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" + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getVaultCollateral", + "method": "getVaultCollateral", + "section": "vaultRegistry" + }, + "getVaultsByAccountId": { + "description": "Get all the vaultIds registered by a vault's accountId", + "params": [ + { + "name": "accountId", + "type": "AccountId" }, - "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" + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getVaultsByAccountId", + "method": "getVaultsByAccountId", + "section": "vaultRegistry" + }, + "getVaultTotalCollateral": { + "description": "Get the vault's collateral (including nomination)", + "params": [ + { + "name": "vaultId", + "type": "SpacewalkPrimitivesVaultId" }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "version": 2 - } - ], - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getVaultTotalCollateral", + "method": "getVaultTotalCollateral", + "section": "vaultRegistry" + }, + "getPremiumRedeemVaults": { + "description": "Get all vaults below the premium redeem threshold, ordered in descending order of this amount", + "params": [ + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Vec<(SpacewalkPrimitivesVaultId, BalanceWrapper)>", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getPremiumRedeemVaults", + "method": "getPremiumRedeemVaults", + "section": "vaultRegistry" + }, + "getVaultsWithIssuableTokens": { + "description": "Get all vaults with non-zero issuable tokens, ordered in descending order of this amount", + "params": [ + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Vec<(SpacewalkPrimitivesVaultId, BalanceWrapper)>", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getVaultsWithIssuableTokens", + "method": "getVaultsWithIssuableTokens", + "section": "vaultRegistry" + }, + "getVaultsWithRedeemableTokens": { + "description": "Get all vaults with non-zero redeemable tokens, ordered in descending order of this amount", + "params": [ + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Vec<(SpacewalkPrimitivesVaultId, BalanceWrapper)>", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getVaultsWithRedeemableTokens", + "method": "getVaultsWithRedeemableTokens", + "section": "vaultRegistry" + }, + "getIssueableTokensFromVault": { + "description": "Get the amount of tokens a vault can issue", + "params": [ + { + "name": "vaultId", + "type": "SpacewalkPrimitivesVaultId" }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getIssueableTokensFromVault", + "method": "getIssueableTokensFromVault", + "section": "vaultRegistry" + }, + "getCollateralizationFromVault": { + "description": "Get the collateralization rate of a vault", + "params": [ + { + "name": "vaultId", + "type": "SpacewalkPrimitivesVaultId" }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" + { + "name": "onlyIssued", + "type": "bool" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "version": 1 + ], + "type": "FixedU128", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getCollateralizationFromVault", + "method": "getCollateralizationFromVault", + "section": "vaultRegistry" + }, + "getCollateralizationFromVaultAndCollateral": { + "description": "Get the collateralization rate of a vault and collateral", + "params": [ + { + "name": "vaultId", + "type": "SpacewalkPrimitivesVaultId" + }, + { + "name": "collateral", + "type": "BalanceWrapper" + }, + { + "name": "onlyIssued", + "type": "bool" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "FixedU128", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getCollateralizationFromVaultAndCollateral", + "method": "getCollateralizationFromVaultAndCollateral", + "section": "vaultRegistry" + }, + "getRequiredCollateralForWrapped": { + "description": "Get the minimum amount of collateral required for the given amount of token with the current threshold and exchange rate", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" + }, + { + "name": "currencyId", + "type": "SpacewalkPrimitivesCurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getRequiredCollateralForWrapped", + "method": "getRequiredCollateralForWrapped", + "section": "vaultRegistry" + }, + "getRequiredCollateralForVault": { + "description": "Get the amount of collateral required for the given vault to be at the current SecureCollateralThreshold with the current exchange rate", + "params": [ + { + "name": "vaultId", + "type": "SpacewalkPrimitivesVaultId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getRequiredCollateralForVault", + "method": "getRequiredCollateralForVault", + "section": "vaultRegistry" } - ], - "DipProvider": [ - { - "methods": { - "generate_proof": { - "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", - "params": [ - { - "name": "request", - "type": "DipProofRequest" - } - ], - "type": "Result" + }, + "farming": { + "getFarmingRewards": { + "description": "Get farming rewards", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "version": 1 + ], + "type": "Vec<(SpacewalkPrimitivesCurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "farming_getFarmingRewards", + "method": "getFarmingRewards", + "section": "farming" + }, + "getGaugeRewards": { + "description": "Get gauge rewards", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec<(SpacewalkPrimitivesCurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "farming_getGaugeRewards", + "method": "getGaugeRewards", + "section": "farming" } + } + }, + "instances": { + "council": [ + "generalCouncil" ] }, "types": [ { "minmax": [ 0, - 8 + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" - }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" - }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" - }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" - }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" + "OracleKey": {}, + "CurrencyId": {}, + "NumberOrHex": "u128", + "BalanceWrapper": { + "amount": "String" }, - "ChainId": { + "UnsignedFixedPoint": "u128", + "SpacewalkPrimitivesCurrencyId": { "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" + "Native": "Null", + "XCM": "u8", + "Stellar": "SpacewalkPrimitivesAsset", + "ZenlinkLPToken": "(u8,u8,u8,u8)" } }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { + "SpacewalkPrimitivesAsset": { "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 + "StellarNative": "Null", + "AlphaNum4": { + "code": "[u8;4]", + "issuer": "[u8;32]" + }, + "AlphaNum12": { + "code": "[u8;12]", + "issuer": "[u8;32]" + } } }, - "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 - } + "SpacewalkPrimitivesVaultId": { + "accountId": "AccountId32", + "currencies": "SpacewalkPrimitivesVaultCurrencyPair" }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } + "SpacewalkPrimitivesVaultCurrencyPair": { + "collateral": "SpacewalkPrimitivesCurrencyId", + "wrapped": "SpacewalkPrimitivesCurrencyId" + }, + "PoolId": "u32" } - }, + } + ], + "alias": {} + }, + "apron": { + "types": [ { "minmax": [ - 9, - 9 + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId" + } + } + ] + }, + "ares-gladios": { + "types": [ + { + "minmax": [ + 0, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "AskPeriodNum": "u64", + "AskPointNum": "u32", + "AuthorityAres": "AccountId", + "AccountParticipateEstimates": { + "account": "AccountId", + "end": "BlockNumber", + "estimates": "Option", + "range_index": "Option", + "bsc_address": "Option", + "multiplier": "MultiplierOption", + "reward": "u128" }, - "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]" - } + "AresPriceData": { + "price": "u64", + "account_id": "AccountId", + "create_bn": "BlockNumber", + "fraction_len": "FractionLength", + "raw_number": "JsonNumberValue", + "timestamp": "u64" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "BalanceOf": "Balance", + "ChooseWinnersPayload": { + "block_number": "BlockNumber", + "winners": "Vec", + "public": "AccountId", + "estimates_id": "u64", + "symbol": "Bytes", + "price": "(u64, FractionLength)" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "EstimatesState": { + "_enum": [ + "InActive", + "Active", + "WaitingPayout", + "Completed" + ] }, - "DidVerificationKeyRelationship": { + "EstimatesType": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "DEVIATION", + "RANGE" ] }, - "DidSignature": { + "FractionLength": "u32", + "HttpError": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" + "IoErr": "Bytes", + "TimeOut": "Bytes", + "StatusErr": "(Bytes,u16)", + "ParseErr": "Bytes" } }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" - } + "HttpErrTracePayload": { + "trace_data": "HttpErrTraceData", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } + "HttpErrTraceData": { + "block_number": "BlockNumber", + "err_auth": "AuthorityId", + "err_status": "HttpError", + "tip": "Bytes" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "JsonNumberValue": { + "integer": "u64", + "fraction": "u64", + "fraction_length": "u32", + "exponent": "u32" }, - "KeyError": { + "Keys": "SessionKeys3", + "LookupSource": "MultiAddress", + "MultiplierOption": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Base1", + "Base2", + "Base5" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "OcwControlData": { + "need_verifier_check": "bool", + "open_free_price_reporter": "bool", + "open_paid_price_reporter": "bool" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "OffchainSignature": "MultiSignature", + "PaidValue": { + "create_bn": "BlockNumber", + "amount": "BalanceOf", + "is_income": "bool" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "PurchasedId": "Bytes", + "PriceKey": "Vec", + "PriceToken": "Bytes", + "PreCheckPayload": { + "block_number": "BlockNumber", + "pre_check_stash": "AccountId", + "pre_check_auth": "AuthorityId", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "PreCheckResultPayload": { + "block_number": "BlockNumber", + "pre_check_list": "Vec", + "pre_check_stash": "AccountId", + "pre_check_auth": "AuthorityId", + "public": "MultiSigner" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "PreCheckCompareLog": { + "chain_avg_price_list": "BTreeMap", + "validator_up_price_list": "BTreeMap", + "raw_precheck_list": "Vec" }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "PreCheckStruct": { + "price_key": "Vec", + "number_val": "JsonNumberValue", + "max_offset": "Percent", + "timestamp": "u64" }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", + "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", + "PricePayload": { + "block_number": "BlockNumber", + "price": "Vec", + "jump_block": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "PreCheckStatus": { + "_enum": [ + "Review", + "Prohibit", + "Pass" + ] }, - "HttpUrl": { - "payload": "Text" + "PurchasedRequestData": { + "account_id": "AccountId", + "offer": "BalanceOf", + "create_bn": "BlockNumber", + "submit_threshold": "u8", + "max_duration": "u64", + "request_keys": "Vec>" }, - "FtpUrl": { - "payload": "Text" + "PurchasedPricePayload": { + "block_number": "BlockNumber", + "purchase_id": "Vec", + "price": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "IpfsUrl": { - "payload": "Text" + "PurchasedAvgPriceData": { + "create_bn": "u64", + "reached_type": "u8", + "price_data": "(u64, FractionLength)" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } + "PurchasedDefaultData": { + "submit_threshold": "u8", + "max_duration": "u64", + "avg_keep_duration": "u64" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "PurchasedForceCleanPayload": { + "BlockNumber": "BlockNumber", + "purchase_id_list": "Vec>", + "auth": "AuthorityId", + "public": "MultiSigner" + }, + "PurchaseId": "Vec", + "Releases": { + "_enum": [ + "V1_0_0_Ancestral", + "V1_0_1_HttpErrUpgrade", + "V1_1_0_HttpErrUpgrade", + "V1_2_0" + ] + }, + "RequestInterval": "u8", + "StatusErr": "(u16)", + "SymbolEstimatesConfig": { + "symbol": "Bytes", + "estimates_type": "EstimatesType", + "id": "u64", + "ticket_price": "Balance", + "symbol_completed_price": "u64", + "symbol_fraction": "FractionLength", + "start": "BlockNumber", + "end": "BlockNumber", + "distribute": "BlockNumber", + "deviation": "Option", + "range": "Option>", + "total_reward": "Balance", + "state": "EstimatesState" } } - }, + } + ] + }, + "ares-mars": { + "types": [ { "minmax": [ - 10, - 11 + 0, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } + "AskPeriodNum": "u64", + "AskPointNum": "u32", + "AuthorityAres": "AccountId", + "AccountParticipateEstimates": { + "account": "AccountId", + "end": "BlockNumber", + "estimates": "Option", + "range_index": "Option", + "eth_address": "Option", + "multiplier": "MultiplierOption", + "reward": "u128" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "AresPriceData": { + "price": "u64", + "account_id": "AccountId", + "create_bn": "BlockNumber", + "fraction_len": "FractionLength", + "raw_number": "JsonNumberValue", + "timestamp": "u64" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "BalanceOf": "Balance", + "ChooseWinnersPayload": { + "block_number": "BlockNumber", + "winners": "Vec", + "public": "AccountId", + "estimates_config": "Bytes", + "symbol": "Bytes", + "price": "(u64, FractionLength)" }, - "DidVerificationKeyRelationship": { + "EstimatesState": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "InActive", + "Active", + "WaitingPayout", + "Completed" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "EstimatesType": { + "_enum": [ + "DEVIATION", + "RANGE" + ] }, - "DidError": { + "FractionLength": "u32", + "HttpError": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "IoErr": "Bytes", + "TimeOut": "Bytes", + "StatusErr": "(Bytes,u16)", + "ParseErr": "Bytes" } }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } + "HttpErrTracePayload": { + "trace_data": "HttpErrTraceData", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "HttpErrTraceData": { + "block_number": "BlockNumber", + "err_auth": "AuthorityId", + "err_status": "HttpError", + "tip": "Bytes" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "JsonNumberValue": { + "integer": "u64", + "fraction": "u64", + "fraction_length": "u32", + "exponent": "u32" }, - "UrlError": { + "Keys": "SessionKeys4", + "LookupSource": "MultiAddress", + "MultiplierOption": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Base1", + "Base2", + "Base5" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "OcwControlData": { + "need_verifier_check": "bool", + "open_free_price_reporter": "bool", + "open_paid_price_reporter": "bool" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "OffchainSignature": "MultiSignature", + "PaidValue": { + "create_bn": "BlockNumber", + "amount": "BalanceOf", + "is_income": "bool" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "PurchasedId": "Bytes", + "PriceKey": "Vec", + "PriceToken": "Bytes", + "PreCheckPayload": { + "block_number": "BlockNumber", + "pre_check_stash": "AccountId", + "pre_check_auth": "AuthorityId", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "PreCheckResultPayload": { + "block_number": "BlockNumber", + "pre_check_list": "Vec", + "pre_check_stash": "AccountId", + "pre_check_auth": "AuthorityId", + "public": "MultiSigner" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "PreCheckCompareLog": { + "chain_avg_price_list": "BTreeMap", + "validator_up_price_list": "BTreeMap", + "raw_precheck_list": "Vec" }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "PreCheckStruct": { + "price_key": "Vec", + "number_val": "JsonNumberValue", + "max_offset": "Percent", + "timestamp": "u64" }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", + "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", + "PricePayload": { + "block_number": "BlockNumber", + "price": "Vec", + "jump_block": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "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" + "PreCheckStatus": { + "_enum": [ + "Review", + "Prohibit", + "Pass" + ] }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "PurchasedRequestData": { + "account_id": "AccountId", + "offer": "BalanceOf", + "create_bn": "BlockNumber", + "submit_threshold": "u8", + "max_duration": "u64", + "request_keys": "Vec>" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "PurchasedPricePayload": { + "block_number": "BlockNumber", + "purchase_id": "Vec", + "price": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "PurchasedAvgPriceData": { + "create_bn": "u64", + "reached_type": "u8", + "price_data": "(u64, FractionLength)" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "PurchasedDefaultData": { + "submit_threshold": "u8", + "max_duration": "u64", + "avg_keep_duration": "u64" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "PurchasedForceCleanPayload": { + "BlockNumber": "BlockNumber", + "purchase_id_list": "Vec>", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "PurchaseId": "Vec", + "Releases": { + "_enum": [ + "V1_0_0_Ancestral", + "V1_0_1_HttpErrUpgrade", + "V1_1_0_HttpErrUpgrade", + "V1_2_0" + ] }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "RequestInterval": "u8", + "StatusErr": "(u16)", + "SymbolEstimatesConfig": { + "symbol": "Bytes", + "estimates_type": "EstimatesType", + "id": "u64", + "ticket_price": "Balance", + "symbol_completed_price": "u64", + "symbol_fraction": "FractionLength", + "start": "BlockNumber", + "end": "BlockNumber", + "distribute": "BlockNumber", + "deviation": "Option", + "range": "Option>", + "total_reward": "Balance", + "state": "EstimatesState" } } - }, + } + ] + }, + "ares-odyssey": { + "types": [ { "minmax": [ - 12, - 16 + 0, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "AskPeriodNum": "u64", + "AskPointNum": "u32", + "AuthorityAres": "AccountId", + "AccountParticipateEstimates": { + "account": "AccountId", + "end": "BlockNumber", + "estimates": "Option", + "range_index": "Option", + "eth_address": "Option", + "multiplier": "MultiplierOption", + "reward": "u128" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "AresPriceData": { + "price": "u64", + "account_id": "AccountId", + "create_bn": "BlockNumber", + "fraction_len": "FractionLength", + "raw_number": "JsonNumberValue", + "timestamp": "u64" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "BalanceOf": "Balance", + "ChooseWinnersPayload": { + "block_number": "BlockNumber", + "winners": "Vec", + "public": "AccountId", + "estimates_config": "Bytes", + "symbol": "Bytes", + "price": "(u64, FractionLength)" }, - "DidVerificationKeyRelationship": { + "EstimatesState": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "InActive", + "Active", + "WaitingPayout", + "Completed" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "EstimatesType": { + "_enum": [ + "DEVIATION", + "RANGE" + ] }, - "StorageError": { + "FractionLength": "u32", + "HttpError": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "IoErr": "Bytes", + "TimeOut": "Bytes", + "StatusErr": "(Bytes,u16)", + "ParseErr": "Bytes" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "HttpErrTracePayload": { + "trace_data": "HttpErrTraceData", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "HttpErrTraceData": { + "block_number": "BlockNumber", + "err_auth": "AuthorityId", + "err_status": "HttpError", + "tip": "Bytes" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "JsonNumberValue": { + "integer": "u64", + "fraction": "u64", + "fraction_length": "u32", + "exponent": "u32" }, - "InputError": { + "Keys": "SessionKeys4", + "LookupSource": "MultiAddress", + "MultiplierOption": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Base1", + "Base2", + "Base5" ] }, - "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" + "OcwControlData": { + "need_verifier_check": "bool", + "open_free_price_reporter": "bool", + "open_paid_price_reporter": "bool" }, - "IpfsUrl": { - "payload": "Text" + "OffchainSignature": "MultiSignature", + "PaidValue": { + "create_bn": "BlockNumber", + "amount": "BalanceOf", + "is_income": "bool" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } + "PurchasedId": "Bytes", + "PriceKey": "Vec", + "PriceToken": "Bytes", + "PreCheckPayload": { + "block_number": "BlockNumber", + "pre_check_stash": "AccountId", + "pre_check_auth": "AuthorityId", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "PreCheckResultPayload": { + "block_number": "BlockNumber", + "pre_check_list": "Vec", + "pre_check_stash": "AccountId", + "pre_check_auth": "AuthorityId", + "public": "MultiSigner" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "PreCheckCompareLog": { + "chain_avg_price_list": "BTreeMap", + "validator_up_price_list": "BTreeMap", + "raw_precheck_list": "Vec" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "PreCheckStruct": { + "price_key": "Vec", + "number_val": "JsonNumberValue", + "max_offset": "Percent", + "timestamp": "u64" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", + "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", + "PricePayload": { + "block_number": "BlockNumber", + "price": "Vec", + "jump_block": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "PreCheckStatus": { + "_enum": [ + "Review", + "Prohibit", + "Pass" + ] }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "PurchasedRequestData": { + "account_id": "AccountId", + "offer": "BalanceOf", + "create_bn": "BlockNumber", + "submit_threshold": "u8", + "max_duration": "u64", + "request_keys": "Vec>" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "PurchasedPricePayload": { + "block_number": "BlockNumber", + "purchase_id": "Vec", + "price": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "PurchasedAvgPriceData": { + "create_bn": "u64", + "reached_type": "u8", + "price_data": "(u64, FractionLength)" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "PurchasedDefaultData": { + "submit_threshold": "u8", + "max_duration": "u64", + "avg_keep_duration": "u64" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "PurchasedForceCleanPayload": { + "BlockNumber": "BlockNumber", + "purchase_id_list": "Vec>", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "PurchaseId": "Vec", + "Releases": { + "_enum": [ + "V1_0_0_Ancestral", + "V1_0_1_HttpErrUpgrade", + "V1_1_0_HttpErrUpgrade", + "V1_2_0" + ] }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "RequestInterval": "u8", + "StatusErr": "(u16)", + "SymbolEstimatesConfig": { + "symbol": "Bytes", + "estimates_type": "EstimatesType", + "id": "u64", + "ticket_price": "Balance", + "symbol_completed_price": "u64", + "symbol_fraction": "FractionLength", + "start": "BlockNumber", + "end": "BlockNumber", + "distribute": "BlockNumber", + "deviation": "Option", + "range": "Option>", + "total_reward": "Balance", + "state": "EstimatesState" } } - }, - { - "minmax": [ - 17, - 17 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + } + ] + }, + "asgard": { + "rpc": { + "oracle": { + "getValue": { + "description": "Retrieves the oracle value for a given key.", + "params": [ + { + "name": "providerId", + "type": "RpcDataProviderId" + }, + { + "name": "key", + "type": "OracleKey" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + ], + "type": "Option", + "isSubscription": false, + "jsonrpc": "oracle_getValue", + "method": "getValue", + "section": "oracle" + }, + "getAllValues": { + "description": "Retrieves all oracle values.", + "params": [ + { + "name": "providerId", + "type": "RpcDataProviderId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + ], + "type": "Vec<(OracleKey, Option)>", + "isSubscription": false, + "jsonrpc": "oracle_getAllValues", + "method": "getAllValues", + "section": "oracle" + } + }, + "farming": { + "getFarmingRewards": { + "description": "Get farming rewards", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + ], + "type": "Vec<(CurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "farming_getFarmingRewards", + "method": "getFarmingRewards", + "section": "farming" + }, + "getGaugeRewards": { + "description": "Get gauge rewards", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "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" + ], + "type": "Vec<(CurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "farming_getGaugeRewards", + "method": "getGaugeRewards", + "section": "farming" + } + }, + "flexibleFee": { + "getFeeTokenAndAmount": { + "description": "Get charging token type and amount in terms of flexible transaction fee.", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "extrinsic", + "type": "Bytes" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "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" + ], + "type": "(CurrencyId, U256)", + "isSubscription": false, + "jsonrpc": "flexibleFee_getFeeTokenAndAmount", + "method": "getFeeTokenAndAmount", + "section": "flexibleFee" + } + }, + "salp": { + "getContribution": { + "description": "salp getContribution", + "params": [ + { + "name": "index", + "type": "ParaId" + }, + { + "name": "who", + "type": "AccountIdOf" } - }, - "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" + ], + "type": "(Balance, ContributionStatus)", + "isSubscription": false, + "jsonrpc": "salp_getContribution", + "method": "getContribution", + "section": "salp" + }, + "getLiteContribution": { + "description": "salp getLiteContribution", + "params": [ + { + "name": "index", + "type": "ParaId" + }, + { + "name": "who", + "type": "AccountIdOf" } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } + ], + "type": "(Balance, ContributionStatus)", + "isSubscription": false, + "jsonrpc": "salp_getLiteContribution", + "method": "getLiteContribution", + "section": "salp" } }, - { - "minmax": [ - 18, - 18 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" + "vtokenMint": { + "getVtokenMintRate": { + "description": "Get current vtoken mint rate.", + "params": [ + { + "name": "asset_id", + "type": "CurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "vtokenMint_getVtokenMintRate", + "method": "getVtokenMintRate", + "section": "vtokenMint" + } + }, + "zenlinkProtocol": { + "getAllAssets": { + "description": "zenlinkProtocol getAllAssets", + "params": [ + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAllAssets", + "method": "getAllAssets", + "section": "zenlinkProtocol" + }, + "getBalance": { + "description": "zenlinkProtocol getBalance", + "params": [ + { + "name": "asset_id", + "type": "ZenlinkAssetId" + }, + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getBalance", + "method": "getBalance", + "section": "zenlinkProtocol" + }, + "getSovereignsInfo": { + "description": "Get the ownership of a certain currency for each parachain.", + "params": [ + { + "name": "asset_id", + "type": "ZenlinkAssetId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "StorageError": { + ], + "type": "(u32, AccountId, String)", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getSovereignsInfo", + "method": "getSovereignsInfo", + "section": "zenlinkProtocol" + }, + "getPairByAssetId": { + "description": "Get the detailed information of a particular exchange pair.", + "params": [ + { + "name": "asset_0", + "type": "ZenlinkAssetId" + }, + { + "name": "asset_1", + "type": "ZenlinkAssetId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "PairInfo", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getPairByAssetId", + "method": "getPairByAssetId", + "section": "zenlinkProtocol" + }, + "getAmountInPrice": { + "description": "Get the output token amount for an exact input token amount.", + "params": [ + { + "name": "supply", + "type": "ZenlinkAssetBalance" + }, + { + "name": "path", + "type": "Vec" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAmountInPrice", + "method": "getAmountInPrice", + "section": "zenlinkProtocol" + }, + "getAmountOutPrice": { + "description": "Get the input token amount for an exact output token amount.", + "params": [ + { + "name": "supply", + "type": "ZenlinkAssetBalance" + }, + { + "name": "path", + "type": "Vec" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAmountOutPrice", + "method": "getAmountOutPrice", + "section": "zenlinkProtocol" + }, + "getEstimateLptoken": { + "description": "Get the estimated number of LP token acquired given the desired and minimum amount for both in-token and out-token.", + "params": [ + { + "name": "asset_0", + "type": "ZenlinkAssetId" + }, + { + "name": "asset_1", + "type": "ZenlinkAssetId" + }, + { + "name": "amount_0_desired", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_1_desired", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_0_min", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_1_min", + "type": "ZenlinkAssetBalance" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getEstimateLptoken", + "method": "getEstimateLptoken", + "section": "zenlinkProtocol" + } + }, + "liquidityMining": { + "getRewards": { + "description": "Get the rewards users deserve", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" + }, + { + "name": "pallet_instance", + "type": "U32" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec<(CurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "liquidityMining_getRewards", + "method": "getRewards", + "section": "liquidityMining" + } + }, + "stablePool": { + "getSwapOutputAmount": { + "description": "stablePool getSwapOutputAmount", + "params": [ + { + "name": "pool_id", + "type": "U32" + }, + { + "name": "currency_id_in", + "type": "U32" + }, + { + "name": "currency_id_out", + "type": "U32" + }, + { + "name": "amount", + "type": "Balance" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "stablePool_getSwapOutputAmount", + "method": "getSwapOutputAmount", + "section": "stablePool" + } + } + }, + "types": [ + { + "minmax": [ + 0, + 901 + ], + "types": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "DidVerificationKeyUpdateAction": { + "DelayedDispatchTime": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "HttpUrl": { - "payload": "Text" + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "u8", + "PoolInfo": { + "pool_id": "PoolId", + "keeper": "AccountId", + "investor": "Option", + "trading_pair": "(CurrencyId, CurrencyId)", + "duration": "BlockNumber", + "type": "PoolType", + "min_deposit_to_start": "Balance", + "after_block_to_start": "BlockNumber", + "deposit": "Balance", + "rewards": "BTreeMap", + "update_b": "BlockNumber", + "state": "PoolState", + "block_startup": "Option", + "redeem_limit_time": "BlockNumber", + "unlock_limit_nums": "u32", + "pending_unlock_nums": "u32" }, - "FtpUrl": { - "payload": "Text" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "IpfsUrl": { - "payload": "Text" + "Share": "u128", + "OracleValue": "Price", + "BiddingOrderId": "u64", + "EraId": "u32", + "BiddingOrderUnit": { + "bidder_id": "AccountId", + "token_id": "AssetId", + "block_num": "BlockNumber", + "votes": "Balance", + "annual_roi": "Permill", + "validator": "AccountId" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BlockchainType": { + "_enum": [ + "BIFROST", + "EOS", + "IOST" + ] }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "TxSig": { + "signature": "Vec", + "author": "AccountId" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "Succeeded": { + "tx_id": "Vec" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "Failed": { + "tx_id": "Vec", + "reason": "Vec" }, - "StorageError": { + "TxOut": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { + "TransactionStatus": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" }, - "HttpUrl": { - "payload": "Text" + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" }, - "FtpUrl": { - "payload": "Text" + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" }, - "IpfsUrl": { - "payload": "Text" + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" }, - "Url": { + "IostTxOut": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" } }, - "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" + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "ledger": { + "Substrate": "SubstrateLedger" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "FilecoinLedger": { + "account": "MultiLocationV1", + "initial_pledge": "Balance" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "FilecoinOwnerByMinerEntry": { + "currency_id": "AccountId", + "miner_id": "MultiLocationV1", + "owner_id": "MultiLocationV1" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" }, - "CollatorStatus": { + "RedeemStatus": "BalanceOf", + "FundStatus": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { + "ContributionStatus": { "_enum": [ - "V1", - "V2" + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" ] }, - "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": { + "CrowdloanContributeCall": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "CrowdloanContribute": "ContributeCall" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ContributeCall": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Contribute": "Contribution" } }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "WithdrawCall": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Withdraw": "Withdraw" } }, - "DidEncryptionKey": { + "ParachainTransactProxyType": { "_enum": { - "X25519": "[u8; 32]" + "Primary": 0, + "Derived": 1 } }, - "DidPublicKey": { + "ParachainDerivedProxyAccountType": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Salp": 0, + "Staking": 1 } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { + "Keys": "SessionKeys1", + "ParachainTransactType": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "Xcm": 0, + "Proxy": 1 } }, - "DidError": { + "RpcContributionStatus": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 } }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "OracleKey": "CurrencyId", + "BlockNumberFor": "BlockNumber", + "OrderInfo": { + "owner": "AccountIdOf", + "vsbond": "CurrencyId", + "amount": "BalanceOf", + "remain": "BalanceOf", + "total_price": "BalanceOf", + "order_id": "OrderId", + "order_type": "OrderType", + "remain_price": "BalanceOf" }, - "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": { + "OrderId": "u64", + "OrderType": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Sell": 0, + "Buy": 1 } }, - "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" + "UnlockId": "U32", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" }, - "CollatorStatus": { + "PairStatus": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "ETH": 5, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10, + "GLMR": 11 + } }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", + "ForeignAsset": "u32", + "Token2": "u8", + "VToken2": "u8", + "VSToken2": "u8", + "VSBond2": "u8", + "StableLpToken": "u32", + "Blp": "u32" + } }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "TimeUnit": { + "Era": "u32", + "SlashingSpan": "u32", + "Round": "u32", + "Kblock": "u32" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "MinimumsMaximums": { + "delegator_bonded_minimum": "Balance", + "bond_extra_minimum": "Balance", + "unbond_minimum": "Balance", + "rebond_minimum": "Balance", + "unbond_record_maximum": "u32", + "validators_back_maximum": "u32", + "delegator_active_staking_maximum": "Balance", + "validators_reward_maximum": "u32", + "delegation_amount_minimum": "Balance", + "delegators_maximum": "u16", + "validators_maximum": "u16" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "PoolType": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Mining": 0, + "Farming": 1, + "EBFarming": 2 } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolState": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 } }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber", + "pending_unlocks": "Vec<(BlockNumber, Balance)>" }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" }, - "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" + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "MultiLocation": "MultiLocationV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" } }, { "minmax": [ - 21, - 22 + 902, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "StorageError": { + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "u8", + "PoolInfo": { + "pool_id": "PoolId", + "keeper": "AccountId", + "investor": "Option", + "trading_pair": "(CurrencyId, CurrencyId)", + "duration": "BlockNumber", + "type": "PoolType", + "min_deposit_to_start": "Balance", + "after_block_to_start": "BlockNumber", + "deposit": "Balance", + "rewards": "BTreeMap", + "update_b": "BlockNumber", + "state": "PoolState", + "block_startup": "Option", + "redeem_limit_time": "BlockNumber", + "unlock_limit_nums": "u32", + "pending_unlock_nums": "u32" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "Share": "u128", + "OracleValue": "Price", + "BiddingOrderId": "u64", + "EraId": "u32", + "BiddingOrderUnit": { + "bidder_id": "AccountId", + "token_id": "AssetId", + "block_num": "BlockNumber", + "votes": "Balance", + "annual_roi": "Permill", + "validator": "AccountId" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" }, - "HttpUrl": { - "payload": "Text" + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" }, - "FtpUrl": { - "payload": "Text" + "BlockchainType": { + "_enum": [ + "BIFROST", + "EOS", + "IOST" + ] }, - "IpfsUrl": { - "payload": "Text" + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "TxSig": { + "signature": "Vec", + "author": "AccountId" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "Succeeded": { + "tx_id": "Vec" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "Failed": { + "tx_id": "Vec", + "reason": "Vec" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "TxOut": { + "_enum": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } }, - "DelegationStorageVersion": { + "TransactionStatus": { "_enum": [ - "V1", - "V2" + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" + }, + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" + }, + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" + }, + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" } }, - "ContentType": { + "PalletBalanceOf": "Balance", + "ExtraFeeName": { "_enum": [ - "application/json", - "application/ld+json" + "SalpContribute", + "NoExtraFee" ] }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "ledger": { + "Substrate": "SubstrateLedger" }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "FilecoinLedger": { + "account": "MultiLocationV1", + "initial_pledge": "Balance" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "FilecoinOwnerByMinerEntry": { + "currency_id": "AccountId", + "miner_id": "MultiLocationV1", + "owner_id": "MultiLocationV1" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 } }, - "DidEncryptionKey": { + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" + ] + }, + "CrowdloanContributeCall": { "_enum": { - "X25519": "[u8; 32]" + "CrowdloanContribute": "ContributeCall" } }, - "DidPublicKey": { + "ContributeCall": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Contribute": "Contribution" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" }, - "DidSignature": { + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "Withdraw": "Withdraw" } }, - "DidError": { + "ParachainTransactProxyType": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Primary": 0, + "Derived": 1 } }, - "StorageError": { + "ParachainDerivedProxyAccountType": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Salp": 0, + "Staking": 1 } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" }, - "HttpUrl": { - "payload": "Text" + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" }, - "FtpUrl": { - "payload": "Text" + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" }, - "IpfsUrl": { - "payload": "Text" + "OracleKey": "CurrencyId", + "BlockNumberFor": "BlockNumber", + "OrderInfo": { + "owner": "AccountIdOf", + "vsbond": "CurrencyId", + "amount": "BalanceOf", + "remain": "BalanceOf", + "total_price": "BalanceOf", + "order_id": "OrderId", + "order_type": "OrderType", + "remain_price": "BalanceOf" }, - "Url": { + "OrderId": "u64", + "OrderType": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Sell": 0, + "Buy": 1 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "UnlockId": "U32", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "PairStatus": { + "_enum": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "ETH": 5, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10, + "GLMR": 11 + } }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", + "ForeignAsset": "u32", + "Token2": "u8", + "VToken2": "u8", + "VSToken2": "u8", + "VSBond2": "u8", + "StableLpToken": "u32", + "Blp": "u32" + } }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "TimeUnit": { + "Era": "u32", + "SlashingSpan": "u32", + "Round": "u32", + "Kblock": "u32" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "MinimumsMaximums": { + "delegator_bonded_minimum": "Balance", + "bond_extra_minimum": "Balance", + "unbond_minimum": "Balance", + "rebond_minimum": "Balance", + "unbond_record_maximum": "u32", + "validators_back_maximum": "u32", + "delegator_active_staking_maximum": "Balance", + "validators_reward_maximum": "u32", + "delegation_amount_minimum": "Balance", + "delegators_maximum": "u16", + "validators_maximum": "u16" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "PoolType": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Mining": 0, + "Farming": 1, + "EBFarming": 2 } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolState": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 } }, - "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" - ] + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber", + "pending_unlocks": "Vec<(BlockNumber, Balance)>" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "RewardData": { "total": "Balance", - "status": "CandidateStatus" + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1", + "MultiLocation": "MultiLocationV1", + "XcmError": "XcmErrorV1", + "Response": "ResponseV1" } - }, + } + ], + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + } + }, + "astar": { + "types": [ { "minmax": [ - 25, - 2699 + 0, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", + "Keys": "AccountId", "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" + "AmountOf": "Amount", + "Amount": "i128", + "SmartContract": { + "_enum": { + "Evm": "H160", + "Wasm": "AccountId" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "EraStakingPoints": { + "total": "Balance", + "stakers": "BTreeMap", + "formerStakedEra": "EraIndex", + "claimedRewards": "Balance" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "EraRewardAndStake": { + "rewards": "Balance", + "staked": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "EraIndex": "u32" + } + } + ] + }, + "avail": { + "rpc": { + "kate": { + "blockLength": { + "description": "Get Block Length", + "params": [ + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" + ], + "type": "BlockLength" + }, + "queryProof": { + "description": "Generate the kate proof for the given `cells`", + "params": [ + { + "name": "cells", + "type": "Vec" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + ], + "type": "Vec<(U256, [u8; 48])>" + }, + "queryDataProof": { + "description": "Generate the data proof for the given `transaction_index`", + "params": [ + { + "name": "transaction_index", + "type": "u32" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "ProofResponse" + }, + "queryRows": { + "description": "Query rows based on their indices", + "params": [ + { + "name": "rows", + "type": "Vec" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } + ], + "type": "Vec>" + } + } + }, + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "AppId": "Compact", + "DataLookupItem": { + "appId": "AppId", + "start": "Compact" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "CompactDataLookup": { + "size": "Compact", + "index": "Vec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "KateCommitment": { + "rows": "Compact", + "cols": "Compact", + "commitment": "Vec", + "dataRoot": "H256" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "V3HeaderExtension": { + "appLookup": "CompactDataLookup", + "commitment": "KateCommitment" }, - "StorageError": { + "HeaderExtension": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "V1": "V3HeaderExtension", + "V2": "V3HeaderExtension", + "V3": "V3HeaderExtension" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "DaHeader": { + "parentHash": "Hash", + "number": "Compact", + "stateRoot": "Hash", + "extrinsicsRoot": "Hash", + "digest": "Digest", + "extension": "HeaderExtension" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "Header": "DaHeader", + "CheckAppIdExtra": { + "appId": "AppId" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "CheckAppIdTypes": {}, + "CheckAppId": { + "extra": "CheckAppIdExtra", + "types": "CheckAppIdTypes" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "BlockLengthColumns": "Compact", + "BlockLengthRows": "Compact", + "BlockLength": { + "max": "PerDispatchClass", + "cols": "BlockLengthColumns", + "rows": "BlockLengthRows", + "chunkSize": "Compact" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "PerDispatchClass": { + "normal": "u32", + "operational": "u32", + "mandatory": "u32" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" + "DataProof": { + "roots": "TxDataRoots", + "proof": "Vec", + "numberOfLeaves": "Compact", + "leafIndex": "Compact", + "leaf": "H256" }, - "HttpUrl": { - "payload": "Text" + "TxDataRoots": { + "dataRoot": "H256", + "blobRoot": "H256", + "bridgeRoot": "H256" }, - "FtpUrl": { - "payload": "Text" + "ProofResponse": { + "dataProof": "DataProof", + "message": "Option" }, - "IpfsUrl": { - "payload": "Text" + "AddressedMessage": { + "message": "Message", + "from": "H256", + "to": "H256", + "originDomain": "u32", + "destinationDomain": "u32", + "id": "u64" }, - "Url": { + "Message": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "ArbitraryMessage": "ArbitraryMessage", + "FungibleToken": "FungibleToken" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "MessageType": { + "_enum": [ + "ArbitraryMessage", + "FungibleToken" + ] }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "FungibleToken": { + "assetId": "H256", + "amount": "String" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "BoundedData": "Vec", + "ArbitraryMessage": "BoundedData", + "Cell": { + "row": "BlockLengthRows", + "col": "BlockLengthColumns" + } + } + } + ], + "signedExtensions": { + "CheckAppId": { + "extrinsic": { + "appId": "AppId" + }, + "payload": {} + } + } + }, + "bajun": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress" + } + } + ] + }, + "basilisk": { + "alias": { + "tokens": { + "AccountData": "OrmlAccountData" + } + }, + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "AssetPair": { + "asset_in": "AssetId", + "asset_out": "AssetId" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Amount": "i128", + "AmountOf": "Amount", + "Address": "AccountId", + "OrmlAccountData": { + "free": "Balance", + "frozen": "Balance", + "reserved": "Balance" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "Fee": { + "numerator": "u32", + "denominator": "u32" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "BalanceInfo": { + "amount": "Balance", + "assetId": "AssetId" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "Chain": { + "genesisHash": "Vec", + "lastBlockHash": "Vec" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Currency": "AssetId", + "CurrencyId": "AssetId", + "CurrencyIdOf": "AssetId", + "Intention": { + "who": "AccountId", + "asset_sell": "AssetId", + "asset_buy": "AssetId", + "amount": "Balance", + "discount": "bool", + "sell_or_buy": "IntentionType" }, - "DelegationStorageVersion": { + "IntentionId": "Hash", + "IntentionType": { "_enum": [ - "V1", - "V2" + "SELL", + "BUY" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "LookupSource": "AccountId", + "Price": "Balance", + "ClassId": "u64", + "TokenId": "u64", + "ClassData": { + "is_pool": "bool" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "TokenData": { + "locked": "bool" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "ClassInfo": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "TokenData" + }, + "ClassInfoOf": "ClassInfo", + "TokenInfoOf": "TokenInfo", + "ClassIdOf": "ClassId", + "TokenIdOf": "TokenId", + "OrderedSet": "Vec", + "VestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "period_count": "u32", + "per_period": "Compact" + }, + "VestingScheduleOf": "VestingSchedule", + "LBPWeight": "u32", + "WeightCurveType": { + "_enum": [ + "Linear" + ] + }, + "PoolId": "AccountId", + "BalanceOf": "Balance", + "AssetType": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Token": "Null", + "PoolShare": "(AssetId,AssetId)" } }, - "ContentType": { + "Pool": { + "owner": "AccountId", + "start": "BlockNumber", + "end": "BlockNumber", + "assets": "AssetPair", + "initial_weights": "LBPWeight", + "final_weights": "LBPWeight", + "weight_curve": "WeightCurveType", + "pausable": "bool", + "paused": "bool", + "fee": "Fee", + "fee_receiver": "AccountId" + }, + "AssetDetails": { + "name": "Vec", + "asset_type": "AssetType", + "existential_deposit": "Balance", + "locked": "bool" + }, + "AssetDetailsT": "AssetDetails", + "AssetMetadata": { + "symbol": "Vec", + "decimals": "u8" + }, + "AssetInstance": "AssetInstanceV1", + "MultiLocation": "MultiLocationV1", + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1" + } + } + ] + }, + "beresheet": { + "alias": { + "voting": { + "Tally": "VotingTally" + } + }, + "types": [ + { + "minmax": [ + 0, + 31 + ], + "types": { + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" + }, + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { "_enum": [ - "application/json", - "application/ld+json" + "PreVoting", + "Commit", + "Voting", + "Completed" ] }, - "DidStorageVersion": { + "VoteType": { "_enum": [ - "V1", - "V2" + "Binary", + "MultiOption", + "RankedChoice" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "TallyType": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "OnePerson", + "OneCoin" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" + }, + "voting::VoteType": "VoteType", + "voting::TallyType": "TallyType", + "voting::Tally": "VotingTally", + "Keys": "SessionKeys4", + "StakingLedger": "StakingLedgerTo240", + "Votes": "VotesTo230", + "ReferendumInfo": "ReferendumInfoTo239", + "Weight": "u32", + "DispatchInfo": "DispatchInfoTo244", + "OpenTip": "OpenTipTo225", + "ContractExecResult": "ContractExecResultTo255", + "CompactAssignments": "CompactAssignmentsTo257", + "RewardDestination": "RewardDestinationTo257", + "RefCount": "RefCountTo259", + "AccountInfo": "AccountInfoWithRefCount", + "Address": "IndicesLookupSource", + "LookupSource": "IndicesLookupSource" } }, { "minmax": [ - 2700, - 10409 + 32, + 38 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { + "_enum": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] }, - "DidVerificationKeyRelationship": { + "TallyType": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "OnePerson", + "OneCoin" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } + "voting::VoteType": "VoteType", + "voting::TallyType": "TallyType", + "voting::Tally": "VotingTally", + "CompactAssignments": "CompactAssignmentsTo257", + "ContractExecResult": "ContractExecResultTo255", + "RewardDestination": "RewardDestinationTo257", + "RefCount": "u32", + "AccountInfo": "AccountInfoWithRefCount", + "Address": "IndicesLookupSource", + "LookupSource": "IndicesLookupSource" + } + }, + { + "minmax": [ + 39, + 41 + ], + "types": { + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, - "SignatureError": { + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" + "PreVoting", + "Commit", + "Voting", + "Completed" ] }, - "KeyError": { + "VoteType": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Binary", + "MultiOption", + "RankedChoice" ] }, - "InputError": { + "TallyType": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" + "OnePerson", + "OneCoin" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "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": { + "voting::VoteType": "VoteType", + "voting::TallyType": "TallyType", + "voting::Tally": "VotingTally", + "RefCount": "u32", + "AccountInfo": "AccountInfoWithRefCount", + "Address": "IndicesLookupSource", + "LookupSource": "IndicesLookupSource" + } + }, + { + "minmax": [ + 42, + 46 + ], + "types": { + "Balance2": "u128", + "ChainId": "u8", + "DepositNonce": "u64", + "ResourceId": "[u8; 32]", + "ProposalStatus": { "_enum": [ - "V1", - "V2" + "Initiated", + "Approved", + "Rejected" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "staus": "ProposalStatus", + "expiry": "BlockNumber" }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "VoteStage": { + "_enum": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] }, - "DidStorageVersion": { + "VoteType": { "_enum": [ - "V1", - "V2", - "V3" + "Binary", + "MultiOption", + "RankedChoice" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "TallyType": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "OnePerson", + "OneCoin" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" + }, + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "AccountInfo": "AccountInfoWithRefCount", + "Address": "MultiAddress", + "LookupSource": "MultiAddress" } }, { "minmax": [ - 10410, - 10719 + 47, + null ], "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": { + "Balance2": "u128", + "DepositNonce": "u64", + "ResourceId": "[u8; 32]", + "ProposalStatus": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Initiated", + "Approved", + "Rejected" ] }, - "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" - } + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "staus": "ProposalStatus", + "expiry": "BlockNumber" }, - "SignatureError": { + "VoteStage": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" + "PreVoting", + "Commit", + "Voting", + "Completed" ] }, - "KeyError": { + "VoteType": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Binary", + "MultiOption", + "RankedChoice" ] }, - "InputError": { + "TallyType": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" + "OnePerson", + "OneCoin" ] }, - "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" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "CID": "Vec", + "Properties": { + "_set": { + "Transferable": 1, + "Burnable": 2 + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "ClassData": { + "deposit": "Balance", + "properties": "Properties" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "TokenData": { + "deposit": "Balance" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "ClassInfo": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "ClassInfoOf": "ClassInfo", + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "TokenData" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "TokenInfoOf": "TokenInfo", + "TokenId": "u64", + "ClassIdOf": "ClassId", + "TokenIdOf": "TokenId", + "Amount": "i128", + "AmountOf": "Amount", + "Approval": { + "amount": "Balance", + "deposit": "Balance" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "ApprovalKey": { + "owner": "AccountId", + "delegate": "AccountId" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Commitment": "ScalarData", + "CurrencyId": "u64", + "CurrencyIdOf": "CurrencyId", + "DustHandlerType": { + "_enum": { + "Burn": "Null", + "Transfer": "AccountId" + } }, - "DelegationStorageVersion": { + "HashFunction": { "_enum": [ - "V1", - "V2" + "PoseidonDefault", + "PoseidonExp3", + "PoseidonExp5", + "PoseidonExp17", + "MiMC", + "Blake2", + "Sha256" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "Manager": { + "accountId": "AccountId", + "required": "bool" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "MerkleTree": { + "leaf_count": "u32", + "max_leaves": "u32", + "depth": "u8", + "root_hash": "ScalarData", + "edge_nodes": "Vec", + "hasher": "HashFunction", + "should_store_leaves": "bool" }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "MixerInfo": { + "minimum_deposit_length_for_reward": "BlockNumber", + "fixed_deposit_size": "Balance", + "currency_id": "CurrencyIdOf" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] + "Nullifier": "ScalarData", + "ScalarData": "[u8; 32]", + "TokenDetails": { + "owner": "AccountId", + "issuer": "AccountId", + "admin": "AccountId", + "freezer": "AccountId", + "supply": "Balance", + "deposit": "Balance", + "min_balance": "Balance", + "approvals": "u32", + "is_frozen": "bool", + "dust_type": "DustHandlerType" }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "TokenMetadata": { + "deposit": "Balance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "is_frozen": "bool" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - 11199 - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 11200, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - }, - "IdentityCommitmentVersion": "u16", - "DipProofRequest": { - "identifier": "AccountId32", - "version": "IdentityCommitmentVersion", - "proofKeys": "Vec", - "accounts": "Vec", - "shouldIncludeWeb3Name": "bool" - }, - "CompleteMerkleProof": { - "root": "MerkleRoot", - "proof": "MerkleProof" - }, - "MerkleRoot": "Hash", - "MerkleProof": { - "blinded": "BlindedLeaves", - "revealed": "RevealedLeaves" - }, - "BlindedLeaves": "Vec", - "BlindedValue": "Bytes", - "RevealedLeaves": "Vec", - "RevealedLeaf": { - "_enum": { - "DidKey": "RevealedDidKey", - "Web3Name": "RevealedWeb3Name", - "LinkedAccount": "RevealedAccountId" - } - }, - "RevealedDidKey": { - "id": "Hash", - "relationship": "KeyRelationship", - "details": "DidDidDetailsDidPublicKeyDetails" - }, - "KeyRelationship": { - "_enum": { - "Encryption": "Null", - "Verification": "VerificationRelationship" - } - }, - "VerificationRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "RevealedWeb3Name": { - "web3Name": "Text", - "claimedAt": "BlockNumber" + "TreeId": "u32", + "WithdrawProof": { + "mixer_id": "TreeId", + "cached_block": "BlockNumber", + "cached_root": "ScalarData", + "comms": "Vec", + "nullifier_hash": "ScalarData", + "proof_bytes": "Vec", + "leaf_index_commitments": "Vec", + "proof_commitments": "Vec", + "recipient": "Option", + "relayer": "Option" }, - "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RuntimeApiDipProofError": { - "_enum": { - "IdentityProvider": "LinkedDidIdentityProviderError", - "MerkleProof": "DidMerkleProofError" - } + "ETHBlock": { + "inner": "Block" }, - "LinkedDidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "DidDeleted", - "Internal" - ] + "ETHReceipts": { + "inner": "Vec" }, - "DidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "Internal" - ] + "ETHTxStatuses": { + "inner": "Vec" }, - "DidMerkleProofError": { - "_enum": [ - "UnsupportedVersion", - "KeyNotFound", - "LinkedAccountNotFound", - "Web3NameNotFound", - "Internal" - ] - } + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "LookupSource": "MultiAddress" } } ] }, - "KILT Spiritnet Develop": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" + "bifrost": { + "rpc": { + "oracle": { + "getValue": { + "description": "Retrieves the oracle value for a given key.", + "params": [ + { + "name": "providerId", + "type": "RpcDataProviderId" }, - "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" + { + "name": "key", + "type": "OracleKey" }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "version": 1 + ], + "type": "Option", + "isSubscription": false, + "jsonrpc": "oracle_getValue", + "method": "getValue", + "section": "oracle" }, - { - "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" + "getAllValues": { + "description": "Retrieves all oracle values.", + "params": [ + { + "name": "providerId", + "type": "RpcDataProviderId" }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "version": 2 + ], + "type": "Vec<(OracleKey, Option)>", + "isSubscription": false, + "jsonrpc": "oracle_getAllValues", + "method": "getAllValues", + "section": "oracle" } - ], - "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" + }, + "farming": { + "getFarmingRewards": { + "description": "Get farming rewards", + "params": [ + { + "name": "who", + "type": "AccountId" }, - "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" + { + "name": "pid", + "type": "PoolId" }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "version": 1 + ], + "type": "Vec<(CurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "farming_getFarmingRewards", + "method": "getFarmingRewards", + "section": "farming" }, - { - "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" + "getGaugeRewards": { + "description": "Get gauge rewards", + "params": [ + { + "name": "who", + "type": "AccountId" }, - "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" + { + "name": "pid", + "type": "PoolId" }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "version": 2 + ], + "type": "Vec<(CurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "farming_getGaugeRewards", + "method": "getGaugeRewards", + "section": "farming" } - ], - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" + }, + "flexibleFee": { + "getFeeTokenAndAmount": { + "description": "Get charging token type and amount in terms of flexible transaction fee.", + "params": [ + { + "name": "who", + "type": "AccountId" }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" + { + "name": "extrinsic", + "type": "Bytes" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "version": 1 + ], + "type": "(CurrencyId, U256)", + "isSubscription": false, + "jsonrpc": "flexibleFee_getFeeTokenAndAmount", + "method": "getFeeTokenAndAmount", + "section": "flexibleFee" } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" + }, + "salp": { + "getContribution": { + "description": "salp getContribution", + "params": [ + { + "name": "index", + "type": "ParaId" }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" + { + "name": "who", + "type": "AccountIdOf" } - }, - "version": 1 + ], + "type": "(Balance, ContributionStatus)", + "isSubscription": false, + "jsonrpc": "salp_getContribution", + "method": "getContribution", + "section": "salp" + }, + "getLiteContribution": { + "description": "salp getLiteContribution", + "params": [ + { + "name": "index", + "type": "ParaId" + }, + { + "name": "who", + "type": "AccountIdOf" + } + ], + "type": "(Balance, ContributionStatus)", + "isSubscription": false, + "jsonrpc": "salp_getLiteContribution", + "method": "getLiteContribution", + "section": "salp" } - ], - "DipProvider": [ - { - "methods": { - "generate_proof": { - "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", - "params": [ - { - "name": "request", - "type": "DipProofRequest" - } - ], - "type": "Result" + }, + "vtokenMint": { + "getVtokenMintRate": { + "description": "Get current vtoken mint rate.", + "params": [ + { + "name": "asset_id", + "type": "CurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "version": 1 + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "vtokenMint_getVtokenMintRate", + "method": "getVtokenMintRate", + "section": "vtokenMint" } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" - }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" - }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" - }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" - }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" - }, - "ChainId": { - "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" + }, + "zenlinkProtocol": { + "getAllAssets": { + "description": "zenlinkProtocol getAllAssets", + "params": [ + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { - "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAllAssets", + "method": "getAllAssets", + "section": "zenlinkProtocol" + }, + "getBalance": { + "description": "zenlinkProtocol getBalance", + "params": [ + { + "name": "asset_id", + "type": "ZenlinkAssetId" + }, + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "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 + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getBalance", + "method": "getBalance", + "section": "zenlinkProtocol" + }, + "getSovereignsInfo": { + "description": "Get the ownership of a certain currency for each parachain.", + "params": [ + { + "name": "asset_id", + "type": "ZenlinkAssetId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" + ], + "type": "(u32, AccountId, String)", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getSovereignsInfo", + "method": "getSovereignsInfo", + "section": "zenlinkProtocol" + }, + "getPairByAssetId": { + "description": "Get the detailed information of a particular exchange pair.", + "params": [ + { + "name": "asset_0", + "type": "ZenlinkAssetId" + }, + { + "name": "asset_1", + "type": "ZenlinkAssetId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - } + ], + "type": "PairInfo", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getPairByAssetId", + "method": "getPairByAssetId", + "section": "zenlinkProtocol" + }, + "getAmountInPrice": { + "description": "Get the output token amount for an exact input token amount.", + "params": [ + { + "name": "supply", + "type": "ZenlinkAssetBalance" + }, + { + "name": "path", + "type": "Vec" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAmountInPrice", + "method": "getAmountInPrice", + "section": "zenlinkProtocol" + }, + "getAmountOutPrice": { + "description": "Get the input token amount for an exact output token amount.", + "params": [ + { + "name": "supply", + "type": "ZenlinkAssetBalance" + }, + { + "name": "path", + "type": "Vec" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAmountOutPrice", + "method": "getAmountOutPrice", + "section": "zenlinkProtocol" + }, + "getEstimateLptoken": { + "description": "Get the estimated number of LP token acquired given the desired and minimum amount for both in-token and out-token.", + "params": [ + { + "name": "asset_0", + "type": "ZenlinkAssetId" + }, + { + "name": "asset_1", + "type": "ZenlinkAssetId" + }, + { + "name": "amount_0_desired", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_1_desired", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_0_min", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_1_min", + "type": "ZenlinkAssetBalance" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getEstimateLptoken", + "method": "getEstimateLptoken", + "section": "zenlinkProtocol" + } + }, + "liquidityMining": { + "getRewards": { + "description": "Get the rewards users deserve", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" + }, + { + "name": "pallet_instance", + "type": "U32" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec<(CurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "liquidityMining_getRewards", + "method": "getRewards", + "section": "liquidityMining" } }, + "stablePool": { + "getSwapOutputAmount": { + "description": "stablePool getSwapOutputAmount", + "params": [ + { + "name": "pool_id", + "type": "U32" + }, + { + "name": "currency_id_in", + "type": "U32" + }, + { + "name": "currency_id_out", + "type": "U32" + }, + { + "name": "amount", + "type": "Balance" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "stablePool_getSwapOutputAmount", + "method": "getSwapOutputAmount", + "section": "stablePool" + } + } + }, + "types": [ { "minmax": [ - 9, - 9 + 0, + 901 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" - } + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "StorageError": { + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "u8", + "PoolInfo": { + "pool_id": "PoolId", + "keeper": "AccountId", + "investor": "Option", + "trading_pair": "(CurrencyId, CurrencyId)", + "duration": "BlockNumber", + "type": "PoolType", + "min_deposit_to_start": "Balance", + "after_block_to_start": "BlockNumber", + "deposit": "Balance", + "rewards": "BTreeMap", + "update_b": "BlockNumber", + "state": "PoolState", + "block_startup": "Option", + "redeem_limit_time": "BlockNumber", + "unlock_limit_nums": "u32", + "pending_unlock_nums": "u32" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "Share": "u128", + "OracleValue": "Price", + "BiddingOrderId": "u64", + "EraId": "u32", + "BiddingOrderUnit": { + "bidder_id": "AccountId", + "token_id": "AssetId", + "block_num": "BlockNumber", + "votes": "Balance", + "annual_roi": "Permill", + "validator": "AccountId" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "BlockchainType": { + "_enum": [ + "BIFROST", + "EOS", + "IOST" + ] }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" }, - "HttpUrl": { - "payload": "Text" + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" }, - "FtpUrl": { - "payload": "Text" + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" }, - "IpfsUrl": { - "payload": "Text" + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10, - 11 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } + "TxSig": { + "signature": "Vec", + "author": "AccountId" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "Succeeded": { + "tx_id": "Vec" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "Failed": { + "tx_id": "Vec", + "reason": "Vec" }, - "StorageError": { + "TxOut": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" } }, - "SignatureError": { + "TransactionStatus": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" ] }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" }, - "DidVerificationKeyUpdateAction": { + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "ledger": { + "Substrate": "SubstrateLedger" }, - "HttpUrl": { - "payload": "Text" + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "FtpUrl": { - "payload": "Text" + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" }, - "IpfsUrl": { - "payload": "Text" + "FilecoinLedger": { + "account": "MultiLocationV1", + "initial_pledge": "Balance" }, - "Url": { + "FilecoinOwnerByMinerEntry": { + "currency_id": "AccountId", + "miner_id": "MultiLocationV1", + "owner_id": "MultiLocationV1" + }, + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" + ] }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { + "ParachainDerivedProxyAccountType": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Salp": 0, + "Staking": 1 } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Keys": "SessionKeys1", + "ParachainTransactType": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Xcm": 0, + "Proxy": 1 } }, - "DidEncryptionKey": { + "RpcContributionStatus": { "_enum": { - "X25519": "[u8; 32]" + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" }, - "StorageError": { + "OracleKey": "CurrencyId", + "BlockNumberFor": "BlockNumber", + "OrderInfo": { + "owner": "AccountIdOf", + "vsbond": "CurrencyId", + "amount": "BalanceOf", + "remain": "BalanceOf", + "total_price": "BalanceOf", + "order_id": "OrderId", + "order_type": "OrderType", + "remain_price": "BalanceOf" + }, + "OrderId": "u64", + "OrderType": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Sell": 0, + "Buy": 1 } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "UnlockId": "U32", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" }, - "DidVerificationKeyUpdateAction": { + "PairStatus": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { + "TokenSymbol": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10, + "GLMR": 11 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", + "ForeignAsset": "u32", + "Token2": "u8", + "VToken2": "u8", + "VSToken2": "u8", + "VSBond2": "u8", + "StableLpToken": "u32", + "Blp": "u32" + } }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TimeUnit": { + "Era": "u32", + "SlashingSpan": "u32", + "Round": "u32", + "Kblock": "u32" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "MinimumsMaximums": { + "delegator_bonded_minimum": "Balance", + "bond_extra_minimum": "Balance", + "unbond_minimum": "Balance", + "rebond_minimum": "Balance", + "unbond_record_maximum": "u32", + "validators_back_maximum": "u32", + "delegator_active_staking_maximum": "Balance", + "validators_reward_maximum": "u32", + "delegation_amount_minimum": "Balance", + "delegators_maximum": "u16", + "validators_maximum": "u16" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber", + "pending_unlocks": "Vec<(BlockNumber, Balance)>" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "RewardData": { "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "MultiLocation": "MultiLocationV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" } }, { "minmax": [ - 17, - 17 + 902, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "DidSignature": { + "DelayedDispatchTime": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "u8", + "PoolInfo": { + "pool_id": "PoolId", + "keeper": "AccountId", + "investor": "Option", + "trading_pair": "(CurrencyId, CurrencyId)", + "duration": "BlockNumber", + "type": "PoolType", + "min_deposit_to_start": "Balance", + "after_block_to_start": "BlockNumber", + "deposit": "Balance", + "rewards": "BTreeMap", + "update_b": "BlockNumber", + "state": "PoolState", + "block_startup": "Option", + "redeem_limit_time": "BlockNumber", + "unlock_limit_nums": "u32", + "pending_unlock_nums": "u32" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "Share": "u128", + "OracleValue": "Price", + "BiddingOrderId": "u64", + "EraId": "u32", + "BiddingOrderUnit": { + "bidder_id": "AccountId", + "token_id": "AssetId", + "block_num": "BlockNumber", + "votes": "Balance", + "annual_roi": "Permill", + "validator": "AccountId" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" }, - "InputError": { + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" + }, + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" + }, + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" + }, + "BlockchainType": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "BIFROST", + "EOS", + "IOST" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" }, - "HttpUrl": { - "payload": "Text" + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" }, - "FtpUrl": { - "payload": "Text" + "TxSig": { + "signature": "Vec", + "author": "AccountId" }, - "IpfsUrl": { - "payload": "Text" + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" }, - "Url": { + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Succeeded": { + "tx_id": "Vec" + }, + "Failed": { + "tx_id": "Vec", + "reason": "Vec" + }, + "TxOut": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" }, - "CollatorStatus": { + "IostTxOut": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "ledger": { + "Substrate": "SubstrateLedger" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 18, - 18 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "FilecoinLedger": { + "account": "MultiLocationV1", + "initial_pledge": "Balance" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "FilecoinOwnerByMinerEntry": { + "currency_id": "AccountId", + "miner_id": "MultiLocationV1", + "owner_id": "MultiLocationV1" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 } }, - "DidEncryptionKey": { + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" + ] + }, + "CrowdloanContributeCall": { "_enum": { - "X25519": "[u8; 32]" + "CrowdloanContribute": "ContributeCall" } }, - "DidPublicKey": { + "ContributeCall": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Contribute": "Contribution" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" }, - "DidSignature": { + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "Withdraw": "Withdraw" } }, - "DidError": { + "ParachainTransactProxyType": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Primary": 0, + "Derived": 1 } }, - "StorageError": { + "ParachainDerivedProxyAccountType": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Salp": 0, + "Staking": 1 } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" }, - "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": { + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "swap_fee_rate": "SwapFee", + "active": "bool" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "OracleKey": "CurrencyId", + "BlockNumberFor": "BlockNumber", + "OrderInfo": { + "owner": "AccountIdOf", + "vsbond": "CurrencyId", + "amount": "BalanceOf", + "remain": "BalanceOf", + "total_price": "BalanceOf", + "order_id": "OrderId", + "order_type": "OrderType", + "remain_price": "BalanceOf" }, - "CollatorStatus": { + "OrderId": "u64", + "OrderType": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Sell": 0, + "Buy": 1 } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "UnlockId": "U32", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" }, - "DidSignature": { + "PairStatus": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null } }, - "DidError": { + "TokenSymbol": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10, + "GLMR": 11 } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", + "ForeignAsset": "u32", + "Token2": "u8", + "VToken2": "u8", + "VSToken2": "u8", + "VSBond2": "u8", + "StableLpToken": "u32", + "Blp": "u32" } }, - "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": { + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "TransferOriginType": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 } }, - "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" + "TimeUnit": { + "Era": "u32", + "SlashingSpan": "u32", + "Round": "u32", + "Kblock": "u32" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "MinimumsMaximums": { + "delegator_bonded_minimum": "Balance", + "bond_extra_minimum": "Balance", + "unbond_minimum": "Balance", + "rebond_minimum": "Balance", + "unbond_record_maximum": "u32", + "validators_back_maximum": "u32", + "delegator_active_staking_maximum": "Balance", + "validators_reward_maximum": "u32", + "delegation_amount_minimum": "Balance", + "delegators_maximum": "u16", + "validators_maximum": "u16" }, - "CollatorStatus": { + "PoolType": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Mining": 0, + "Farming": 1, + "EBFarming": 2 } }, - "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": { + "PoolState": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 } }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber", + "pending_unlocks": "Vec<(BlockNumber, Balance)>" }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 2700, - 10409 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10410, - 10719 - ], - "types": { - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } - }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } - }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" - }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } - }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - 11199 - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 11200, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - }, - "IdentityCommitmentVersion": "u16", - "DipProofRequest": { - "identifier": "AccountId32", - "version": "IdentityCommitmentVersion", - "proofKeys": "Vec", - "accounts": "Vec", - "shouldIncludeWeb3Name": "bool" - }, - "CompleteMerkleProof": { - "root": "MerkleRoot", - "proof": "MerkleProof" - }, - "MerkleRoot": "Hash", - "MerkleProof": { - "blinded": "BlindedLeaves", - "revealed": "RevealedLeaves" - }, - "BlindedLeaves": "Vec", - "BlindedValue": "Bytes", - "RevealedLeaves": "Vec", - "RevealedLeaf": { - "_enum": { - "DidKey": "RevealedDidKey", - "Web3Name": "RevealedWeb3Name", - "LinkedAccount": "RevealedAccountId" - } - }, - "RevealedDidKey": { - "id": "Hash", - "relationship": "KeyRelationship", - "details": "DidDidDetailsDidPublicKeyDetails" - }, - "KeyRelationship": { - "_enum": { - "Encryption": "Null", - "Verification": "VerificationRelationship" - } - }, - "VerificationRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "RevealedWeb3Name": { - "web3Name": "Text", - "claimedAt": "BlockNumber" - }, - "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RuntimeApiDipProofError": { - "_enum": { - "IdentityProvider": "LinkedDidIdentityProviderError", - "MerkleProof": "DidMerkleProofError" - } - }, - "LinkedDidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "DidDeleted", - "Internal" - ] - }, - "DidIdentityProviderError": { - "_enum": [ - "DidNotFound", - "Internal" - ] - }, - "DidMerkleProofError": { - "_enum": [ - "UnsupportedVersion", - "KeyNotFound", - "LinkedAccountNotFound", - "Web3NameNotFound", - "Internal" - ] - } - } - } - ] - } - }, - "spec": { - "Equilibrium": { - "instances": { - "balances": [ - "eq" - ] - } - }, - "Genshiro": { - "instances": { - "balances": [ - "gens" - ] - } - }, - "VLN": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Asset": { - "_enum": { - "Collateral": "Collateral", - "Fiat": "Fiat", - "Usdv": null - } - }, - "Collateral": { - "_enum": [ - "Usdc" - ] - }, - "Fiat": { - "_enum": [ - "Cop", - "Vez" - ] - }, - "CurrencyId": "Asset", - "OracleKey": "Asset", - "OracleValue": "FixedU128", - "CurrencyIdOf": "Asset", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" - }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "Share": "Permill" - } - } - ] - }, - "VLN-PC": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Asset": { - "_enum": { - "Collateral": "Collateral", - "Fiat": "Fiat", - "Network": "NetworkAsset", - "Usdv": null - } - }, - "Collateral": { - "_enum": [ - "Usdc" - ] - }, - "Fiat": { - "_enum": [ - "Cop", - "Vez" - ] - }, - "CurrencyId": "NetworkAsset", - "OracleKey": "Asset", - "OracleValue": "FixedU128", - "CurrencyIdOf": "NetworkAsset", - "Amount": "i64", - "AmountOf": "Amount", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" - }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "Share": "Permill", - "XCurrencyId": { - "chain_id": "ChainId", - "currency_id": "Bytes" - }, - "ChainId": { - "_enum": { - "RelayChain": null, - "Parachain": "ParaId" - } - }, - "NetworkAsset": { - "_enum": [ - "ACA", - "AUSD", - "DOT" - ] - }, - "BaseAsset": "CurrencyId", - "AssetPair": { - "base": "BaseAsset", - "quote": "CurrencyId" - }, - "PaymentMethod": { - "_enum": [ - "BankX", - "BankY" - ] - }, - "RatePremiumType": "FixedU128", - "SwapKind": { - "_enum": { - "In": "SwapIn", - "Out": "SwapOut" - } - }, - "SwapIn": { - "_enum": { - "Created": null, - "Accepted": "Vec", - "Rejected": "Vec", - "Confirmed": "Vec", - "Expired": null, - "Completed": null - } - }, - "SwapOut": { - "_enum": { - "Created": null, - "Accepted": null, - "Rejected": "Vec", - "Confirmed": "Vec", - "Expired": null, - "Completed": null - } - }, - "PairPrice": { - "pair": "AssetPair", - "price": "FixedU128" - }, - "Swap": { - "human": "AccountId", - "kind": "SwapKind", - "price": "PairPrice", - "amount": "FixedU128" - }, - "RateDetail": { - "rate": "FixedU128" - } - } - } - ] - }, - "acala": { - "rpc": { - "dex": { - "getSupplyAmount": { - "description": "Get supply amount", - "params": [ - { - "name": "supplyCurrencyId", - "type": "CurrencyId" - }, - { - "name": "targetCurrencyId", - "type": "CurrencyId" - }, - { - "name": "targetCurrencyAmount", - "type": "BalanceRequest" - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "dex_getSupplyAmount", - "method": "getSupplyAmount", - "section": "dex" - }, - "getTargetAmount": { - "description": "Get target amount", - "params": [ - { - "name": "supplyCurrencyId", - "type": "CurrencyId" - }, - { - "name": "targetCurrencyId", - "type": "CurrencyId" - }, - { - "name": "supplyCurrencyAmount", - "type": "BalanceRequest" - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "dex_getTargetAmount", - "method": "getTargetAmount", - "section": "dex" - } - }, - "evm": { - "call": { - "description": "eth call", - "params": [ - { - "name": "data", - "type": "CallRequest" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Raw", - "isSubscription": false, - "jsonrpc": "evm_call", - "method": "call", - "section": "evm" - }, - "estimateResources": { - "description": "eth estimateResources", - "params": [ - { - "name": "from", - "type": "H160" - }, - { - "name": "unsignedExtrinsic", - "type": "Bytes" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "EstimateResourcesResponse", - "isSubscription": false, - "jsonrpc": "evm_estimateResources", - "method": "estimateResources", - "section": "evm" - } - }, - "stakingPool": { - "getAvailableUnbonded": { - "description": "Get Available Unbonded", - "params": [ - { - "name": "account", - "type": "AccountId" - } - ], - "type": "BalanceInfo", - "isSubscription": false, - "jsonrpc": "stakingPool_getAvailableUnbonded", - "method": "getAvailableUnbonded", - "section": "stakingPool" - }, - "getLiquidStakingExchangeRate": { - "description": "get liquid staking exchange rate", - "params": [], - "type": "ExchangeRate", - "isSubscription": false, - "jsonrpc": "stakingPool_getLiquidStakingExchangeRate", - "method": "getLiquidStakingExchangeRate", - "section": "stakingPool" - } - } - }, - "instances": { - "council": [ - "generalCouncil" - ] - }, - "types": [ - { - "minmax": [ - 600, - 699 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": [ - "ACA", - "AUSD", - "DOT", - "XBTC", - "LDOT", - "RENBTC" - ] - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] - }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" - } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "Address": "LookupSource", - "LookupSource": "IndicesLookupSource" - } - }, - { - "minmax": [ - 700, - 719 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": [ - "ACA", - "AUSD", - "DOT", - "XBTC", - "LDOT", - "RENBTC" - ] - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] - }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" - } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress" - } - }, - { - "minmax": [ - 720, - 722 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "XBTC": 4, - "RENBTC": 5, - "POLKABTC": 6, - "PLM": 7, - "PHA": 8, - "HDT": 9, - "BCG": 11, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "SDN": 135, - "KILT": 138 - } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] - }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" - } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [ - 723, - 729 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "XBTC": 4, - "RENBTC": 5, - "POLKABTC": 6, - "PLM": 7, - "PHA": 8, - "HDT": 9, - "BCG": 11, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "SDN": 135, - "KILT": 138 - } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] - }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" - } - } - }, - { - "minmax": [ - 730, - 1007 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 4, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "CASH": 140 - } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] - }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" - } - } - }, - { - "minmax": [ - 1008, - 1008 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131 - } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] - }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" - } - } - }, - { - "minmax": [ - 1008, - 1009 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "BNC": 168, - "VSKSM": 169, - "PHA": 170, - "KINT": 171, - "KBTC": 172 - } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] - }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" - } - } - }, - { - "minmax": [ - 1010, - 1013 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "BNC": 168, - "VSKSM": 169, - "PHA": 170, - "KINT": 171, - "KBTC": 172 - } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] - }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" - } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [ - 1014, - 1018 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "BNC": 168, - "VSKSM": 169, - "PHA": 170, - "KINT": 171, - "KBTC": 172 - } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] - }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" - } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV1", - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" - } - }, - { - "minmax": [ - 1019, - null - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "BNC": 168, - "VSKSM": 169, - "PHA": 170, - "KINT": 171, - "KBTC": 172 - } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] - }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" - } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress" + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1", + "MultiLocation": "MultiLocationV1", + "XcmError": "XcmErrorV1", + "Response": "ResponseV1" } } ], "alias": { - "stakingPool": { - "Phase": "StakingPoolPhase" - }, - "nomineesElection": { - "UnlockChunk": "HomaUnlockChunk" - }, - "evm": { - "AccountInfo": "EvmAccountInfo", - "ContractInfo": "EvmContractInfo" - }, - "rewards": { - "OrmlCurrencyId": "CurrencyId" - }, - "oracle": { - "DataProviderId": "AcalaDataProviderId" - }, - "chainBridge": { - "ChainId": "ChainBridgeChainId" + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" } } }, - "mandala": { + "bifrost-parachain": { "rpc": { - "dex": { - "getSupplyAmount": { - "description": "Get supply amount", + "oracle": { + "getValue": { + "description": "Retrieves the oracle value for a given key.", "params": [ { - "name": "supplyCurrencyId", - "type": "CurrencyId" + "name": "providerId", + "type": "RpcDataProviderId" }, { - "name": "targetCurrencyId", - "type": "CurrencyId" + "name": "key", + "type": "OracleKey" }, { - "name": "targetCurrencyAmount", - "type": "BalanceRequest" + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } ], - "type": "BalanceWrapper", + "type": "Option", "isSubscription": false, - "jsonrpc": "dex_getSupplyAmount", - "method": "getSupplyAmount", - "section": "dex" + "jsonrpc": "oracle_getValue", + "method": "getValue", + "section": "oracle" }, - "getTargetAmount": { - "description": "Get target amount", + "getAllValues": { + "description": "Retrieves all oracle values.", "params": [ { - "name": "supplyCurrencyId", - "type": "CurrencyId" - }, - { - "name": "targetCurrencyId", - "type": "CurrencyId" + "name": "providerId", + "type": "RpcDataProviderId" }, { - "name": "supplyCurrencyAmount", - "type": "BalanceRequest" + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } ], - "type": "BalanceWrapper", + "type": "Vec<(OracleKey, Option)>", "isSubscription": false, - "jsonrpc": "dex_getTargetAmount", - "method": "getTargetAmount", - "section": "dex" + "jsonrpc": "oracle_getAllValues", + "method": "getAllValues", + "section": "oracle" } }, - "evm": { - "call": { - "description": "eth call", + "farming": { + "getFarmingRewards": { + "description": "Get farming rewards", "params": [ { - "name": "data", - "type": "CallRequest" + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" }, { "name": "at", - "type": "BlockHash", - "isHistoric": true, + "type": "Hash", "isOptional": true } ], - "type": "Raw", + "type": "Vec<(CurrencyId, Balance)>", "isSubscription": false, - "jsonrpc": "evm_call", - "method": "call", - "section": "evm" + "jsonrpc": "farming_getFarmingRewards", + "method": "getFarmingRewards", + "section": "farming" }, - "estimateResources": { - "description": "eth estimateResources", + "getGaugeRewards": { + "description": "Get gauge rewards", "params": [ { - "name": "from", - "type": "H160" + "name": "who", + "type": "AccountId" }, { - "name": "unsignedExtrinsic", - "type": "Bytes" + "name": "pid", + "type": "PoolId" }, { "name": "at", - "type": "BlockHash", - "isHistoric": true, + "type": "Hash", "isOptional": true } ], - "type": "EstimateResourcesResponse", + "type": "Vec<(CurrencyId, Balance)>", "isSubscription": false, - "jsonrpc": "evm_estimateResources", - "method": "estimateResources", - "section": "evm" + "jsonrpc": "farming_getGaugeRewards", + "method": "getGaugeRewards", + "section": "farming" } }, - "stakingPool": { - "getAvailableUnbonded": { - "description": "Get Available Unbonded", + "flexibleFee": { + "getFeeTokenAndAmount": { + "description": "Get charging token type and amount in terms of flexible transaction fee.", "params": [ { - "name": "account", + "name": "who", "type": "AccountId" + }, + { + "name": "extrinsic", + "type": "Bytes" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } ], - "type": "BalanceInfo", - "isSubscription": false, - "jsonrpc": "stakingPool_getAvailableUnbonded", - "method": "getAvailableUnbonded", - "section": "stakingPool" - }, - "getLiquidStakingExchangeRate": { - "description": "get liquid staking exchange rate", - "params": [], - "type": "ExchangeRate", + "type": "(CurrencyId, U256)", "isSubscription": false, - "jsonrpc": "stakingPool_getLiquidStakingExchangeRate", - "method": "getLiquidStakingExchangeRate", - "section": "stakingPool" + "jsonrpc": "flexibleFee_getFeeTokenAndAmount", + "method": "getFeeTokenAndAmount", + "section": "flexibleFee" } - } - }, - "instances": { - "council": [ - "generalCouncil" - ] - }, - "types": [ - { - "minmax": [ - 600, - 699 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": [ - "ACA", - "AUSD", - "DOT", - "XBTC", - "LDOT", - "RENBTC" - ] - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] - }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" - } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + }, + "salp": { + "getContribution": { + "description": "salp getContribution", + "params": [ + { + "name": "index", + "type": "ParaId" + }, + { + "name": "who", + "type": "AccountIdOf" } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + ], + "type": "(Balance, ContributionStatus)", + "isSubscription": false, + "jsonrpc": "salp_getContribution", + "method": "getContribution", + "section": "salp" + }, + "getLiteContribution": { + "description": "salp getLiteContribution", + "params": [ + { + "name": "index", + "type": "ParaId" + }, + { + "name": "who", + "type": "AccountIdOf" } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "Address": "LookupSource", - "LookupSource": "IndicesLookupSource" + ], + "type": "(Balance, ContributionStatus)", + "isSubscription": false, + "jsonrpc": "salp_getLiteContribution", + "method": "getLiteContribution", + "section": "salp" } }, - { - "minmax": [ - 700, - 719 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": [ - "ACA", - "AUSD", - "DOT", - "XBTC", - "LDOT", - "RENBTC" - ] - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "vtokenMint": { + "getVtokenMintRate": { + "description": "Get current vtoken mint rate.", + "params": [ + { + "name": "asset_id", + "type": "CurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "vtokenMint_getVtokenMintRate", + "method": "getVtokenMintRate", + "section": "vtokenMint" + } + }, + "zenlinkProtocol": { + "getAllAssets": { + "description": "zenlinkProtocol getAllAssets", + "params": [ + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] - }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAllAssets", + "method": "getAllAssets", + "section": "zenlinkProtocol" + }, + "getBalance": { + "description": "zenlinkProtocol getBalance", + "params": [ + { + "name": "asset_id", + "type": "ZenlinkAssetId" + }, + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getBalance", + "method": "getBalance", + "section": "zenlinkProtocol" + }, + "getSovereignsInfo": { + "description": "Get the ownership of a certain currency for each parachain.", + "params": [ + { + "name": "asset_id", + "type": "ZenlinkAssetId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + ], + "type": "(u32, AccountId, String)", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getSovereignsInfo", + "method": "getSovereignsInfo", + "section": "zenlinkProtocol" + }, + "getPairByAssetId": { + "description": "Get the detailed information of a particular exchange pair.", + "params": [ + { + "name": "asset_0", + "type": "ZenlinkAssetId" + }, + { + "name": "asset_1", + "type": "ZenlinkAssetId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + ], + "type": "PairInfo", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getPairByAssetId", + "method": "getPairByAssetId", + "section": "zenlinkProtocol" + }, + "getAmountInPrice": { + "description": "Get the output token amount for an exact input token amount.", + "params": [ + { + "name": "supply", + "type": "ZenlinkAssetBalance" + }, + { + "name": "path", + "type": "Vec" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAmountInPrice", + "method": "getAmountInPrice", + "section": "zenlinkProtocol" + }, + "getAmountOutPrice": { + "description": "Get the input token amount for an exact output token amount.", + "params": [ + { + "name": "supply", + "type": "ZenlinkAssetBalance" + }, + { + "name": "path", + "type": "Vec" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAmountOutPrice", + "method": "getAmountOutPrice", + "section": "zenlinkProtocol" + }, + "getEstimateLptoken": { + "description": "Get the estimated number of LP token acquired given the desired and minimum amount for both in-token and out-token.", + "params": [ + { + "name": "asset_0", + "type": "ZenlinkAssetId" + }, + { + "name": "asset_1", + "type": "ZenlinkAssetId" + }, + { + "name": "amount_0_desired", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_1_desired", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_0_min", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_1_min", + "type": "ZenlinkAssetBalance" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getEstimateLptoken", + "method": "getEstimateLptoken", + "section": "zenlinkProtocol" + } + }, + "liquidityMining": { + "getRewards": { + "description": "Get the rewards users deserve", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" + }, + { + "name": "pallet_instance", + "type": "U32" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec<(CurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "liquidityMining_getRewards", + "method": "getRewards", + "section": "liquidityMining" + } + }, + "stablePool": { + "getSwapOutputAmount": { + "description": "stablePool getSwapOutputAmount", + "params": [ + { + "name": "pool_id", + "type": "U32" + }, + { + "name": "currency_id_in", + "type": "U32" + }, + { + "name": "currency_id_out", + "type": "U32" + }, + { + "name": "amount", + "type": "Balance" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "stablePool_getSwapOutputAmount", + "method": "getSwapOutputAmount", + "section": "stablePool" + } + } + }, + "types": [ + { + "minmax": [ + 0, + 901 + ], + "types": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" - } + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "PoolIdV0": { + "DelayedDispatchTime": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "At": "BlockNumber", + "After": "BlockNumber" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "TokenData": { + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "u8", + "PoolInfo": { + "pool_id": "PoolId", + "keeper": "AccountId", + "investor": "Option", + "trading_pair": "(CurrencyId, CurrencyId)", + "duration": "BlockNumber", + "type": "PoolType", + "min_deposit_to_start": "Balance", + "after_block_to_start": "BlockNumber", "deposit": "Balance", - "attributes": "Attributes" + "rewards": "BTreeMap", + "update_b": "BlockNumber", + "state": "PoolState", + "block_startup": "Option", + "redeem_limit_time": "BlockNumber", + "unlock_limit_nums": "u32", + "pending_unlock_nums": "u32" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "Share": "u128", + "OracleValue": "Price", + "BiddingOrderId": "u64", + "EraId": "u32", + "BiddingOrderUnit": { + "bidder_id": "AccountId", + "token_id": "AssetId", + "block_num": "BlockNumber", + "votes": "Balance", + "annual_roi": "Permill", + "validator": "AccountId" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" }, - "StakingPoolPhase": { + "BlockchainType": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "BIFROST", + "EOS", + "IOST" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" }, - "BalanceInfo": { - "amount": "Balance" + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress" - } - }, - { - "minmax": [ - 720, - 722 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "XBTC": 4, - "RENBTC": 5, - "POLKABTC": 6, - "PLM": 7, - "PHA": 8, - "HDT": 9, - "BCG": 11, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "SDN": 135, - "KILT": 138 - } + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" - } + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] + "TxSig": { + "signature": "Vec", + "author": "AccountId" }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "Succeeded": { + "tx_id": "Vec" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "Failed": { + "tx_id": "Vec", + "reason": "Vec" }, - "LiquidationStrategy": { + "TxOut": { + "_enum": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } + }, + "TransactionStatus": { "_enum": [ - "Auction", - "Exchange" + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" ] }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" + }, + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" }, - "BalanceWrapper": { - "amount": "Balance" + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" }, - "BalanceRequest": { - "amount": "Balance" + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" }, - "TradingPairStatus": { + "IostTxOut": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" } }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "ledger": { + "Substrate": "SubstrateLedger" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "FilecoinLedger": { + "account": "MultiLocationV1", + "initial_pledge": "Balance" }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "FilecoinOwnerByMinerEntry": { + "currency_id": "AccountId", + "miner_id": "MultiLocationV1", + "owner_id": "MultiLocationV1" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" }, - "ExitReason": { + "RedeemStatus": "BalanceOf", + "FundStatus": { "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 } }, - "ExitSucceed": { + "ContributionStatus": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" ] }, - "ExitError": { + "CrowdloanContributeCall": { "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" + "CrowdloanContribute": "ContributeCall" } }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { + "ContributeCall": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "Contribute": "Contribution" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } }, - "PoolId": { + "Keys": "SessionKeys1", + "ParachainTransactType": { "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" + "Xcm": 0, + "Proxy": 1 } }, - "PoolIdV0": { + "RpcContributionStatus": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "swap_fee_rate": "SwapFee", + "active": "bool" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "OracleKey": "CurrencyId", + "BlockNumberFor": "BlockNumber", + "OrderInfo": { + "owner": "AccountIdOf", + "vsbond": "CurrencyId", + "amount": "BalanceOf", + "remain": "BalanceOf", + "total_price": "BalanceOf", + "order_id": "OrderId", + "order_type": "OrderType", + "remain_price": "BalanceOf" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "OrderId": "u64", + "OrderType": { + "_enum": { + "Sell": 0, + "Buy": 1 + } }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "UnlockId": "U32", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "PairStatus": { + "_enum": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10, + "GLMR": 11 + } }, - "ChangeRate": { + "CurrencyId": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", + "ForeignAsset": "u32", + "Token2": "u8", + "VToken2": "u8", + "VSToken2": "u8", + "VSBond2": "u8", + "StableLpToken": "u32", + "Blp": "u32" } }, - "ChangeRatio": { + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "TransferOriginType": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 } }, - "BalanceInfo": { - "amount": "Balance" + "TimeUnit": { + "Era": "u32", + "SlashingSpan": "u32", + "Round": "u32", + "Kblock": "u32" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [ - 723, - 729 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "MinimumsMaximums": { + "delegator_bonded_minimum": "Balance", + "bond_extra_minimum": "Balance", + "unbond_minimum": "Balance", + "rebond_minimum": "Balance", + "unbond_record_maximum": "u32", + "validators_back_maximum": "u32", + "delegator_active_staking_maximum": "Balance", + "validators_reward_maximum": "u32", + "delegation_amount_minimum": "Balance", + "delegators_maximum": "u16", + "validators_maximum": "u16" + }, + "PoolType": { "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "XBTC": 4, - "RENBTC": 5, - "POLKABTC": 6, - "PLM": 7, - "PHA": 8, - "HDT": 9, - "BCG": 11, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "SDN": 135, - "KILT": 138 + "Mining": 0, + "Farming": 1, + "EBFarming": 2 } }, - "DexShare": { + "PoolState": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 } }, - "CurrencyId": { + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber", + "pending_unlocks": "Vec<(BlockNumber, Balance)>" + }, + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" + }, + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "MultiLocation": "MultiLocationV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 902, + null + ], + "types": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "DelayedDispatchTime": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "u8", + "PoolInfo": { + "pool_id": "PoolId", + "keeper": "AccountId", + "investor": "Option", + "trading_pair": "(CurrencyId, CurrencyId)", + "duration": "BlockNumber", + "type": "PoolType", + "min_deposit_to_start": "Balance", + "after_block_to_start": "BlockNumber", + "deposit": "Balance", + "rewards": "BTreeMap", + "update_b": "BlockNumber", + "state": "PoolState", + "block_startup": "Option", + "redeem_limit_time": "BlockNumber", + "unlock_limit_nums": "u32", + "pending_unlock_nums": "u32" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "Share": "u128", + "OracleValue": "Price", + "BiddingOrderId": "u64", + "EraId": "u32", + "BiddingOrderUnit": { + "bidder_id": "AccountId", + "token_id": "AssetId", + "block_num": "BlockNumber", + "votes": "Balance", + "annual_roi": "Permill", + "validator": "AccountId" }, - "BalanceWrapper": { - "amount": "Balance" + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" }, - "BalanceRequest": { - "amount": "Balance" + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", + "BlockchainType": { + "_enum": [ + "BIFROST", + "EOS", + "IOST" + ] + }, + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", "symbol": "Vec", - "decimals": "u8" + "precision": "Precision" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "TxSig": { + "signature": "Vec", + "author": "AccountId" }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "Succeeded": { + "tx_id": "Vec" }, - "ExitFatal": { + "Failed": { + "tx_id": "Vec", + "reason": "Vec" + }, + "TxOut": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "IostTxOut": { + "_enum": { + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "ledger": { + "Substrate": "SubstrateLedger" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { + "UnlockChunk": { "value": "Balance", - "era": "EraIndex" + "unlock_time": "TimeUnit" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "FilecoinLedger": { + "account": "MultiLocationV1", + "initial_pledge": "Balance" }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "FilecoinOwnerByMinerEntry": { + "currency_id": "AccountId", + "miner_id": "MultiLocationV1", + "owner_id": "MultiLocationV1" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } }, - "StakingPoolPhase": { + "ContributionStatus": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } }, - "ChangeRate": { + "ContributeCall": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "Contribute": "Contribution" } }, - "ChangeRatio": { + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" + }, + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Withdraw": "Withdraw" } }, - "BalanceInfo": { - "amount": "Balance" + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" - } - } - }, - { - "minmax": [ - 730, - 1007 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "ParachainDerivedProxyAccountType": { "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 4, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "CASH": 140 + "Salp": 0, + "Staking": 1 } }, - "DexShare": { + "Keys": "SessionKeys1", + "ParachainTransactType": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "Xcm": 0, + "Proxy": 1 } }, - "CurrencyId": { + "RpcContributionStatus": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "OracleKey": "CurrencyId", + "BlockNumberFor": "BlockNumber", + "OrderInfo": { + "owner": "AccountIdOf", + "vsbond": "CurrencyId", + "amount": "BalanceOf", + "remain": "BalanceOf", + "total_price": "BalanceOf", + "order_id": "OrderId", + "order_type": "OrderType", + "remain_price": "BalanceOf" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "OrderId": "u64", + "OrderType": { + "_enum": { + "Sell": 0, + "Buy": 1 + } }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "UnlockId": "U32", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" + }, + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" + }, + "PairStatus": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null } }, - "ChangeOptionRatio": { + "TokenSymbol": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10, + "GLMR": 11 } }, - "ChangeBalance": { + "CurrencyId": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", + "ForeignAsset": "u32", + "Token2": "u8", + "VToken2": "u8", + "VSToken2": "u8", + "VSBond2": "u8", + "StableLpToken": "u32", + "Blp": "u32" } }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "TimeUnit": { + "Era": "u32", + "SlashingSpan": "u32", + "Round": "u32", + "Kblock": "u32" }, - "BalanceWrapper": { - "amount": "Balance" + "MinimumsMaximums": { + "delegator_bonded_minimum": "Balance", + "bond_extra_minimum": "Balance", + "unbond_minimum": "Balance", + "rebond_minimum": "Balance", + "unbond_record_maximum": "u32", + "validators_back_maximum": "u32", + "delegator_active_staking_maximum": "Balance", + "validators_reward_maximum": "u32", + "delegation_amount_minimum": "Balance", + "delegators_maximum": "u16", + "validators_maximum": "u16" }, - "BalanceRequest": { - "amount": "Balance" + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } }, - "TradingPairStatus": { + "PoolState": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 } }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber", + "pending_unlocks": "Vec<(BlockNumber, Balance)>" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1", + "MultiLocation": "MultiLocationV1", + "XcmError": "XcmErrorV1", + "Response": "ResponseV1" + } + } + ], + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + } + }, + "bitcountry-node": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AssetInfo": { + "owner": "AccountId", + "data": "AssetData" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "AssetData": { + "name": "Text", + "description": "Text", + "properties": "Text", + "supporters": "Vec" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "AuctionId": "u64", + "AuctionItem": { + "asset_id": "TokenId", + "class_id": "ClassId", + "recipient": "AccountId", + "initial_amount": "Balance", + "amount": "Balance", + "start_time": "u32", + "end_time": "u32" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "AuctionInfo": { + "bid": "Option<(AccountId,Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "RentId": "u64", + "RentalInfo": { + "owner": "AccountId", + "start": "BlockNumber", + "end": "Option", + "price_per_block": "Balance" + }, + "CountryId": "u64", + "CountryCurrencyId": "u32", + "CollectionId": "u64", + "ClassId": "u32", + "TokenId": "u64", + "ClassInfoOf": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "data": "NftClassData" + }, + "TokenInfoOf": { + "metadata": "Vec", + "owner": "AccountId", + "data": "NftAssetData" + }, + "NftCollectionData": { + "name": "Vec", + "owner": "AccountId", + "properties": "Vec" + }, + "CurrencyId": "u32", + "CurrencyIdOf": "CurrencyId", + "BalanceIdOf": "Balance", + "GroupCollectionId": "u64", + "ClassIdOf": "u32", + "TokenIdOf": "u32", + "SpotId": "u32" + } + } + ] + }, + "bitcountry-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AssetInfo": { + "owner": "AccountId", + "data": "AssetData" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "AssetData": { + "name": "Text", + "description": "Text", + "properties": "Text", + "supporters": "Vec" }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "AuctionId": "u64", + "AuctionItem": { + "asset_id": "TokenId", + "class_id": "ClassId", + "recipient": "AccountId", + "initial_amount": "Balance", + "amount": "Balance", + "start_time": "u32", + "end_time": "u32" }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "AuctionInfo": { + "bid": "Option<(AccountId,Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "RentId": "u64", + "RentalInfo": { + "owner": "AccountId", + "start": "BlockNumber", + "end": "Option", + "price_per_block": "Balance" }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } + "CountryId": "u64", + "CollectionId": "u64", + "ClassId": "u32", + "TokenId": "u64", + "ClassInfoOf": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "data": "NftClassData" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "TokenInfoOf": { + "metadata": "Vec", + "owner": "AccountId", + "data": "NftAssetData" }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } + "NftCollectionData": { + "name": "Vec", + "owner": "AccountId", + "properties": "Vec" }, - "ExitRevert": { + "TokenType": { "_enum": [ - "Reverted" + "Transferrable", + "BoundToAddress" ] }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "NftAssetData": { + "name": "Vec", + "description": "Vec", + "properties": "Vec" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "NftClassData": { + "deposit": "Balance", + "properties": "Vec", + "token_type": "TokenType" }, - "PoolId": { + "NetworkId": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Any": "Null", + "Named": "Vec", + "Polkadot": "Null", + "Kusama": "Null" } }, - "PoolIdV0": { + "CurrencyId": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Token": "TokenSymbol" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "TokenSymbol": { + "_enum": [ + "NUUM", + "AUSD", + "ACA", + "DOT" + ] }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "CountryCurrencyId": "u32", + "CurrencyIdOf": "CurrencyId", + "BalanceIdOf": "Balance", + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "XCurrencyId": { + "chain_id": "ChainId", + "currency_id": "CurrencyId" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "GroupCollectionId": "u64", + "ClassIdOf": "u32", + "TokenIdOf": "u32", + "SpotId": "u32" + } + } + ] + }, + "centrifuge": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "AnchorData": { + "id": "Hash", + "docRoot": "Hash", + "anchoredBlock": "u64" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "ChainId": "u8", + "chainbridge::ChainId": "u8", + "DepositNonce": "u64", + "Fee": { + "key": "Hash", + "price": "Balance" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "ParachainAccountIdOf": "AccountId", + "PreCommitData": { + "signingRoot": "Hash", + "identity": "AccountId", + "expirationBlock": "u64" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "Proof": { + "leafHash": "Hash", + "sortedHashes": "Vec" }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", "ProxyType": { "_enum": [ "Any", - "CancelProxy", + "NonTransfer", "Governance", - "Auction", - "Swap", - "Loan" + "_Staking", + "NonProxy" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "ResourceId": "[u8; 32]", + "RelayChainAccountId": "AccountId", + "RootHashOf": "Hash" + } + } + ] + }, + "centrifuge-chain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "AnchorData": { + "id": "H256", + "docRoot": "H256", + "anchoredBlock": "u64" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "Fee": { + "key": "Hash", + "price": "Balance" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "PreCommitData": { + "signingRoot": "H256", + "identity": "H256", + "expirationBlock": "u64" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "Proof": { + "leafHash": "H256", + "sortedHashes": "H256" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "MultiAccountData": { + "threshold": "u16", + "signatories": "Vec", + "deposit": "Balance", + "depositor": "AccountId" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "ChainId": "u8", + "ResourceId": "[u8; 32]", + "chainbridge::ChainId": "u8", + "DepositNonce": "u64", + "RegistryId": "H160", + "TokenId": "U256", + "AssetId": { + "registryId": "RegistryId", + "tokenId": "TokenId" }, - "BalanceInfo": { - "amount": "Balance" + "RegistryInfo": { + "ownerCanBurn": "bool", + "fields": "Vec" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "AssetInfo": { + "metadata": "Bytes" + }, + "ProofMint": { + "value": "Bytes", + "property": "Bytes", + "salt": "[u8; 32]", + "hashes": "Vec" + }, + "MintInfo": { + "anchorId": "Hash", + "staticHashes": "[Hash; 3]", + "proofs": "Vec" } } - }, + } + ] + }, + "chainx": { + "types": [ { "minmax": [ - 1008, - 1008 + 0, + null ], "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131 - } + "Address": "AccountId", + "LookupSource": "AccountId", + "Chain": { + "_enum": [ + "ChainX", + "Bitcoin", + "Ethereum", + "Polkadot" + ] }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "NetworkType": { + "_enum": [ + "Mainnet", + "Testnet" + ] }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "AssetType": { + "_enum": [ + "Usable", + "Locked", + "Reserved", + "ReservedWithdrawal", + "ReservedDexSpot" + ] }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "OrderType": { "_enum": [ - "KAR", - "ACA" + "Limit", + "Market" ] }, - "AuthoritysOriginId": { + "Side": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "Buy", + "Sell" ] }, - "AcalaDataProviderId": { + "LockedType": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "Bonded", + "BondedWithdrawal" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "Memo": "Text", + "AssetInfo": { + "token": "String", + "tokenName": "String", + "chain": "Chain", + "decimals": "Decimals", + "desc": "String" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "TradingPairProfile": { + "id": "TradingPairId", + "currencyPair": "CurrencyPair", + "pipDecimals": "u32", + "tickDecimals": "u32", + "tradable": "bool" + }, + "Order": { + "props": "OrderProperty", + "status": "OrderStatus", + "remaining": "Balance", + "executedIndices": "Vec", + "alreadyFilled": "Balance", + "lastUpdateAt": "BlockNumber" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "TradingPairInfo": { + "latestPrice": "Price", + "lastUpdated": "BlockNumber" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "OrderExecutedInfo": { + "tradingHistoryIdx": "TradingHistoryIndex", + "pairId": "TradingPairId", + "price": "Price", + "maker": "AccountId", + "taker": "AccountId", + "makerOrderId": "OrderId", + "takerOrderId": "OrderId", + "turnover": "Balance", + "executedAt": "BlockNumber" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "BtcHeaderInfo": { + "header": "BtcHeader", + "height": "u32" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "BtcParams": { + "maxBits": "u32", + "blockMaxFuture": "u32", + "targetTimespanSeconds": "u32", + "targetSpacingSeconds": "u32", + "retargetingFactor": "u32", + "retargetingInterval": "u32", + "minTimespan": "u32", + "maxTimespan": "u32" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "MiningAssetInfo": { + "assetId": "AssetId", + "miningPower": "FixedAssetPower", + "rewardPot": "AccountId", + "rewardPotBalance": "RpcBalance", + "lastTotalMiningWeight": "RpcMiningWeight", + "lastTotalMiningWeightUpdate": "BlockNumber" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "MiningDividendInfo": { + "own": "Balance", + "other": "Balance", + "insufficientStake": "Balance" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "AssetLedger": { + "lastTotalMiningWeight": "MiningWeight", + "lastTotalMiningWeightUpdate": "BlockNumber" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "MinerLedger": { + "lastMiningWeight": "MiningWeight", + "lastMiningWeightUpdate": "BlockNumber", + "lastClaim": "Option" }, - "BalanceWrapper": { - "amount": "Balance" + "ClaimRestriction": { + "stakingRequirement": "StakingRequirement", + "frequencyLimit": "BlockNumber" }, - "BalanceRequest": { - "amount": "Balance" + "NominatorInfo": { + "lastRebond": "Option" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "BondRequirement": { + "selfBonded": "Balance", + "total": "Balance" }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" + "Unbonded": { + "value": "Balance", + "lockedUntil": "BlockNumber" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "ValidatorLedger": { + "totalNomination": "Balance", + "lastTotalVoteWeight": "VoteWeight", + "lastTotalVoteWeightUpdate": "BlockNumber" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "NominatorLedger": { + "nomination": "Balance", + "lastVoteWeight": "VoteWeight", + "lastVoteWeightUpdate": "BlockNumber", + "unbondedChunks": "Vec" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "ValidatorProfile": { + "registeredAt": "BlockNumber", + "isChilled": "bool", + "lastChilled": "Option", + "referralId": "ReferralId" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "GlobalDistribution": { + "treasury": "u32", + "mining": "u32" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "MiningDistribution": { + "asset": "u32", + "staking": "u32" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "InclusionFee": { + "baseFee": "Balance", + "lenFee": "Balance", + "adjustedWeightFee": "Balance" }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "FeeDetails": { + "inclusionFee": "Option>", + "extraFee": "Balance", + "tip": "Balance", + "finalFee": "Balance" }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "UnbondedIndex": "u32", + "Token": "Text", + "Desc": "Text", + "AddrStr": "Text", + "HandicapInfo": "Handicap", + "Price": "u128", + "OrderId": "u64", + "TradingPairId": "u32", + "TradingHistoryIndex": "u64", + "PriceFluctuation": "u32", + "BtcAddress": "Text", + "FixedAssetPower": "u32", + "StakingRequirement": "u32", + "Decimals": "u8", + "CurrencyPair": { + "base": "AssetId", + "quote": "AssetId" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "OrderStatus": { + "_enum": [ + "Created", + "PartialFill", + "Filled", + "PartialFillAndCanceled", + "Canceled" + ] }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } + "AssetId": "u32", + "MiningWeight": "u128", + "VoteWeight": "u128", + "ReferralId": "Text", + "AssetRestriction": { + "_enum": [ + "Move", + "Transfer", + "Deposit", + "Withdraw", + "DestroyWithdrawal", + "DestroyFree" + ] }, - "ExitSucceed": { + "AssetRestrictions": { + "bits": "u32" + }, + "BtcHeader": "Vec", + "BtcNetwork": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "Mainnet", + "Testnet" ] }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } + "OrderInfo": "Order", + "Amount": "i128", + "AmountOf": "Amount", + "CurrencyIdOf": "AssetId", + "CurrencyId": "AssetId", + "Handicap": { + "highestBid": "Price", + "lowestAsk": "Price" }, - "ExitRevert": { + "OrderProperty": { + "id": "OrderId", + "side": "Side", + "price": "Price", + "amount": "Amount", + "pairId": "TradingPairId", + "submitter": "AccountId", + "orderType": "OrderType", + "createdAt": "BlockNumber" + }, + "TotalAssetInfo": { + "info": "AssetInfo", + "balance": "BTreeMap", + "isOnline": "bool", + "restrictions": "AssetRestrictions" + }, + "WithdrawalRecordId": "u32", + "WithdrawalState": { "_enum": [ - "Reverted" + "Applying", + "Processing", + "NormalFinish", + "RootFinish", + "NormalCancel", + "RootCancel" ] }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "WithdrawalRecord": { + "assetId": "AssetId", + "applicant": "AccountId", + "balance": "Balance", + "addr": "AddrStr", + "ext": "Memo", + "height": "BlockNumber" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "WithdrawalLimit": { + "minimalWithdrawal": "Balance", + "fee": "Balance" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "TrusteeInfoConfig": { + "minTrusteeCount": "u32", + "maxTrusteeCount": "u32" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "GenericTrusteeIntentionProps": { + "about": "Text", + "hotEntity": "Vec", + "coldEntity": "Vec" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "GenericTrusteeSessionInfo": { + "trusteeList": "Vec", + "threshold": "u16", + "hotAddress": "Vec", + "coldAddress": "Vec" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "ChainAddress": "Vec", + "BtcTrusteeType": "Vec", + "BtcTrusteeAddrInfo": { + "addr": "BtcAddress", + "redeemScript": "Vec" }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "BtcTrusteeIntentionProps": { + "about": "Text", + "hotEntity": "BtcTrusteeType", + "coldEntity": "BtcTrusteeType" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "BtcTrusteeSessionInfo": { + "trusteeList": "Vec", + "threshold": "u16", + "hotAddress": "BtcTrusteeAddrInfo", + "coldAddress": "BtcTrusteeAddrInfo" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "BtcTransaction": "Vec", + "BtcPartialMerkleTree": "Vec", + "BtcRelayedTxInfo": { + "blockHash": "H256", + "merkleProof": "BtcPartialMerkleTree" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "BtcHeaderIndex": { + "hash": "H256", + "height": "u32" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "BtcTxResult": { + "_enum": [ + "Success", + "Failure" + ] }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "BtcTxState": { + "txType": "BtcTxType", + "result": "BtcTxResult" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "BtcTxType": { + "_enum": [ + "Withdrawal", + "Deposit", + "HotAndCold", + "TrusteeTransition", + "Irrelevance" + ] }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "BtcDepositCache": { + "txid": "H256", + "balance": "u64" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "BtcVoteResult": { + "_enum": [ + "Unfinish", + "Finish" + ] }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "BtcWithdrawalProposal": { + "sigState": "BtcVoteResult", + "withdrawalIdList": "Vec", + "tx": "BtcTransaction", + "trusteeList": "Vec<(AccountId, bool)>" }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "BtcTxVerifier": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "Recover", + "RuntimeInterface" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "RpcTotalAssetInfo": { + "info": "AssetInfo", + "balance": "BTreeMap", + "isOnline": "bool", + "restrictions": "AssetRestrictions" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "RpcOrder": { + "id": "OrderId", + "side": "Side", + "price": "RpcPrice", + "amount": "RpcBalance", + "pairId": "TradingPairId", + "submitter": "AccountId", + "orderType": "OrderType", + "createdAt": "BlockNumber", + "status": "OrderStatus", + "remaining": "RpcBalance", + "executedIndices": "Vec", + "alreadyFilled": "RpcBalance", + "reservedBalance": "RpcBalance", + "lastUpdateAt": "BlockNumber" + }, + "RpcWithdrawalRecord": { + "assetId": "AssetId", + "applicant": "AccountId", + "balance": "RpcBalance", + "addr": "String", + "ext": "String", + "height": "BlockNumber", + "state": "WithdrawalState" + }, + "RpcMiningDividendInfo": { + "own": "RpcBalance", + "other": "RpcBalance", + "insufficientStake": "RpcBalance" + }, + "RpcInclusionFee": { + "baseFee": "RpcBalance", + "lenFee": "RpcBalance", + "adjustedWeightFee": "RpcBalance" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "RpcFeeDetails": { + "inclusionFee": "Option", + "tip": "RpcBalance", + "extraFee": "RpcBalance", + "finalFee": "RpcBalance" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "ValidatorInfo": { + "account": "AccountId", + "registeredAt": "BlockNumber", + "isChilled": "bool", + "lastChilled": "Option", + "totalNomination": "RpcBalance", + "lastTotalVoteWeight": "RpcVoteWeight", + "lastTotalVoteWeightUpdate": "BlockNumber", + "isValidating": "bool", + "selfBonded": "RpcBalance", + "referralId": "String", + "rewardPotAccount": "AccountId", + "rewardPotBalance": "RpcBalance" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "FullPairInfo": { + "baseCurrency": "AssetId", + "highestBid": "RpcPrice", + "id": "TradingPairId", + "latestPrice": "RpcPrice", + "latestPriceUpdatedAt": "BlockNumber", + "lowestAsk": "RpcPrice", + "maxValidBid": "RpcPrice", + "minValidAsk": "RpcPrice", + "pipDecimals": "u32", + "quoteCurrency": "AssetId", + "tickDecimals": "u32", + "tradable": "bool" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "Depth": { + "asks": "Vec<(RpcPrice, RpcBalance)>", + "bids": "Vec<(RpcPrice, RpcBalance)>" }, - "BalanceInfo": { - "amount": "Balance" + "Page": { + "pageIndex": "u32", + "pageSize": "u32", + "data": "Vec" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" - } + "String": "Text", + "Balance": "u128", + "RpcPrice": "String", + "RpcBalance": "String", + "RpcMiningWeight": "String", + "RpcVoteWeight": "String", + "FullIdentification": "ValidatorId", + "WithdrawalRecordOf": "WithdrawalRecord" } - }, + } + ] + }, + "chainx-parachain": { + "types": [ { "minmax": [ - 1008, - 1009 + 0, + null ], "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "BNC": 168, - "VSKSM": 169, - "PHA": 170, - "KINT": 171, - "KBTC": 172 - } + "Address": "AccountId", + "LookupSource": "AccountId", + "Chain": { + "_enum": [ + "ChainX", + "Bitcoin", + "Ethereum", + "Polkadot" + ] }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "NetworkType": { + "_enum": [ + "Mainnet", + "Testnet" + ] }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "AssetType": { + "_enum": [ + "Usable", + "Locked", + "Reserved", + "ReservedWithdrawal", + "ReservedDexSpot" + ] }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "OrderType": { "_enum": [ - "KAR", - "ACA" + "Limit", + "Market" ] }, - "AuthoritysOriginId": { + "Side": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "Buy", + "Sell" ] }, - "AcalaDataProviderId": { + "LockedType": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "Bonded", + "BondedWithdrawal" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "Memo": "Text", + "AssetInfo": { + "token": "String", + "tokenName": "String", + "chain": "Chain", + "decimals": "Decimals", + "desc": "String" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "TradingPairProfile": { + "id": "TradingPairId", + "currencyPair": "CurrencyPair", + "pipDecimals": "u32", + "tickDecimals": "u32", + "tradable": "bool" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "Order": { + "props": "OrderProperty", + "status": "OrderStatus", + "remaining": "Balance", + "executedIndices": "Vec", + "alreadyFilled": "Balance", + "lastUpdateAt": "BlockNumber" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "TradingPairInfo": { + "latestPrice": "Price", + "lastUpdated": "BlockNumber" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "OrderExecutedInfo": { + "tradingHistoryIdx": "TradingHistoryIndex", + "pairId": "TradingPairId", + "price": "Price", + "maker": "AccountId", + "taker": "AccountId", + "makerOrderId": "OrderId", + "takerOrderId": "OrderId", + "turnover": "Balance", + "executedAt": "BlockNumber" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "BtcHeaderInfo": { + "header": "BtcHeader", + "height": "u32" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "BtcParams": { + "maxBits": "u32", + "blockMaxFuture": "u32", + "targetTimespanSeconds": "u32", + "targetSpacingSeconds": "u32", + "retargetingFactor": "u32", + "retargetingInterval": "u32", + "minTimespan": "u32", + "maxTimespan": "u32" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "MiningAssetInfo": { + "assetId": "AssetId", + "miningPower": "FixedAssetPower", + "rewardPot": "AccountId", + "rewardPotBalance": "RpcBalance", + "lastTotalMiningWeight": "RpcMiningWeight", + "lastTotalMiningWeightUpdate": "BlockNumber" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "MiningDividendInfo": { + "own": "Balance", + "other": "Balance", + "insufficientStake": "Balance" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "AssetLedger": { + "lastTotalMiningWeight": "MiningWeight", + "lastTotalMiningWeightUpdate": "BlockNumber" }, - "BalanceWrapper": { - "amount": "Balance" + "MinerLedger": { + "lastMiningWeight": "MiningWeight", + "lastMiningWeightUpdate": "BlockNumber", + "lastClaim": "Option" }, - "BalanceRequest": { - "amount": "Balance" + "ClaimRestriction": { + "stakingRequirement": "StakingRequirement", + "frequencyLimit": "BlockNumber" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "NominatorInfo": { + "lastRebond": "Option" }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" + "BondRequirement": { + "selfBonded": "Balance", + "total": "Balance" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "Unbonded": { + "value": "Balance", + "lockedUntil": "BlockNumber" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "ValidatorLedger": { + "totalNomination": "Balance", + "lastTotalVoteWeight": "VoteWeight", + "lastTotalVoteWeightUpdate": "BlockNumber" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "NominatorLedger": { + "nomination": "Balance", + "lastVoteWeight": "VoteWeight", + "lastVoteWeightUpdate": "BlockNumber", + "unbondedChunks": "Vec" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "ValidatorProfile": { + "registeredAt": "BlockNumber", + "isChilled": "bool", + "lastChilled": "Option", + "referralId": "ReferralId" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "GlobalDistribution": { + "treasury": "u32", + "mining": "u32" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "MiningDistribution": { + "asset": "u32", + "staking": "u32" }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "InclusionFee": { + "baseFee": "Balance", + "lenFee": "Balance", + "adjustedWeightFee": "Balance" }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "FeeDetails": { + "inclusionFee": "Option>", + "extraFee": "Balance", + "tip": "Balance", + "finalFee": "Balance" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "UnbondedIndex": "u32", + "Token": "Text", + "Desc": "Text", + "AddrStr": "Text", + "HandicapInfo": "Handicap", + "Price": "u128", + "OrderId": "u64", + "TradingPairId": "u32", + "TradingHistoryIndex": "u64", + "PriceFluctuation": "u32", + "BtcAddress": "Text", + "FixedAssetPower": "u32", + "StakingRequirement": "u32", + "Decimals": "u8", + "CurrencyPair": { + "base": "AssetId", + "quote": "AssetId" }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } + "OrderStatus": { + "_enum": [ + "Created", + "PartialFill", + "Filled", + "PartialFillAndCanceled", + "Canceled" + ] }, - "ExitSucceed": { + "AssetId": "u32", + "MiningWeight": "u128", + "VoteWeight": "u128", + "ReferralId": "Text", + "AssetRestriction": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "Move", + "Transfer", + "Deposit", + "Withdraw", + "DestroyWithdrawal", + "DestroyFree" ] }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } + "AssetRestrictions": { + "bits": "u32" }, - "ExitRevert": { + "BtcHeader": "Vec", + "BtcNetwork": { + "_enum": [ + "Mainnet", + "Testnet" + ] + }, + "OrderInfo": "Order", + "Amount": "i128", + "AmountOf": "Amount", + "CurrencyIdOf": "AssetId", + "CurrencyId": "AssetId", + "Handicap": { + "highestBid": "Price", + "lowestAsk": "Price" + }, + "OrderProperty": { + "id": "OrderId", + "side": "Side", + "price": "Price", + "amount": "Amount", + "pairId": "TradingPairId", + "submitter": "AccountId", + "orderType": "OrderType", + "createdAt": "BlockNumber" + }, + "TotalAssetInfo": { + "info": "AssetInfo", + "balance": "BTreeMap", + "isOnline": "bool", + "restrictions": "AssetRestrictions" + }, + "WithdrawalRecordId": "u32", + "WithdrawalState": { "_enum": [ - "Reverted" + "Applying", + "Processing", + "NormalFinish", + "RootFinish", + "NormalCancel", + "RootCancel" ] }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "WithdrawalRecord": { + "assetId": "AssetId", + "applicant": "AccountId", + "balance": "Balance", + "addr": "AddrStr", + "ext": "Memo", + "height": "BlockNumber" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "WithdrawalLimit": { + "minimalWithdrawal": "Balance", + "fee": "Balance" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "TrusteeInfoConfig": { + "minTrusteeCount": "u32", + "maxTrusteeCount": "u32" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "GenericTrusteeIntentionProps": { + "about": "Text", + "hotEntity": "Vec", + "coldEntity": "Vec" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "GenericTrusteeSessionInfo": { + "trusteeList": "Vec", + "threshold": "u16", + "hotAddress": "Vec", + "coldAddress": "Vec" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "ChainAddress": "Vec", + "BtcTrusteeType": "Vec", + "BtcTrusteeAddrInfo": { + "addr": "BtcAddress", + "redeemScript": "Vec" }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "BtcTrusteeIntentionProps": { + "about": "Text", + "hotEntity": "BtcTrusteeType", + "coldEntity": "BtcTrusteeType" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "BtcTrusteeSessionInfo": { + "trusteeList": "Vec", + "threshold": "u16", + "hotAddress": "BtcTrusteeAddrInfo", + "coldAddress": "BtcTrusteeAddrInfo" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "BtcTransaction": "Vec", + "BtcPartialMerkleTree": "Vec", + "BtcRelayedTxInfo": { + "blockHash": "H256", + "merkleProof": "BtcPartialMerkleTree" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "BtcHeaderIndex": { + "hash": "H256", + "height": "u32" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "BtcTxResult": { + "_enum": [ + "Success", + "Failure" + ] }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "BtcTxState": { + "txType": "BtcTxType", + "result": "BtcTxResult" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "BtcTxType": { + "_enum": [ + "Withdrawal", + "Deposit", + "HotAndCold", + "TrusteeTransition", + "Irrelevance" + ] }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "BtcDepositCache": { + "txid": "H256", + "balance": "u64" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "BtcVoteResult": { + "_enum": [ + "Unfinish", + "Finish" + ] }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "BtcWithdrawalProposal": { + "sigState": "BtcVoteResult", + "withdrawalIdList": "Vec", + "tx": "BtcTransaction", + "trusteeList": "Vec<(AccountId, bool)>" }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "BtcTxVerifier": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "Recover", + "RuntimeInterface" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "RpcTotalAssetInfo": { + "info": "AssetInfo", + "balance": "BTreeMap", + "isOnline": "bool", + "restrictions": "AssetRestrictions" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "RpcOrder": { + "id": "OrderId", + "side": "Side", + "price": "RpcPrice", + "amount": "RpcBalance", + "pairId": "TradingPairId", + "submitter": "AccountId", + "orderType": "OrderType", + "createdAt": "BlockNumber", + "status": "OrderStatus", + "remaining": "RpcBalance", + "executedIndices": "Vec", + "alreadyFilled": "RpcBalance", + "reservedBalance": "RpcBalance", + "lastUpdateAt": "BlockNumber" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "RpcWithdrawalRecord": { + "assetId": "AssetId", + "applicant": "AccountId", + "balance": "RpcBalance", + "addr": "String", + "ext": "String", + "height": "BlockNumber", + "state": "WithdrawalState" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "RpcMiningDividendInfo": { + "own": "RpcBalance", + "other": "RpcBalance", + "insufficientStake": "RpcBalance" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "RpcInclusionFee": { + "baseFee": "RpcBalance", + "lenFee": "RpcBalance", + "adjustedWeightFee": "RpcBalance" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "RpcFeeDetails": { + "inclusionFee": "Option", + "tip": "RpcBalance", + "extraFee": "RpcBalance", + "finalFee": "RpcBalance" }, - "BalanceInfo": { - "amount": "Balance" + "ValidatorInfo": { + "account": "AccountId", + "registeredAt": "BlockNumber", + "isChilled": "bool", + "lastChilled": "Option", + "totalNomination": "RpcBalance", + "lastTotalVoteWeight": "RpcVoteWeight", + "lastTotalVoteWeightUpdate": "BlockNumber", + "isValidating": "bool", + "selfBonded": "RpcBalance", + "referralId": "String", + "rewardPotAccount": "AccountId", + "rewardPotBalance": "RpcBalance" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", + "FullPairInfo": { + "baseCurrency": "AssetId", + "highestBid": "RpcPrice", + "id": "TradingPairId", + "latestPrice": "RpcPrice", + "latestPriceUpdatedAt": "BlockNumber", + "lowestAsk": "RpcPrice", + "maxValidBid": "RpcPrice", + "minValidAsk": "RpcPrice", + "pipDecimals": "u32", + "quoteCurrency": "AssetId", + "tickDecimals": "u32", + "tradable": "bool" + }, + "Depth": { + "asks": "Vec<(RpcPrice, RpcBalance)>", + "bids": "Vec<(RpcPrice, RpcBalance)>" + }, + "Page": { + "pageIndex": "u32", + "pageSize": "u32", + "data": "Vec" + }, + "String": "Text", + "Balance": "u128", + "RpcPrice": "String", + "RpcBalance": "String", + "RpcMiningWeight": "String", + "RpcVoteWeight": "String", + "FullIdentification": "ValidatorId", + "WithdrawalRecordOf": "WithdrawalRecord" + } + } + ] + }, + "clover": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Amount": "i128", + "Keys": "SessionKeys4", + "AmountOf": "Amount", + "Balance": "u128", "Rate": "FixedU128", "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "EcdsaSignature": "[u8; 65]", + "EvmAddress": "H160", + "EthereumTxHash": "H256", + "BridgeNetworks": { + "_enum": [ + "BSC", + "Ethereum", + "CloverPara" + ] } } - }, + } + ] + }, + "clover-rococo": { + "types": [ { "minmax": [ - 1010, - 1013 + 0, + null ], "types": { "Amount": "i128", "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "BNC": 168, - "VSKSM": 169, - "PHA": 170, - "KINT": 171, - "KBTC": 172 - } + "Balance": "u128", + "CurrencyId": { + "_enum": [ + "CLV", + "CUSDT", + "DOT", + "CETH" + ] }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "CurrencyIdOf": "CurrencyId", + "CurrencyTypeEnum": { + "_enum": [ + "CLV", + "CUSDT", + "DOT", + "CETH" + ] }, - "CurrencyId": { + "PairKey": "u64", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "Share": "u128", + "OracleKey": "CurrencyId", + "CurrencyInfo": { + "id": "CurrencyId", + "name": "CurrencyTypeEnum" + }, + "ExchangeInfo": { + "balance": "Balance", + "routes": "Vec" + }, + "PoolId": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "Swap": "u64" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "EcdsaSignature": "[u8; 65]", + "EvmAddress": "H160", + "ExitSucceed": { "_enum": [ - "KAR", - "ACA" + "Stopped", + "Returned", + "Suicided" ] }, - "AuthoritysOriginId": { + "ExitRevert": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "Reverted" ] }, - "AcalaDataProviderId": { + "ExitError": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "StackUnderflow", + "StackOverflow", + "InvalidJump", + "InvalidRange", + "DesignatedInvalid", + "CallTooDeep", + "CreateCollision", + "CreateContractLimit", + "OutOfOffset", + "OutOfGas", + "OutOfFund", + "PCUnderflow", + "CreateEmpty", + "Other" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" - }, - "LiquidationStrategy": { + "ExitFatal": { "_enum": [ - "Auction", - "Exchange" + "NotSupported", + "UnhandledInterrupt", + "CallErrorAsFatal", + "Other" ] }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "ExitReason": { + "_enum": [ + "Succeed", + "Error", + "Revert", + "Fatal" + ] + } + } + } + ] + }, + "coinversation": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId" + } + } + ] + }, + "communeai": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Balance": "u64", + "NeuronMetadata": { + "version": "u32", + "ip": "u128", + "port": "u16", + "ipType": "u8", + "uid": "u32", + "netuid": "u16", + "modality": "u8", + "hotkey": "AccountId", + "coldkey": "AccountId", + "active": "u32", + "lastUpdate": "u64", + "priority": "u64", + "stake": "u64", + "rank": "u64", + "trust": "u64", + "consensus": "u64", + "incentive": "u64", + "dividends": "u64", + "emission": "u64", + "bonds": "Vec<(u32, u64)>", + "weights": "Vec<(u32, u32)>" + } + } + } + ] + }, + "competitors-club": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "ClassId": "u64", + "ClassInfoOf": "ClassId", + "BalanceOf": "Balance", + "BalanceReservableOf": "BalanceOf", + "Moment": "u64", + "Place": { + "spot": "u32", + "payout": "Balance" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "Competitor": { + "vie_id": "[u8;16]", + "staked": "bool", + "submitted_winner": "bool" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "Vie": { + "operator": "AccountId", + "stake": "Balance", + "places": "Vec", + "time": "Moment", + "competitors": "Vec", + "memo": "Vec" }, - "BalanceWrapper": { - "amount": "Balance" + "VieOf": "Vie", + "VieReq": { + "stake": "Balance", + "places": "Vec", + "competitors": "Vec", + "memo": "Vec" }, - "BalanceRequest": { - "amount": "Balance" + "VieRequestOf": "VieReq", + "Participants": { + "AccountId": "[u8;16]" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "Operators": { + "AccountId": "[u8;16]" }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" + "StandingReq": { + "competitor": "AccountId", + "spot": "u32" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "PodiumReq": { + "champion": "AccountId", + "podium": "Vec" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "PodiumReqOf": "PodiumReq", + "Trophy": { + "trophy": "[u8; 16]", + "competitors": "Vec", + "stake": "Balance", + "memo": "Vec", + "time": "u64", + "podium": "Vec" }, - "EvmAccountInfo": { + "TokenId": "u64", + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "Trophy" + }, + "TokenInfoOf": "TokenInfo" + } + } + ] + }, + "continuum-runtime": { + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u64", + "AuctionIdOf": "AuctionId", + "BalanceIdOf": "Balance", + "MetaverseId": "u64", + "FungibleTokenId": { + "_enum": { + "NativeToken": "TokenId", + "FungibleToken": "TokenId", + "DEXShare": "(TokenId, TokenId)", + "MiningResource": "TokenId" + } + }, + "CurrencyIdOf": "FungibleTokenId", + "TradingPairStatus": { + "_enum": [ + "NotEnabled", + "Enabled" + ] + }, + "TradingPair": "(FungibleTokenId,FungibleTokenId)", + "TokenId": "u64", + "SpotId": "u32", + "ItemId": { + "_enum": { + "NFT": "AssetId", + "Spot": "(u64, MetaverseId)", + "Metaverse": "MetaverseId", + "Block": "u64" + } + }, + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithTripleRefCount", + "AssetInfo": { + "owner": "AccountId", + "data": "AssetData" + }, + "AssetId": "u64", + "AssetData": { + "name": "Text", + "description": "Text", + "properties": "Text", + "supporters": "Vec" + }, + "AuctionItem": { + "itemId": "ItemId", + "recipient": "AccountId", + "initialAmount": "Balance", + "amount": "Balance", + "startTime": "u32", + "endTime": "u32", + "auctionType": "AuctionType", + "listingLevel": "ListingLevel", + "currencyId": "FungibleTokenId" + }, + "AuctionInfo": { + "bid": "Option<(AccountId,Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "AuctionType": { + "_enum": [ + "Auction", + "BuyNow" + ] + }, + "RentId": "u64", + "RentalInfo": { + "owner": "AccountId", + "start": "BlockNumber", + "end": "Option", + "price_per_block": "Balance" + }, + "CountryId": "u64", + "CollectionId": "u64", + "ClassId": "u32", + "ClassInfoOf": { + "metadata": "Vec", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "NftClassData" + }, + "TokenInfoOf": { + "metadata": "Vec", + "owner": "AccountId", + "data": "NftAssetData" + }, + "NftCollectionData": { + "name": "Vec", + "owner": "AccountId", + "properties": "Vec" + }, + "NftGroupCollectionData": { + "name": "Vec", + "properties": "Vec" + }, + "NftAssetData": { + "deposit": "Balance", + "attributes": "Attributes" + }, + "NftClassData": { + "deposit": "Balance", + "attributes": "Attributes", + "tokenType": "TokenType", + "collectionType": "CollectionType", + "totalSupply": "u64", + "initialSupply": "u64" + }, + "NetworkId": { + "_enum": { + "Any": "Null", + "Named": "Vec", + "Polkadot": "Null", + "Kusama": "Null" + } + }, + "CollectionType": { + "_enum": [ + "Collectable", + "Wearable", + "Executable" + ] + }, + "CurrencyId": "SocialTokenCurrencyId", + "TokenSymbol": { + "_enum": [ + "NUUM", + "AUSD", + "ACA", + "DOT" + ] + }, + "CountryCurrencyId": "u32", + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "XCurrencyId": { + "chain_id": "ChainId", + "currency_id": "CurrencyId" + }, + "GroupCollectionId": "u64", + "ClassIdOf": "ClassId", + "TokenIdOf": "TokenId", + "PoolId": "u32", + "SocialTokenCurrencyId": { + "_enum": { + "NativeToken": "TokenId", + "FungibleToken": "TokenId", + "DEXShare": "(TokenId, TokenId)", + "MiningResource": "TokenId" + } + }, + "Country": { + "owner": "AccountId", + "metadata": "Text", + "currency_id": "SocialTokenCurrencyId" + }, + "Ticker": "Vec", + "Token": { + "ticker": "Ticker", + "total_supply": "Balance" + }, + "CountryFund": { + "vault": "AccountId", + "value": "u128", + "backing": "u128", + "currency_id": "SocialTokenCurrencyId" + }, + "LandId": "u64", + "BlindBoxId": "u64", + "BlindBoxType": { + "_enum": [ + "KSM", + "NUUM", + "MainnetNFTHat", + "MainnetNFTJacket", + "MainnetNFTPants", + "MainnetNFTShoes", + "CollectableNFT" + ] + }, + "BlindBoxRewardItem": { + "recipient": "AccountId", + "amount": "u32", + "blindbox_type": "BlindBoxType" + }, + "TokenType": { + "_enum": [ + "Transferable", + "BoundToAddress" + ] + }, + "ListingLevel": { + "_enum": { + "Global": "Null", + "Local": "MetaverseId" + } + }, + "ResourceId": "[u8; 32]", + "VoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "RelativeMajority" + ] + }, + "ProposalId": "u64", + "ReferendumId": "u64", + "CountryParameter": { + "_enum": { + "MaxProposals": "u8", + "SetReferendumJury": "AccountId" + } + }, + "PreimageStatus": { + "_enum": { + "Missing": "BlockNumber", + "Available": { + "data": "Vec", + "provider": "AccountId", + "deposit": "Balance", + "since": "BlockNumber", + "expiry": "Option" + } + } + }, + "ReferendumParameters": { + "voting_threshold": "Option", + "min_proposal_launch_period": "BlockNumber", + "voting_period": "BlockNumber", + "enactment_period": "BlockNumber", + "local_vote_locking_period": "BlockNumber", + "max_proposals_per_metaverse": "u8" + }, + "Vote": { + "aye": "bool" + }, + "Tally": { + "ayes": "Balance", + "nays": "Balance", + "turnout": "Balance" + }, + "VotingRecord": { + "votes": "Vec<(ReferendumId,Vote)>", + "prior": "PriorLock" + }, + "ProposalInfo": { + "proposed_by": "AccountId", + "hash": "Hash", + "description": "Vec", + "referendum_launch_block": "BlockNumber" + }, + "ReferendumStatus": { + "end": "BlockNumber", + "metaverse": "MetaverseId", + "proposal": "ProposalId", + "tally": "Tally", + "threshold": "Option" + }, + "RoundIndex": "u32", + "MetaverseMetadata": "Vec", + "VestingScheduleOf": "VestingSchedule", + "VestingSchedule": { + "token": "FungibleTokenId", + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "NFTClassId": "u32", + "Attributes": "BTreeMap,Vec>", + "EstateId": "u64", + "Coordinates": "Vec<(i32,i32)>", + "Coordinate": "(i32,i32)", + "NewBound": "(i32,i32)", + "UndeployedLandBlockId": "u128", + "LandUnits": "Vec<(i32, i32)>", + "UndeployedLandBlockType": { + "_enum": [ + "Transferable", + "BoundToAddress" + ] + }, + "MetaverseInfo": { + "owner": "AccountId", + "metadata": "MetaverseMetadata", + "currencyId": "FungibleTokenId" + }, + "OrmlAccountData": { + "free": "Balance", + "frozen": "Balance", + "reserved": "Balance" + }, + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "OrmlVestingSchedule": { + "token": "FungibleTokenId", + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Balance" + }, + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" + }, + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" + }, + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" + }, + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "ValidatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "MetaverseToken": { + "ticker": "Ticker", + "totalSupply": "Balance" + }, + "MetaverseParameter": { + "_enum": { + "MaxProposals": "u8", + "SetReferendumJury": "AccountId" + } + }, + "Delegations": { + "votes": "Balance", + "capital": "Balance" + }, + "Conviction": { + "_enum": [ + "None", + "Locked1x", + "Locked2x", + "Locked3x", + "Locked4x", + "Locked5x", + "Locked6x" + ] + }, + "PalletGovernanceVote": { + "aye": "bool", + "balance": "Balance", + "conviction": "Conviction" + }, + "PriorLock": "(BlockNumber, Balance)", + "ReferendumInfo": { + "_enum": { + "Ongoing": "ReferendumStatus", + "Finished": { + "passed": "bool", + "end": "BlockNumber" + } + } + }, + "PowerAmount": "u64", + "ElementId": "u32", + "GeneratorNftId": "(ClassId, TokenId)", + "DistributorNftId": "(ClassId, TokenId)" + }, + "contracts": { + "types": [ + { + "minmax": [ + 0, + 8 + ], + "types": { + "Address": "AccountId", + "Keys": "SessionKeys2", + "LookupSource": "AccountId", + "Schedule": "ScheduleTo258" + } + }, + { + "minmax": [ + 9, + null + ], + "types": { + "Keys": "SessionKeys2" + } + } + ] + }, + "crown-sterling": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": { "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "consumers": "RefCount", + "providers": "RefCount", + "data": "AccountData" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "Balance": "u128", + "BalanceOf": "Balance", + "AuthorityOf": "AccountId", + "PaymentId": "[u8;16]", + "Payment": { + "id": "PaymentId", + "account_id": "AccountId", + "success_url": "Vec", + "failure_url": "Vec", + "paid": "bool", + "pay_to": "AccountId" }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } + "PeerId": "(Vec)", + "Amendment": { + "statement": "Vec", + "owners": "Vec" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "BlockNumber": "u32", + "VestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "period_count": "BlockNumber", + "per_period": "Compact" }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } + "VestingScheduleOf": "VestingSchedule" + } + } + ] + }, + "crust": { + "rpc": {}, + "types": [ + { + "minmax": [ + null, + null + ], + "types": { + "AccountInfo": "AccountInfoWithProviders", + "Address": "AccountId", + "AddressInfo": "Vec", + "LookupSource": "AccountId", + "EraBenefits": { + "total_fee_reduction_quota": "Compact", + "total_market_active_funds": "Compact", + "used_fee_reduction_quota": "Compact", + "active_era": "Compact" }, - "ExitRevert": { + "FundsType": { "_enum": [ - "Reverted" + "SWORK", + "MARKET" ] }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { + "FundsUnlockChunk": { "value": "Compact", "era": "Compact" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" - } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [ - 1014, - 1018 - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "BNC": 168, - "VSKSM": 169, - "PHA": 170, - "KINT": 171, - "KBTC": 172 - } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "MarketBenefit": { + "total_funds": "Compact", + "active_funds": "Compact", + "used_fee_reduction_quota": "Compact", + "file_reward": "Compact", + "refreshed_at": "Compact", + "unlocking_funds": "Vec>" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "SworkBenefit": { + "total_funds": "Compact", + "active_funds": "Compact", + "total_fee_reduction_count": "u32", + "used_fee_reduction_count": "u32", + "refreshed_at": "Compact", + "unlocking_funds": "Vec>" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "BridgeChainId": "u8", + "ChainId": "u8", + "ResourceId": "H256", + "DepositNonce": "u64", + "ProposalStatus": { "_enum": [ - "KAR", - "ACA" + "Initiated", + "Approved", + "Rejected" ] }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "Erc721Token": { + "id": "TokenId", + "metadata": "Vec" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "TokenId": "U256", + "ETHAddress": "Vec", + "EthereumTxHash": "H256", + "Lock": { + "total": "Compact", + "last_unlock_at": "BlockNumber", + "lock_type": "LockType" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "LockType": { + "delay": "BlockNumber", + "lock_period": "u32" }, - "DebitAuctionItem": { - "initialAmount": "Compact", + "FileInfo": { + "file_size": "u64", + "spower": "u64", + "expired_at": "BlockNumber", + "calculated_at": "BlockNumber", "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "prepaid": "Compact", + "reported_replica_count": "u32", + "replicas": "Vec>" }, - "SurplusAuctionItem": { + "FileInfoV2": { + "file_size": "u64", + "spower": "u64", + "expired_at": "BlockNumber", + "calculated_at": "BlockNumber", "amount": "Compact", - "startTime": "BlockNumber" + "prepaid": "Compact", + "reported_replica_count": "u32", + "remaining_paid_count": "u32", + "replicas": "BTreeMap>" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "Replica": { + "who": "AccountId", + "valid_at": "BlockNumber", + "anchor": "SworkerAnchor", + "is_reported": "bool", + "created_at": "Option" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "Guarantee": { + "targets": "Vec>", + "total": "Compact", + "submitted_in": "EraIndex", + "suppressed": "bool" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "ValidatorPrefs": { + "guarantee_fee": "Compact" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "Group": { + "members": "BTreeSet", + "allowlist": "BTreeSet" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "IASSig": "Vec", + "Identity": { + "anchor": "SworkerAnchor", + "punishment_deadline": "u64", + "group": "Option" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "ISVBody": "Vec", + "MerkleRoot": "Vec", + "ReportSlot": "u64", + "PKInfo": { + "code": "SworkerCode", + "anchor": "Option" }, - "BalanceWrapper": { - "amount": "Balance" + "SworkerAnchor": "Vec", + "SworkerCert": "Vec", + "SworkerCode": "Vec", + "SworkerPubKey": "Vec", + "SworkerSignature": "Vec", + "WorkReport": { + "report_slot": "u64", + "spower": "u64", + "free": "u64", + "reported_files_size": "u64", + "reported_srd_root": "MerkleRoot", + "reported_files_root": "MerkleRoot" + } + } + } + ], + "alias": {} + }, + "crust-parachain": { + "rpc": {}, + "types": [ + { + "minmax": [ + null, + null + ], + "types": { + "AccountInfo": "AccountInfoWithProviders", + "Address": "AccountId", + "AddressInfo": "Vec", + "LookupSource": "AccountId", + "EraBenefits": { + "total_fee_reduction_quota": "Compact", + "total_market_active_funds": "Compact", + "used_fee_reduction_quota": "Compact", + "active_era": "Compact" }, - "BalanceRequest": { - "amount": "Balance" + "FundsType": { + "_enum": [ + "SWORK", + "MARKET" + ] }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "FundsUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" + "MarketBenefit": { + "total_funds": "Compact", + "active_funds": "Compact", + "used_fee_reduction_quota": "Compact", + "file_reward": "Compact", + "refreshed_at": "Compact", + "unlocking_funds": "Vec>" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "SworkBenefit": { + "total_funds": "Compact", + "active_funds": "Compact", + "total_fee_reduction_count": "u32", + "used_fee_reduction_count": "u32", + "refreshed_at": "Compact", + "unlocking_funds": "Vec>" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "BridgeChainId": "u8", + "ChainId": "u8", + "ResourceId": "H256", + "DepositNonce": "u64", + "ProposalStatus": { + "_enum": [ + "Initiated", + "Approved", + "Rejected" + ] }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "Erc721Token": { + "id": "TokenId", + "metadata": "Vec" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "TokenId": "U256", + "ETHAddress": "Vec", + "EthereumTxHash": "H256", + "Lock": { + "total": "Compact", + "last_unlock_at": "BlockNumber", + "lock_type": "LockType" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "LockType": { + "delay": "BlockNumber", + "lock_period": "u32" }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "FileInfo": { + "file_size": "u64", + "spower": "u64", + "expired_at": "BlockNumber", + "calculated_at": "BlockNumber", + "amount": "Compact", + "prepaid": "Compact", + "reported_replica_count": "u32", + "replicas": "Vec>" }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "FileInfoV2": { + "file_size": "u64", + "spower": "u64", + "expired_at": "BlockNumber", + "calculated_at": "BlockNumber", + "amount": "Compact", + "prepaid": "Compact", + "reported_replica_count": "u32", + "remaining_paid_count": "u32", + "replicas": "BTreeMap>" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "Replica": { + "who": "AccountId", + "valid_at": "BlockNumber", + "anchor": "SworkerAnchor", + "is_reported": "bool", + "created_at": "Option" }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } + "Guarantee": { + "targets": "Vec>", + "total": "Compact", + "submitted_in": "EraIndex", + "suppressed": "bool" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "ValidatorPrefs": { + "guarantee_fee": "Compact" }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" + "Group": { + "members": "BTreeSet", + "allowlist": "BTreeSet" + }, + "IASSig": "Vec", + "Identity": { + "anchor": "SworkerAnchor", + "punishment_deadline": "u64", + "group": "Option" + }, + "ISVBody": "Vec", + "MerkleRoot": "Vec", + "ReportSlot": "u64", + "PKInfo": { + "code": "SworkerCode", + "anchor": "Option" + }, + "SworkerAnchor": "Vec", + "SworkerCert": "Vec", + "SworkerCode": "Vec", + "SworkerPubKey": "Vec", + "SworkerSignature": "Vec", + "WorkReport": { + "report_slot": "u64", + "spower": "u64", + "free": "u64", + "reported_files_size": "u64", + "reported_srd_root": "MerkleRoot", + "reported_files_root": "MerkleRoot" + } + } + } + ], + "alias": {} + }, + "cumulus-test-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId" + } + } + ] + }, + "curio-mainnet": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + } + ], + "runtime": { + "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" + }, + "get_sorted_proposed_candidates": { + "description": "Provides a sorted list of collators most suited for given delegator's stake amount determined with some heuristic algorithm", + "params": [ + { + "name": "balance", + "type": "Balance" + } + ], + "type": "Vec" } }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "version": 1 + } + ] + } + }, + "curio-testnet": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + } + ], + "runtime": { + "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" + }, + "get_sorted_proposed_candidates": { + "description": "Provides a sorted list of collators most suited for given delegator's stake amount determined with some heuristic algorithm", + "params": [ + { + "name": "balance", + "type": "Balance" + } + ], + "type": "Vec" + } }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "version": 1 + } + ] + } + }, + "data-avail": { + "rpc": { + "kate": { + "blockLength": { + "description": "Get Block Length", + "params": [ + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "BlockLength" + }, + "queryProof": { + "description": "Generate the kate proof for the given `cells`", + "params": [ + { + "name": "cells", + "type": "Vec" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec" + }, + "queryAppData": { + "description": "Fetches app data rows for the given app", + "params": [ + { + "name": "app_id", + "type": "AppId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec>>" + }, + "queryDataProof": { + "description": "Generate the data proof for the given `transaction_index`", + "params": [ + { + "name": "transaction_index", + "type": "u32" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "DataProof" + }, + "queryDataProofV2": { + "description": "Generate the data proof for the given `transaction_index`", + "params": [ + { + "name": "transaction_index", + "type": "u32" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } + ], + "type": "ProofResponse" + } + } + }, + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "AppId": "Compact", + "DataLookupIndexItem": { + "appId": "AppId", + "start": "Compact" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "DataLookup": { + "size": "Compact", + "index": "Vec" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "KateCommitment": { + "rows": "Compact", + "cols": "Compact", + "commitment": "Vec", + "dataRoot": "H256" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "V1HeaderExtension": { + "appLookup": "DataLookup", + "commitment": "KateCommitment" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "V2HeaderExtension": { + "appLookup": "DataLookup", + "commitment": "KateCommitment" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "V3HeaderExtension": { + "appLookup": "DataLookup", + "commitment": "KateCommitment" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" - } + "VTHeaderExtension": { + "newField": "Vec", + "commitment": "KateCommitment", + "appLookup": "DataLookup" }, - "PoolIdV0": { + "HeaderExtension": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "V1": "V1HeaderExtension", + "V2": "V2HeaderExtension", + "V3": "V3HeaderExtension", + "VTest": "VTHeaderExtension" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "DaHeader": { + "parentHash": "Hash", + "number": "Compact", + "stateRoot": "Hash", + "extrinsicsRoot": "Hash", + "digest": "Digest", + "extension": "HeaderExtension" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "Header": "DaHeader", + "CheckAppIdExtra": { + "appId": "AppId" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "CheckAppIdTypes": {}, + "CheckAppId": { + "extra": "CheckAppIdExtra", + "types": "CheckAppIdTypes" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "BlockLengthColumns": "Compact", + "BlockLengthRows": "Compact", + "BlockLength": { + "max": "PerDispatchClass", + "cols": "BlockLengthColumns", + "rows": "BlockLengthRows", + "chunkSize": "Compact" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "PerDispatchClass": { + "normal": "u32", + "operational": "u32", + "mandatory": "u32" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "DataProof": { + "root": "H256", + "proof": "Vec", + "numberOfLeaves": "Compact", + "leafIndex": "Compact", + "leaf": "H256" }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "DataProofV2": { + "dataRoot": "H256", + "blobRoot": "H256", + "bridgeRoot": "H256", + "proof": "Vec", + "numberOfLeaves": "Compact", + "leafIndex": "Compact", + "leaf": "H256" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "ProofResponse": { + "dataProof": "DataProofV2", + "message": "Option" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "Message": { + "messageType": "MessageType", + "from": "H256", + "to": "H256", + "originDomain": "u32", + "destinationDomain": "u32", + "data": "Vec", + "id": "u64" }, - "StakingPoolPhase": { + "MessageType": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "ArbitraryMessage", + "FungibleToken" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV1", - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" + "Cell": { + "row": "BlockLengthRows", + "col": "BlockLengthColumns" + } } - }, + } + ], + "signedExtensions": { + "CheckAppId": { + "extrinsic": { + "appId": "AppId" + }, + "payload": {} + } + } + }, + "datahighway": { + "types": [ { "minmax": [ - 1019, + 0, null ], "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "BNC": 168, - "VSKSM": 169, - "PHA": 170, - "KINT": 171, - "KBTC": 172 - } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "AccountInfo": "AccountInfoWithDualRefCount", + "Date": "i64", + "Keys": "SessionKeys2", + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "RoamingOperator": "[u8; 16]", + "RoamingOperatorIndex": "u64", + "RoamingNetwork": "[u8; 16]", + "RoamingNetworkIndex": "u64", + "RoamingOrganization": "[u8; 16]", + "RoamingOrganizationIndex": "u64", + "RoamingNetworkServer": "[u8; 16]", + "RoamingNetworkServerIndex": "u64", + "RoamingDevice": "[u8; 16]", + "RoamingDeviceIndex": "u64", + "RoamingRoutingProfile": "[u8; 16]", + "RoamingRoutingProfileIndex": "u64", + "RoamingRoutingProfileAppServer": "Text", + "RoamingServiceProfile": "[u8; 16]", + "RoamingServiceProfileIndex": "u64", + "RoamingServiceProfileUplinkRate": "u32", + "RoamingServiceProfileDownlinkRate": "u32", + "RoamingAccountingPolicy": "[u8; 16]", + "RoamingAccountingPolicyIndex": "u64", + "RoamingAccountingPolicyType": "Text", + "RoamingAccountingPolicyUplinkFeeFactor": "u32", + "RoamingAccountingPolicyDownlinkFeeFactor": "u32", + "RoamingAccountingPolicySetting": { + "policy_type": "Text", + "subscription_fee": "Balance", + "uplink_fee_factor": "u32", + "downlink_fee_factor": "u32" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "RoamingAgreementPolicy": "[u8; 16]", + "RoamingAgreementPolicyIndex": "u64", + "RoamingAgreementPolicyActivationType": "Text", + "RoamingAgreementPolicySetting": { + "policy_activation_type": "Text", + "policy_expiry_block": "Moment" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "RoamingNetworkProfile": "[u8; 16]", + "RoamingNetworkProfileIndex": "u64", + "RoamingDeviceProfile": "[u8; 16]", + "RoamingDeviceProfileIndex": "u64", + "RoamingDeviceProfileDevAddr": "Text", + "RoamingDeviceProfileDevEUI": "Text", + "RoamingDeviceProfileJoinEUI": "Text", + "RoamingDeviceProfileVendorID": "Text", + "RoamingDeviceProfileSetting": { + "device_profile_devaddr": "Text", + "device_profile_deveui": "Text", + "device_profile_joineui": "Text", + "device_profile_vendorid": "Text" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "RoamingSession": "[u8; 16]", + "RoamingSessionIndex": "u64", + "RoamingSessionJoinRequest": { + "session_network_server_id": "Moment", + "session_join_requested_at_block": "Moment" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "RoamingSessionJoinAccept": { + "session_join_request_accept_expiry": "Moment", + "session_join_request_accept_accepted_at_block": "Moment" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "RoamingBillingPolicy": "[u8; 16]", + "RoamingBillingPolicyIndex": "u64", + "RoamingBillingPolicySetting": { + "policy_next_billing_at_block": "Moment", + "policy_frequency_in_blocks": "Moment" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "RoamingChargingPolicy": "[u8; 16]", + "RoamingChargingPolicyIndex": "u64", + "RoamingChargingPolicySetting": { + "policy_next_charging_at_block": "Moment", + "policy_delay_after_billing_in_blocks": "u64" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "RoamingPacketBundle": "[u8; 16]", + "RoamingPacketBundleIndex": "u64", + "RoamingPacketBundleReceivedAtHome": "bool", + "RoamingPacketBundleReceivedPacketsCount": "u64", + "RoamingPacketBundleReceivedPacketsOkCount": "u64", + "RoamingPacketBundleExternalDataStorageHash": "Hash", + "RoamingPacketBundleReceiver": { + "packet_bundle_received_at_home": "bool", + "packet_bundle_received_packets_count": "u64", + "packet_bundle_received_packets_ok_count": "u64", + "packet_bundle_received_started_at_block": "Moment", + "packet_bundle_received_ended_at_block": "Moment", + "packet_bundle_external_data_storage_hash": "Hash" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "MiningRatesToken": "[u8; 16]", + "MiningRatesTokenIndex": "u64", + "MiningRatesTokenTokenDOT": "u32", + "MiningRatesTokenTokenMXC": "u32", + "MiningRatesTokenTokenIOTA": "u32", + "MiningRatesTokenMaxToken": "u32", + "MiningRatesTokenMaxLoyalty": "u32", + "MiningRatesTokenSetting": { + "token_token_mxc": "u32", + "token_token_iota": "u32", + "token_token_dot": "u32", + "token_max_token": "u32", + "token_max_loyalty": "u32" }, - "BalanceWrapper": { - "amount": "Balance" + "MiningRatesHardware": "[u8; 16]", + "MiningRatesHardwareIndex": "u64", + "MiningRatesHardwareSecure": "u32", + "MiningRatesHardwareInsecure": "u32", + "MiningRatesHardwareMaxHardware": "u32", + "MiningRatesHardwareCategory1MaxTokenBonusPerGateway": "u32", + "MiningRatesHardwareCategory2MaxTokenBonusPerGateway": "u32", + "MiningRatesHardwareCategory3MaxTokenBonusPerGateway": "u32", + "MiningRatesHardwareSetting": { + "hardware_hardware_secure": "u32", + "hardware_hardware_insecure": "u32", + "hardware_max_hardware": "u32", + "hardware_category_1_max_token_bonus_per_gateway": "u32", + "hardware_category_2_max_token_bonus_per_gateway": "u32", + "hardware_category_3_max_token_bonus_per_gateway": "u32" }, - "BalanceRequest": { - "amount": "Balance" + "MiningSettingToken": "[u8; 16]", + "MiningSettingTokenIndex": "u64", + "MiningSettingTokenType": "Text", + "MiningSettingTokenLockAmount": "u64", + "MiningSettingTokenSetting": { + "token_type": "Text", + "token_lock_amount": "u64", + "token_lock_start_block": "Moment", + "token_lock_interval_blocks": "Moment" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "MiningSettingTokenRequirementsSetting": { + "token_type": "Text", + "token_lock_min_amount": "u64", + "token_lock_min_blocks": "u32" }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" + "MiningSettingHardware": "[u8; 16]", + "MiningSettingHardwareIndex": "u64", + "MiningSettingHardwareSecure": "bool", + "MiningSettingHardwareType": "Text", + "MiningSettingHardwareID": "u64", + "MiningSettingHardwareDevEUI": "u64", + "MiningSettingHardwareSetting": { + "hardware_secure": "bool", + "hardware_type": "Text", + "hardware_id": "u64", + "hardware_dev_eui": "u64", + "hardware_lock_start_block": "Moment", + "hardware_lock_interval_blocks": "Moment" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "MiningSamplingToken": "[u8; 16]", + "MiningSamplingTokenIndex": "u64", + "MiningSamplingTokenSampleLockedAmount": "u64", + "MiningSamplingTokenSetting": { + "token_sample_block": "Moment", + "token_sample_locked_amount": "u64" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "MiningSamplingHardware": "[u8; 16]", + "MiningSamplingHardwareIndex": "u64", + "MiningSamplingHardwareSampleHardwareOnline": "u64", + "MiningSamplingHardwareSetting": { + "hardware_sample_block": "Moment", + "hardware_sample_hardware_online": "bool" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "MiningEligibilityToken": "[u8; 16]", + "MiningEligibilityTokenIndex": "u64", + "MiningEligibilityTokenCalculatedEligibility": "u64", + "MiningEligibilityTokenLockedPercentage": "u32", + "MiningEligibilityTokenAuditorAccountID": "u64", + "MiningEligibilityTokenResult": { + "token_calculated_eligibility": "u64", + "token_token_locked_percentage": "u32", + "token_date_audited": "Moment", + "token_auditor_account_id": "u64" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "MiningEligibilityHardware": "[u8; 16]", + "MiningEligibilityHardwareIndex": "u64", + "MiningEligibilityHardwareCalculatedEligibility": "u64", + "MiningEligibilityHardwareUptimePercentage": "u32", + "MiningEligibilityHardwareAuditorAccountID": "u64", + "MiningEligibilityHardwareResult": { + "hardware_calculated_eligibility": "u64", + "hardware_uptime_percentage": "u32", + "hardware_block_audited": "Moment", + "hardware_auditor_account_id": "u64" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "MiningEligibilityProxy": "[u8; 16]", + "MiningEligibilityProxyIndex": "u64", + "MiningEligibilityProxyRewardRequest": { + "proxy_claim_requestor_account_id": "AccountId", + "proxy_claim_total_reward_amount": "Balance", + "proxy_claim_timestamp_redeemed": "Moment" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "MiningEligibilityProxyClaimRewardeeData": { + "proxy_claim_rewardee_account_id": "AccountId", + "proxy_claim_reward_amount": "Balance", + "proxy_claim_start_date": "Date", + "proxy_claim_end_date": "Date" }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "RewardeeData": { + "proxy_claim_rewardee_account_id": "AccountId", + "proxy_claim_reward_amount": "Balance", + "proxy_claim_start_date": "Date", + "proxy_claim_end_date": "Date" }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "RewardRequestorData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "total_amt": "Balance", + "rewardee_count": "u64", + "member_kind": "u32", + "requested_date": "Moment" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "RequestorData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "total_amt": "Balance", + "rewardee_count": "u64", + "member_kind": "u32", + "requested_date": "Moment" }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } + "RewardTransferData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "is_sent": "bool", + "total_amt": "Balance", + "rewardee_count": "u64", + "member_kind": "u32", + "requested_date": "Moment" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "TransferData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "is_sent": "bool", + "total_amt": "Balance", + "rewardee_count": "u64", + "member_kind": "u32", + "requested_date": "Moment" }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } + "RewardDailyData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "total_amt": "Balance", + "proxy_claim_requestor_account_id": "AccountId", + "member_kind": "u32", + "rewarded_date": "Date" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "DailyData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "total_amt": "Balance", + "proxy_claim_requestor_account_id": "AccountId", + "member_kind": "u32", + "rewarded_date": "Date" }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "MiningClaimsToken": "[u8; 16]", + "MiningClaimsTokenIndex": "u64", + "MiningClaimsTokenClaimAmount": "u64", + "MiningClaimsTokenClaimResult": { + "token_claim_amount": "u64", + "token_claim_block_redeemed": "u64" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "MiningClaimsHardware": "[u8; 16]", + "MiningClaimsHardwareIndex": "u64", + "MiningClaimsHardwareClaimAmount": "u64", + "MiningClaimsHardwareClaimResult": { + "hardware_claim_amount": "u64", + "hardware_claim_block_redeemed": "u64" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "MiningExecutionToken": "[u8; 16]", + "MiningExecutionTokenIndex": "u64", + "MiningExecutionTokenExecutorAccountID": "u64", + "MiningExecutionTokenExecutionResult": { + "token_execution_exector_account_id": "u64", + "token_execution_started_block": "Moment", + "token_execution_ended_block": "Moment" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "ExchangeRateIndex": "u64", + "ExchangeRateSetting": { + "hbtc": "u64", + "dot": "u64", + "iota": "u64", + "fil": "u64", + "decimals_after_point": "u32" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "HBTCRate": "u64", + "DOTRate": "u64", + "IOTARate": "u64", + "FILRate": "u64", + "DecimalsAfterPoint": "u32" + } + } + ] + }, + "datahighway-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Keys": "SessionKeys2", + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "RoamingOperator": "[u8; 16]", + "RoamingOperatorIndex": "u64", + "RoamingNetwork": "[u8; 16]", + "RoamingNetworkIndex": "u64", + "RoamingOrganization": "[u8; 16]", + "RoamingOrganizationIndex": "u64", + "RoamingNetworkServer": "[u8; 16]", + "RoamingNetworkServerIndex": "u64", + "RoamingDevice": "[u8; 16]", + "RoamingDeviceIndex": "u64", + "RoamingRoutingProfile": "[u8; 16]", + "RoamingRoutingProfileIndex": "u64", + "RoamingRoutingProfileAppServer": "Text", + "RoamingServiceProfile": "[u8; 16]", + "RoamingServiceProfileIndex": "u64", + "RoamingServiceProfileUplinkRate": "u32", + "RoamingServiceProfileDownlinkRate": "u32", + "RoamingAccountingPolicy": "[u8; 16]", + "RoamingAccountingPolicyIndex": "u64", + "RoamingAccountingPolicyType": "Text", + "RoamingAccountingPolicyUplinkFeeFactor": "u32", + "RoamingAccountingPolicyDownlinkFeeFactor": "u32", + "RoamingAccountingPolicyConfig": { + "policy_type": "Text", + "subscription_fee": "Balance", + "uplink_fee_factor": "u32", + "downlink_fee_factor": "u32" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "RoamingAgreementPolicy": "[u8; 16]", + "RoamingAgreementPolicyIndex": "u64", + "RoamingAgreementPolicyActivationType": "Text", + "RoamingAgreementPolicyConfig": { + "policy_activation_type": "Text", + "policy_expiry_block": "Moment" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" - } + "RoamingNetworkProfile": "[u8; 16]", + "RoamingNetworkProfileIndex": "u64", + "RoamingDeviceProfile": "[u8; 16]", + "RoamingDeviceProfileIndex": "u64", + "RoamingDeviceProfileDevAddr": "Text", + "RoamingDeviceProfileDevEUI": "Text", + "RoamingDeviceProfileJoinEUI": "Text", + "RoamingDeviceProfileVendorID": "Text", + "RoamingDeviceProfileConfig": { + "device_profile_devaddr": "Text", + "device_profile_deveui": "Text", + "device_profile_joineui": "Text", + "device_profile_vendorid": "Text" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "RoamingSession": "[u8; 16]", + "RoamingSessionIndex": "u64", + "RoamingSessionJoinRequest": { + "session_network_server_id": "Moment", + "session_join_requested_at_block": "Moment" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "RoamingSessionJoinAccept": { + "session_join_request_accept_expiry": "Moment", + "session_join_request_accept_accepted_at_block": "Moment" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "RoamingBillingPolicy": "[u8; 16]", + "RoamingBillingPolicyIndex": "u64", + "RoamingBillingPolicyConfig": { + "policy_next_billing_at_block": "Moment", + "policy_frequency_in_blocks": "Moment" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "RoamingChargingPolicy": "[u8; 16]", + "RoamingChargingPolicyIndex": "u64", + "RoamingChargingPolicyConfig": { + "policy_next_charging_at_block": "Moment", + "policy_delay_after_billing_in_blocks": "u64" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "RoamingPacketBundle": "[u8; 16]", + "RoamingPacketBundleIndex": "u64", + "RoamingPacketBundleReceivedAtHome": "bool", + "RoamingPacketBundleReceivedPacketsCount": "u64", + "RoamingPacketBundleReceivedPacketsOkCount": "u64", + "RoamingPacketBundleExternalDataStorageHash": "Hash", + "RoamingPacketBundleReceiver": { + "packet_bundle_received_at_home": "bool", + "packet_bundle_received_packets_count": "u64", + "packet_bundle_received_packets_ok_count": "u64", + "packet_bundle_received_started_at_block": "Moment", + "packet_bundle_received_ended_at_block": "Moment", + "packet_bundle_external_data_storage_hash": "Hash" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "MiningRatesToken": "[u8; 16]", + "MiningRatesTokenIndex": "u64", + "MiningRatesTokenTokenDOT": "u32", + "MiningRatesTokenTokenMXC": "u32", + "MiningRatesTokenTokenIOTA": "u32", + "MiningRatesTokenMaxToken": "u32", + "MiningRatesTokenMaxLoyalty": "u32", + "MiningRatesTokenConfig": { + "token_token_mxc": "u32", + "token_token_iota": "u32", + "token_token_dot": "u32", + "token_max_token": "u32", + "token_max_loyalty": "u32" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "MiningRatesHardware": "[u8; 16]", + "MiningRatesHardwareIndex": "u64", + "MiningRatesHardwareSecure": "u32", + "MiningRatesHardwareInsecure": "u32", + "MiningRatesHardwareMaxHardware": "u32", + "MiningRatesHardwareCategory1MaxTokenBonusPerGateway": "u32", + "MiningRatesHardwareCategory2MaxTokenBonusPerGateway": "u32", + "MiningRatesHardwareCategory3MaxTokenBonusPerGateway": "u32", + "MiningRatesHardwareConfig": { + "hardware_hardware_secure": "u32", + "hardware_hardware_insecure": "u32", + "hardware_max_hardware": "u32", + "hardware_category_1_max_token_bonus_per_gateway": "u32", + "hardware_category_2_max_token_bonus_per_gateway": "u32", + "hardware_category_3_max_token_bonus_per_gateway": "u32" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "MiningConfigToken": "[u8; 16]", + "MiningConfigTokenIndex": "u64", + "MiningConfigTokenType": "Text", + "MiningConfigTokenLockAmount": "u64", + "MiningConfigTokenConfig": { + "token_type": "Text", + "token_lock_amount": "u64", + "token_lock_start_block": "Moment", + "token_lock_interval_blocks": "Moment" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "MiningConfigTokenRequirementsConfig": { + "token_type": "Text", + "token_lock_min_amount": "u64", + "token_lock_min_blocks": "u32" }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "MiningConfigHardware": "[u8; 16]", + "MiningConfigHardwareIndex": "u64", + "MiningConfigHardwareSecure": "bool", + "MiningConfigHardwareType": "Text", + "MiningConfigHardwareID": "u64", + "MiningConfigHardwareDevEUI": "u64", + "MiningConfigHardwareConfig": { + "hardware_secure": "bool", + "hardware_type": "Text", + "hardware_id": "u64", + "hardware_dev_eui": "u64", + "hardware_lock_start_block": "Moment", + "hardware_lock_interval_blocks": "Moment" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "MiningSamplingToken": "[u8; 16]", + "MiningSamplingTokenIndex": "u64", + "MiningSamplingTokenSampleLockedAmount": "u64", + "MiningSamplingTokenConfig": { + "token_sample_block": "Moment", + "token_sample_locked_amount": "u64" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "MiningSamplingHardware": "[u8; 16]", + "MiningSamplingHardwareIndex": "u64", + "MiningSamplingHardwareSampleHardwareOnline": "u64", + "MiningSamplingHardwareConfig": { + "hardware_sample_block": "Moment", + "hardware_sample_hardware_online": "bool" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "MiningEligibilityToken": "[u8; 16]", + "MiningEligibilityTokenIndex": "u64", + "MiningEligibilityTokenCalculatedEligibility": "u64", + "MiningEligibilityTokenLockedPercentage": "u32", + "MiningEligibilityTokenAuditorAccountID": "u64", + "MiningEligibilityTokenResult": { + "token_calculated_eligibility": "u64", + "token_token_locked_percentage": "u32", + "token_date_audited": "Moment", + "token_auditor_account_id": "u64" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "MiningEligibilityHardware": "[u8; 16]", + "MiningEligibilityHardwareIndex": "u64", + "MiningEligibilityHardwareCalculatedEligibility": "u64", + "MiningEligibilityHardwareUptimePercentage": "u32", + "MiningEligibilityHardwareAuditorAccountID": "u64", + "MiningEligibilityHardwareResult": { + "hardware_calculated_eligibility": "u64", + "hardware_uptime_percentage": "u32", + "hardware_block_audited": "Moment", + "hardware_auditor_account_id": "u64" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "MiningClaimsToken": "[u8; 16]", + "MiningClaimsTokenIndex": "u64", + "MiningClaimsTokenClaimAmount": "u64", + "MiningClaimsTokenClaimResult": { + "token_claim_amount": "u64", + "token_claim_block_redeemed": "u64" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "MiningClaimsHardware": "[u8; 16]", + "MiningClaimsHardwareIndex": "u64", + "MiningClaimsHardwareClaimAmount": "u64", + "MiningClaimsHardwareClaimResult": { + "hardware_claim_amount": "u64", + "hardware_claim_block_redeemed": "u64" }, - "BalanceInfo": { - "amount": "Balance" + "MiningExecutionToken": "[u8; 16]", + "MiningExecutionTokenIndex": "u64", + "MiningExecutionTokenExecutorAccountID": "u64", + "MiningExecutionTokenExecutionResult": { + "token_execution_exector_account_id": "u64", + "token_execution_started_block": "Moment", + "token_execution_ended_block": "Moment" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress" + "ExchangeRateIndex": "u64", + "ExchangeRateConfig": { + "hbtc": "u64", + "dot": "u64", + "iota": "u64", + "fil": "u64", + "decimals_after_point": "u32" + }, + "HBTCRate": "u64", + "DOTRate": "u64", + "IOTARate": "u64", + "FILRate": "u64", + "DecimalsAfterPoint": "u32" } } - ], - "alias": { - "stakingPool": { - "Phase": "StakingPoolPhase" - }, - "nomineesElection": { - "UnlockChunk": "HomaUnlockChunk" - }, - "evm": { - "AccountInfo": "EvmAccountInfo", - "ContractInfo": "EvmContractInfo" - }, - "rewards": { - "OrmlCurrencyId": "CurrencyId" - }, - "oracle": { - "DataProviderId": "AcalaDataProviderId" - }, - "chainBridge": { - "ChainId": "ChainBridgeChainId" - } - } + ] }, - "karura": { - "rpc": { - "dex": { - "getSupplyAmount": { - "description": "Get supply amount", - "params": [ - { - "name": "supplyCurrencyId", - "type": "CurrencyId" - }, - { - "name": "targetCurrencyId", - "type": "CurrencyId" - }, - { - "name": "targetCurrencyAmount", - "type": "BalanceRequest" - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "dex_getSupplyAmount", - "method": "getSupplyAmount", - "section": "dex" - }, - "getTargetAmount": { - "description": "Get target amount", - "params": [ - { - "name": "supplyCurrencyId", - "type": "CurrencyId" - }, - { - "name": "targetCurrencyId", - "type": "CurrencyId" - }, - { - "name": "supplyCurrencyAmount", - "type": "BalanceRequest" - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "dex_getTargetAmount", - "method": "getTargetAmount", - "section": "dex" - } - }, - "evm": { - "call": { - "description": "eth call", - "params": [ - { - "name": "data", - "type": "CallRequest" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Raw", - "isSubscription": false, - "jsonrpc": "evm_call", - "method": "call", - "section": "evm" - }, - "estimateResources": { - "description": "eth estimateResources", - "params": [ - { - "name": "from", - "type": "H160" - }, - { - "name": "unsignedExtrinsic", - "type": "Bytes" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "EstimateResourcesResponse", - "isSubscription": false, - "jsonrpc": "evm_estimateResources", - "method": "estimateResources", - "section": "evm" - } - }, - "stakingPool": { - "getAvailableUnbonded": { - "description": "Get Available Unbonded", - "params": [ - { - "name": "account", - "type": "AccountId" - } - ], - "type": "BalanceInfo", - "isSubscription": false, - "jsonrpc": "stakingPool_getAvailableUnbonded", - "method": "getAvailableUnbonded", - "section": "stakingPool" - }, - "getLiquidStakingExchangeRate": { - "description": "get liquid staking exchange rate", - "params": [], - "type": "ExchangeRate", - "isSubscription": false, - "jsonrpc": "stakingPool_getLiquidStakingExchangeRate", - "method": "getLiquidStakingExchangeRate", - "section": "stakingPool" - } - } - }, - "instances": { - "council": [ - "generalCouncil" - ] - }, + "dawn": { "types": [ { "minmax": [ - 600, - 699 + 0, + null ], "types": { + "AccountIdOf": "AccountId", + "Address": "MultiAddress", + "AirDropCurrencyId": { + "_enum": [ + "ICE", + "EAVE" + ] + }, "Amount": "i128", "AmountOf": "Amount", + "AsOriginId": "AuthoritysOriginId", + "AssetId": "u64", + "AssetIdOf": "AssetId", "AuctionId": "u32", "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": [ - "ACA", - "AUSD", - "DOT", - "XBTC", - "LDOT", - "RENBTC" - ] - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, "AuthoritysOriginId": { "_enum": [ "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "EaveTreasury", + "CdpTreasury", + "ElpTreasury", + "DSWF" ] }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "BalanceInfo": { + "amount": "Balance" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "BalanceWrapper": { + "amount": "Balance" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "BondingLedger": { + "total": "Compact", + "active": "Compact", + "unlocking": "Vec" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "CID": "Vec", + "CallOf": "Call", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "OptionRate": "Option", - "OptionRatio": "Option", "ChangeOptionRate": { "_enum": { "NoChange": "Null", @@ -31025,5149 +23388,6921 @@ export const typesBundle = { "NewValue": "OptionRatio" } }, - "ChangeBalance": { + "ChangeRate": { "_enum": { "NoChange": "Null", - "NewValue": "Balance" + "NewValue": "Rate" } }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { + "ChangeRatio": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "ClassData": { + "deposit": "Balance", + "properties": "Properties" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "ClassId": "u32", + "ClassIdOf": "ClassId", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, "CodeInfo": { "codeSize": "u32", "refCount": "u32" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" + } }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "CurrencyIdOf": "CurrencyId", + "DataProviderId": { + "_enum": [ + "Aggregated", + "Eave", + "Band" + ] }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "ExitReason": { + "DelayedDispatchTime": { "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "ExitError": { + "DestAddress": "Vec", + "DispatchId": "u32", + "DispatchTime": { "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "ExitRevert": { + "ElpUnlockChunk": { + "value": "Compact", + "era": "Compact" + }, + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option", + "developerDeposit": "Option" + }, + "EvmAddress": "H160", + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" + }, + "ExchangeRate": "FixedU128", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" + }, + "Keys": "SessionKeys2", + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "LiquidationStrategy": { "_enum": [ - "Reverted" + "Auction", + "Exchange" ] }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "LiquidityPool": { + "currency_ids": "Vec", + "lp_token_id": "AssetId", + "pool_config_id": "u32", + "pool_reserves": "Vec" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "LiquidityPoolConfig_": "PoolConfig", + "LiquidityPool_": "LiquidityPool", + "LookupSource": "MultiAddress", + "NomineeId": "AccountId", + "NFTBalance": "u128", + "OptionRate": "Option", + "OptionRatio": "Option", + "OracleKey": "CurrencyId", + "OracleValue": "Price", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "frozen": "Balance", + "reserved": "Balance" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "PalletBalanceOf": "Balance", + "PalletsOrigin": { + "_enum": { + "System": "SystemOrigin", + "Timestamp": "Null", + "RandomnessCollectiveFlip": "Null", + "Balances": "Null", + "Accounts": "Null", + "Currencies": "Null", + "Tokens": "Null", + "Vesting": "Null", + "EaveTreasury": "Null", + "Utility": "Null", + "Multisig": "Null", + "Recovery": "Null", + "Proxy": "Null", + "Scheduler": "Null", + "Indices": "Null", + "GraduallyUpdate": "Null", + "Authorship": "Null", + "Babe": "Null", + "Grandpa": "Null", + "Staking": "Null", + "Session": "Null", + "Historical": "Null", + "GeneralCouncil": "CollectiveOrigin", + "GeneralCouncilMembership": "Null", + "EYECouncil": "CollectiveOrigin", + "EYECouncilMembership": "Null", + "ElpCouncil": "CollectiveOrigin", + "ElpCouncilMembership": "Null", + "TechnicalCommittee": "CollectiveOrigin", + "TechnicalCommitteeMembership": "Null", + "Authority": "DelayedOrigin", + "ElectionsPhragmen": "Null", + "EaveOracle": "Null", + "BandOracle": "Null", + "OperatorMembershipEave": "Null", + "OperatorMembershipBand": "Null", + "Auction": "Null", + "Rewards": "Null", + "OrmlNFT": "Null", + "Prices": "Null", + "Dex": "Null", + "AuctionManager": "Null", + "Loans": "Null", + "EYE": "Null", + "CdpTreasury": "Null", + "CdpEngine": "Null", + "EmergencyShutdown": "Null", + "Elp": "Null", + "NomineesElection": "Null", + "StakingPool": "Null", + "PolkadotBridge": "Null", + "Incentives": "Null", + "AirDrop": "Null", + "NFT": "Null", + "RenVmBridge": "Null", + "Contracts": "Null", + "EVM": "Null", + "Sudo": "Null", + "TransactionPayment": "Null" + } }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", "PoolId": { "_enum": { "Loans": "CurrencyId", "DexIncentive": "CurrencyId", "DexSaving": "CurrencyId", - "Homa": "Null" + "Elp": "Null" } }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" }, "Position": { "collateral": "Balance", "debit": "Balance" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, + "Price": "FixedU128", "Properties": { "_set": { "_bitLength": 8, "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "Burnable": 2 } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "PublicKey": "[u8; 20]", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "RedeemStrategy": { + "_enum": { + "Immediately": "Null", + "Target": "EraIndex", + "WaitForUnbonding": "Null" + } }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "RelaychainAccountId": "AccountId", + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "stabilityFee": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "RpcDataProviderId": "Text", + "ScheduleTaskIndex": "u32", + "Share": "u128", + "StorageKeyBytes": "Vec", + "StorageValue": "Vec", + "StorageValueBytes": "Vec", "SubAccountStatus": { "bonded": "Balance", "available": "Balance", "unbonding": "Vec<(EraIndex,Balance)>", "mockRewardRate": "Rate" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "TimestampedValueOf": "TimestampedValue", + "TokenBalanceOf": "Balance", + "TokenData": { + "deposit": "Balance" }, - "ChangeRate": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "TokenInfo": { + "name": "Text", + "symbol": "Text", + "decimals": "u8", + "owner": "AccountId" + }, + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" + }, + "TokenSymbol": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "EAVE": 0, + "EUSD": 1, + "DOT": 2, + "LDOT": 3, + "XBTC": 4, + "RENBTC": 5, + "INTERBTC": 6, + "PLM": 7, + "PHA": 8, + "HDT": 9, + "ICE": 128, + "IUSD": 129, + "KSM": 130, + "LKSM": 131, + "SDN": 135, + "KILT": 138 } }, - "ChangeRatio": { + "TradingPair": "(CurrencyId, CurrencyId)", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" + }, + "TradingPairStatus": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "NotEnabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "BalanceInfo": { - "amount": "Balance" + "VestingScheduleOf": "OrmlVestingSchedule", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + } + } + } + ] + }, + "dev-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "PairId": "u32", + "Pair": { + "token_0": "AssetId", + "token_1": "AssetId", + "account": "AccountId", + "total_liquidity": "TokenBalance", + "lp_asset_id": "AssetId" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "Address": "LookupSource", - "LookupSource": "IndicesLookupSource" + "PairInfo": { + "token_0": "AssetId", + "token_1": "AssetId", + "account": "AccountId", + "total_liquidity": "TokenBalance", + "holding_liquidity": "TokenBalance", + "reserve_0": "TokenBalance", + "reserve_1": "TokenBalance", + "lp_asset_id": "AssetId" + }, + "AssetId": { + "chain_id": "u32", + "module_index": "u8", + "asset_index": "u32" + }, + "TokenId": "u32", + "AssetProperty": { + "_enum": { + "FOREIGN": null, + "LP": "LpProperty" + } + }, + "LpProperty": { + "token_0": "AssetId", + "token_1": "AssetId" + }, + "TokenBalance": "u128" } - }, + } + ] + }, + "dock-pos-main-runtime": { + "types": [ { "minmax": [ - 700, - 719 + 0, + 23 ], "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": [ - "ACA", - "AUSD", - "DOT", - "XBTC", - "LDOT", - "RENBTC" - ] + "Address": "AccountId", + "LookupSource": "AccountId", + "Keys": "SessionKeys2", + "Did": "[u8;32]", + "Bytes32": { + "value": "[u8;32]" }, - "DexShare": { + "Bytes33": { + "value": "[u8;33]" + }, + "Bytes64": { + "value": "[u8;64]" + }, + "Bytes65": { + "value": "[u8;65]" + }, + "PublicKey": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "Sr25519": "Bytes32", + "Ed25519": "Bytes32", + "Secp256k1": "Bytes33" } }, - "CurrencyId": { + "DidSignature": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "Sr25519": "Bytes64", + "Ed25519": "Bytes64", + "Secp256k1": "Bytes65" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] + "KeyDetail": { + "controller": "Did", + "public_key": "PublicKey" }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] + "KeyUpdate": { + "did": "Did", + "public_key": "PublicKey", + "controller": "Option", + "last_modified_in_block": "BlockNumber" }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "DidRemoval": { + "did": "Did", + "last_modified_in_block": "BlockNumber" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "RegistryId": "[u8;32]", + "RevokeId": "[u8;32]", + "Registry": { + "policy": "Policy", + "add_only": "bool" + }, + "Revoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" + }, + "UnRevoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" + }, + "RemoveRegistry": { + "registry_id": "RegistryId", + "last_modified": "BlockNumber" + }, + "PAuth": "BTreeMap", + "Policy": { + "_enum": { + "OneOf": "BTreeSet" + } + }, + "BlobId": "[u8;32]", + "Blob": { + "id": "BlobId", + "blob": "Vec", + "author": "Did" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "EpochNo": "u32", + "EpochLen": "u32", + "SlotNo": "u64", + "Balance": "u64", + "EpochDetail": { + "validator_count": "u8", + "starting_slot": "SlotNo", + "expected_ending_slot": "SlotNo", + "ending_slot": "Option", + "emission_for_validators": "Option", + "emission_for_treasury": "Option" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "ValidatorStatsPerEpoch": { + "block_count": "EpochLen", + "locked_reward": "Option", + "unlocked_reward": "Option" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "Payload": { + "proposal": "Vec", + "round_no": "u64" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "Membership": { + "members": "BTreeSet", + "vote_requirement": "u64" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "PMAuth": "BTreeMap", + "Bonus": { + "swap_bonuses": "Vec<(Balance, BlockNumber)>", + "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "Attestation": { + "priority": "Compact", + "iri": "Option>" }, - "ChangeBalance": { + "StateChange": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "KeyUpdate": "KeyUpdate", + "DidRemoval": "DidRemoval", + "Revoke": "Revoke", + "UnRevoke": "UnRevoke", + "RemoveRegistry": "RemoveRegistry", + "Blob": "Blob", + "MasterVote": "Payload", + "Attestation": "(Did, Attestation)" } + } + } + }, + { + "minmax": [ + 23 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "PerDispatchClassU32": { + "normal": "u32", + "operational": "u32", + "mandatory": "u32" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "BlockLength": { + "max": "PerDispatchClassU32" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "Keys": "SessionKeys2", + "Did": "[u8;32]", + "Bytes32": { + "value": "[u8;32]" }, - "BalanceWrapper": { - "amount": "Balance" + "Bytes33": { + "value": "[u8;33]" }, - "BalanceRequest": { - "amount": "Balance" + "Bytes64": { + "value": "[u8;64]" }, - "TradingPairStatus": { + "Bytes65": { + "value": "[u8;65]" + }, + "PublicKey": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "Sr25519": "Bytes32", + "Ed25519": "Bytes32", + "Secp256k1": "Bytes33" } }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "DidSignature": { + "_enum": { + "Sr25519": "Bytes64", + "Ed25519": "Bytes64", + "Secp256k1": "Bytes65" + } }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "KeyDetail": { + "controller": "Did", + "public_key": "PublicKey" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "KeyUpdate": { + "did": "Did", + "public_key": "PublicKey", + "controller": "Option", + "last_modified_in_block": "BlockNumber" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "DidRemoval": { + "did": "Did", + "last_modified_in_block": "BlockNumber" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "RegistryId": "[u8;32]", + "RevokeId": "[u8;32]", + "Registry": { + "policy": "Policy", + "add_only": "bool" }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "Revoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "UnRevoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "RemoveRegistry": { + "registry_id": "RegistryId", + "last_modified": "BlockNumber" }, - "ExitReason": { + "PAuth": "BTreeMap", + "Policy": { "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" + "OneOf": "BTreeSet" } }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "BlobId": "[u8;32]", + "Blob": { + "id": "BlobId", + "blob": "Vec", + "author": "Did" }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } + "EpochNo": "u32", + "EpochLen": "u32", + "SlotNo": "u64", + "Balance": "u64", + "EpochDetail": { + "validator_count": "u8", + "starting_slot": "SlotNo", + "expected_ending_slot": "SlotNo", + "ending_slot": "Option", + "emission_for_validators": "Option", + "emission_for_treasury": "Option" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "ValidatorStatsPerEpoch": { + "block_count": "EpochLen", + "locked_reward": "Option", + "unlocked_reward": "Option" }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "Payload": { + "proposal": "Vec", + "round_no": "u64" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "Membership": { + "members": "BTreeSet", + "vote_requirement": "u64" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "PMAuth": "BTreeMap", + "Bonus": { + "swap_bonuses": "Vec<(Balance, BlockNumber)>", + "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "Attestation": { + "priority": "Compact", + "iri": "Option>" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "Account": { + "nonce": "U256", + "balance": "U256" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "Transaction": { + "nonce": "U256", + "action": "String", + "gas_price": "u64", + "gas_limit": "u64", + "value": "U256", + "input": "Vec", + "signature": "Signature" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" - } + "Signature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "PoolIdV0": { + "ParamType": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Address": null, + "Int": "u16", + "Uint": "u16" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "ContractConfig": { + "address": "H160", + "query_aggregator_call_encoded": "Vec", + "query_price_abi_encoded": "Vec", + "return_val_abi": "Vec" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "StateChange": { + "_enum": { + "KeyUpdate": "KeyUpdate", + "DidRemoval": "DidRemoval", + "Revoke": "Revoke", + "UnRevoke": "UnRevoke", + "RemoveRegistry": "RemoveRegistry", + "Blob": "Blob", + "MasterVote": "Payload", + "Attestation": "(Did, Attestation)" + } + } + } + } + ], + "rpc": { + "poa": { + "treasuryAccount": { + "description": "Return account address of treasury. The account address can then be used to query the chain for balance", + "params": [], + "type": "AccountId" + }, + "treasuryBalance": { + "description": "Return free balance of treasury account. In the context of PoA, only free balance makes sense for treasury. But just in case, to check all kinds of balance (locked, reserved, etc), get the account address with above call and query the chain.", + "params": [], + "type": "Balance" + }, + "getTotalEmissionInEpoch": { + "description": "Return total (validators + treasury) emission rewards for given epoch", + "params": [ + "EpochNo" + ], + "type": "Balance" + } + }, + "price_feed": { + "tokenUsdPrice": { + "description": "Gets the price of Dock/USD from pallet's storage", + "params": [], + "type": "Option" + }, + "tokenUsdPriceFromContract": { + "description": "Gets the price of Dock/USD from EVM contract", + "params": [], + "type": "Option" + } + }, + "fiat_filter": { + "getCallFeeDock": { + "description": "Accepts a scale-encoded extrinsic, returns fee in µDOCK as Balance (u64)", + "params": [ + "Bytes" + ], + "type": "Balance" + } + }, + "core_mods": { + "psPublicKeyWithParams": { + "description": "Return PS public key with params", + "params": [ + { + "name": "id", + "type": "(Did, IncId)" + } + ], + "type": "Option<(PsPublicKey, Option)>" + }, + "psParamsByDid": { + "description": "Return all PS params by a DID", + "params": [ + { + "name": "did", + "type": "Did" + } + ], + "type": "BTreeMap" + }, + "psPublicKeysByDid": { + "description": "Return all PS key with params by a DID", + "params": [ + { + "name": "did", + "type": "Did" + } + ], + "type": "BTreeMap)>" + }, + "bbsPublicKeyWithParams": { + "description": "Return BBS public key with params", + "params": [ + { + "name": "id", + "type": "(Did, IncId)" + } + ], + "type": "Option<(BbsPublicKey, Option)>" + }, + "bbsParamsByDid": { + "description": "Return all BBS params by a DID", + "params": [ + { + "name": "did", + "type": "Did" + } + ], + "type": "BTreeMap" + }, + "bbsPublicKeysByDid": { + "description": "Return all BBS key with params by a DID", + "params": [ + { + "name": "did", + "type": "Did" + } + ], + "type": "BTreeMap)>" + }, + "bbsPlusPublicKeyWithParams": { + "description": "Return BBS+ public key with params", + "params": [ + { + "name": "id", + "type": "(Did, IncId)" + } + ], + "type": "Option<(BbsPlusPublicKey, Option)>" + }, + "bbsPlusParamsByDid": { + "description": "Return all BBS+ params by a DID", + "params": [ + { + "name": "did", + "type": "Did" + } + ], + "type": "BTreeMap" + }, + "bbsPlusPublicKeysByDid": { + "description": "Return all BBS+ key with params by a DID", + "params": [ + { + "name": "did", + "type": "Did" + } + ], + "type": "BTreeMap)>" + }, + "accumulatorPublicKeyWithParams": { + "description": "Return Accumulator public key with params", + "params": [ + { + "name": "id", + "type": "AccumPublicKeyStorageKey" + } + ], + "type": "Option" + }, + "accumulatorWithPublicKeyAndParams": { + "description": "Return Accumulator public key with params", + "params": [ + { + "name": "id", + "type": "AccumulatorId" } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + ], + "type": "Option<(Vec, Option)>" + }, + "didDetails": { + "description": "Get all keys, controllers and service endpoints of the DID", + "params": [ + { + "name": "did", + "type": "Did" + }, + { + "name": "params", + "type": "u8", + "isOptional": true } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + ], + "type": "Option" + }, + "didListDetails": { + "description": "Get all keys, controllers and service endpoints of the DID", + "params": [ + { + "name": "dids", + "type": "Vec" + }, + { + "name": "params", + "type": "u8", + "isOptional": true } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress" + ], + "type": "Vec>" } }, + "staking_rewards": { + "yearlyEmission": { + "description": "", + "params": [ + { + "name": "total_staked", + "type": "Balance" + }, + { + "name": "total_issuance", + "type": "Balance" + } + ], + "type": "Balance" + }, + "maxYearlyEmission": { + "description": "", + "params": [], + "type": "Balance" + } + } + } + }, + "dock-pos-test-runtime": { + "types": [ { "minmax": [ - 720, - 722 + 0, + 23 ], "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "XBTC": 4, - "RENBTC": 5, - "POLKABTC": 6, - "PLM": 7, - "PHA": 8, - "HDT": 9, - "BCG": 11, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "SDN": 135, - "KILT": 138 - } + "Address": "AccountId", + "LookupSource": "AccountId", + "Keys": "SessionKeys2", + "Did": "[u8;32]", + "Bytes32": { + "value": "[u8;32]" }, - "DexShare": { + "Bytes33": { + "value": "[u8;33]" + }, + "Bytes64": { + "value": "[u8;64]" + }, + "Bytes65": { + "value": "[u8;65]" + }, + "PublicKey": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "Sr25519": "Bytes32", + "Ed25519": "Bytes32", + "Secp256k1": "Bytes33" } }, - "CurrencyId": { + "DidSignature": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" + "Sr25519": "Bytes64", + "Ed25519": "Bytes64", + "Secp256k1": "Bytes65" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] + "KeyDetail": { + "controller": "Did", + "public_key": "PublicKey" }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "KeyUpdate": { + "did": "Did", + "public_key": "PublicKey", + "controller": "Option", + "last_modified_in_block": "BlockNumber" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "DidRemoval": { + "did": "Did", + "last_modified_in_block": "BlockNumber" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "RegistryId": "[u8;32]", + "RevokeId": "[u8;32]", + "Registry": { + "policy": "Policy", + "add_only": "bool" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "Revoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "UnRevoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "RemoveRegistry": { + "registry_id": "RegistryId", + "last_modified": "BlockNumber" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "PAuth": "BTreeMap", + "Policy": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "OneOf": "BTreeSet" } }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "BlobId": "[u8;32]", + "Blob": { + "id": "BlobId", + "blob": "Vec", + "author": "Did" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "EpochNo": "u32", + "EpochLen": "u32", + "SlotNo": "u64", + "Balance": "u64", + "EpochDetail": { + "validator_count": "u8", + "starting_slot": "SlotNo", + "expected_ending_slot": "SlotNo", + "ending_slot": "Option", + "emission_for_validators": "Option", + "emission_for_treasury": "Option" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "ValidatorStatsPerEpoch": { + "block_count": "EpochLen", + "locked_reward": "Option", + "unlocked_reward": "Option" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "Payload": { + "proposal": "Vec", + "round_no": "u64" }, - "BalanceWrapper": { - "amount": "Balance" + "Membership": { + "members": "BTreeSet", + "vote_requirement": "u64" }, - "BalanceRequest": { - "amount": "Balance" + "PMAuth": "BTreeMap", + "Bonus": { + "swap_bonuses": "Vec<(Balance, BlockNumber)>", + "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" }, - "TradingPairStatus": { + "Attestation": { + "priority": "Compact", + "iri": "Option>" + }, + "StateChange": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "KeyUpdate": "KeyUpdate", + "DidRemoval": "DidRemoval", + "Revoke": "Revoke", + "UnRevoke": "UnRevoke", + "RemoveRegistry": "RemoveRegistry", + "Blob": "Blob", + "MasterVote": "Payload", + "Attestation": "(Did, Attestation)" } + } + } + }, + { + "minmax": [ + 23 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "PerDispatchClassU32": { + "normal": "u32", + "operational": "u32", + "mandatory": "u32" }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "BlockLength": { + "max": "PerDispatchClassU32" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "Keys": "SessionKeys2", + "Did": "[u8;32]", + "Bytes32": { + "value": "[u8;32]" }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "Bytes33": { + "value": "[u8;33]" }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "Bytes64": { + "value": "[u8;64]" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "Bytes65": { + "value": "[u8;65]" }, - "ExitReason": { + "PublicKey": { "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" + "Sr25519": "Bytes32", + "Ed25519": "Bytes32", + "Secp256k1": "Bytes33" } }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { + "DidSignature": { "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" + "Sr25519": "Bytes64", + "Ed25519": "Bytes64", + "Secp256k1": "Bytes65" } }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "KeyDetail": { + "controller": "Did", + "public_key": "PublicKey" + }, + "KeyUpdate": { + "did": "Did", + "public_key": "PublicKey", + "controller": "Option", + "last_modified_in_block": "BlockNumber" + }, + "DidRemoval": { + "did": "Did", + "last_modified_in_block": "BlockNumber" }, - "ExitFatal": { + "RegistryId": "[u8;32]", + "RevokeId": "[u8;32]", + "Registry": { + "policy": "Policy", + "add_only": "bool" + }, + "Revoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" + }, + "UnRevoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" + }, + "RemoveRegistry": { + "registry_id": "RegistryId", + "last_modified": "BlockNumber" + }, + "PAuth": "BTreeMap", + "Policy": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "OneOf": "BTreeSet" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "BlobId": "[u8;32]", + "Blob": { + "id": "BlobId", + "blob": "Vec", + "author": "Did" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "EpochNo": "u32", + "EpochLen": "u32", + "SlotNo": "u64", + "Balance": "u64", + "EpochDetail": { + "validator_count": "u8", + "starting_slot": "SlotNo", + "expected_ending_slot": "SlotNo", + "ending_slot": "Option", + "emission_for_validators": "Option", + "emission_for_treasury": "Option" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "ValidatorStatsPerEpoch": { + "block_count": "EpochLen", + "locked_reward": "Option", + "unlocked_reward": "Option" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "Payload": { + "proposal": "Vec", + "round_no": "u64" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "Membership": { + "members": "BTreeSet", + "vote_requirement": "u64" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" - } + "PMAuth": "BTreeMap", + "Bonus": { + "swap_bonuses": "Vec<(Balance, BlockNumber)>", + "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "Attestation": { + "priority": "Compact", + "iri": "Option>" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "Account": { + "nonce": "U256", + "balance": "U256" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "Transaction": { + "nonce": "U256", + "action": "String", + "gas_price": "u64", + "gas_limit": "u64", + "value": "U256", + "input": "Vec", + "signature": "Signature" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "Signature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "ParamType": { + "_enum": { + "Address": null, + "Int": "u16", + "Uint": "u16" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "ContractConfig": { + "address": "H160", + "query_aggregator_call_encoded": "Vec", + "query_price_abi_encoded": "Vec", + "return_val_abi": "Vec" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "StateChange": { + "_enum": { + "KeyUpdate": "KeyUpdate", + "DidRemoval": "DidRemoval", + "Revoke": "Revoke", + "UnRevoke": "UnRevoke", + "RemoveRegistry": "RemoveRegistry", + "Blob": "Blob", + "MasterVote": "Payload", + "Attestation": "(Did, Attestation)" + } + } + } + } + ], + "rpc": { + "poa": { + "treasuryAccount": { + "description": "Return account address of treasury. The account address can then be used to query the chain for balance", + "params": [], + "type": "AccountId" + }, + "treasuryBalance": { + "description": "Return free balance of treasury account. In the context of PoA, only free balance makes sense for treasury. But just in case, to check all kinds of balance (locked, reserved, etc), get the account address with above call and query the chain.", + "params": [], + "type": "Balance" + }, + "getTotalEmissionInEpoch": { + "description": "Return total (validators + treasury) emission rewards for given epoch", + "params": [ + "EpochNo" + ], + "type": "Balance" + } + }, + "price_feed": { + "tokenUsdPrice": { + "description": "Gets the price of Dock/USD from pallet's storage", + "params": [], + "type": "Option" + }, + "tokenUsdPriceFromContract": { + "description": "Gets the price of Dock/USD from EVM contract", + "params": [], + "type": "Option" + } + }, + "fiat_filter": { + "getCallFeeDock": { + "description": "Accepts a scale-encoded extrinsic, returns fee in µDOCK as Balance (u64)", + "params": [ + "Bytes" + ], + "type": "Balance" + } + }, + "core_mods": { + "psPublicKeyWithParams": { + "description": "Return PS public key with params", + "params": [ + { + "name": "id", + "type": "(Did, IncId)" + } + ], + "type": "Option<(PsPublicKey, Option)>" + }, + "psParamsByDid": { + "description": "Return all PS params by a DID", + "params": [ + { + "name": "did", + "type": "Did" + } + ], + "type": "BTreeMap" + }, + "psPublicKeysByDid": { + "description": "Return all PS key with params by a DID", + "params": [ + { + "name": "did", + "type": "Did" + } + ], + "type": "BTreeMap)>" + }, + "bbsPublicKeyWithParams": { + "description": "Return BBS public key with params", + "params": [ + { + "name": "id", + "type": "(Did, IncId)" + } + ], + "type": "Option<(BbsPublicKey, Option)>" + }, + "bbsParamsByDid": { + "description": "Return all BBS params by a DID", + "params": [ + { + "name": "did", + "type": "Did" + } + ], + "type": "BTreeMap" + }, + "bbsPublicKeysByDid": { + "description": "Return all BBS key with params by a DID", + "params": [ + { + "name": "did", + "type": "Did" + } + ], + "type": "BTreeMap)>" + }, + "bbsPlusPublicKeyWithParams": { + "description": "Return BBS+ public key with params", + "params": [ + { + "name": "id", + "type": "(Did, IncId)" + } + ], + "type": "Option<(BbsPlusPublicKey, Option)>" + }, + "bbsPlusParamsByDid": { + "description": "Return all BBS+ params by a DID", + "params": [ + { + "name": "did", + "type": "Did" + } + ], + "type": "BTreeMap" + }, + "bbsPlusPublicKeysByDid": { + "description": "Return all BBS+ key with params by a DID", + "params": [ + { + "name": "did", + "type": "Did" + } + ], + "type": "BTreeMap)>" + }, + "accumulatorPublicKeyWithParams": { + "description": "Return Accumulator public key with params", + "params": [ + { + "name": "id", + "type": "AccumPublicKeyStorageKey" + } + ], + "type": "Option" + }, + "accumulatorWithPublicKeyAndParams": { + "description": "Return Accumulator public key with params", + "params": [ + { + "name": "id", + "type": "AccumulatorId" + } + ], + "type": "Option<(Vec, Option)>" + }, + "didDetails": { + "description": "Get all keys, controllers and service endpoints of the DID", + "params": [ + { + "name": "did", + "type": "Did" + }, + { + "name": "params", + "type": "u8", + "isOptional": true + } + ], + "type": "Option" + }, + "didListDetails": { + "description": "Get all keys, controllers and service endpoints of the DID", + "params": [ + { + "name": "dids", + "type": "Vec" + }, + { + "name": "params", + "type": "u8", + "isOptional": true + } + ], + "type": "Vec>" + } + }, + "staking_rewards": { + "yearlyEmission": { + "description": "", + "params": [ + { + "name": "total_staked", + "type": "Balance" + }, + { + "name": "total_issuance", + "type": "Balance" + } + ], + "type": "Balance" + }, + "maxYearlyEmission": { + "description": "", + "params": [], + "type": "Balance" + } + } + } + }, + "dotmog-node": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "MogwaiStruct": { + "id": "Hash", + "dna": "Hash", + "genesis": "BlockNumber", + "price": "Balance", + "gen": "u32", + "rarity": "RarityType" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "MogwaiBios": { + "mogwai_id": "Hash", + "state": "u32", + "metaxy": "Vec<[u8;16]>", + "intrinsic": "Balance", + "level": "u8", + "phases": "Vec", + "adaptations": "Vec" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "GameEvent": { + "id": "Hash", + "begin": "BlockNumber", + "duration": "u16", + "event_type": "GameEventType", + "hashes": "Vec", + "value": "u64" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "GameEventType": { + "_enum": [ + "Default", + "Hatch" + ] }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "RarityType": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "Minor", + "Normal", + "Rare", + "Epic", + "Legendary" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "MogwaicoinAddress": { + "address": "Vec", + "account": "AccountId", + "signature": "Vec", + "state": "ClaimState", + "balance": "Balance" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "ClaimState": { + "_enum": [ + "None", + "Registred", + "Verified", + "Secured", + "Processed", + "Holded", + "Failed", + "Cancelled" + ] + } + } + } + ] + }, + "edgeware": { + "alias": { + "voting": { + "Tally": "VotingTally" + } + }, + "types": [ + { + "minmax": [ + 0, + 31 + ], + "types": { + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, - "StakingPoolPhase": { + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "PreVoting", + "Commit", + "Voting", + "Completed" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "BalanceInfo": { - "amount": "Balance" + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "voting::VoteType": "VoteType", + "voting::TallyType": "TallyType", + "voting::Tally": "VotingTally", + "Keys": "SessionKeys4", + "StakingLedger": "StakingLedgerTo240", + "Votes": "VotesTo230", + "ReferendumInfo": "ReferendumInfoTo239", + "Weight": "u32", + "DispatchInfo": "DispatchInfoTo244", + "OpenTip": "OpenTipTo225", + "ContractExecResult": "ContractExecResultTo255", + "CompactAssignments": "CompactAssignmentsTo257", + "RewardDestination": "RewardDestinationTo257", + "RefCount": "RefCountTo259", + "AccountInfo": "AccountInfoWithRefCount", + "Address": "IndicesLookupSource", + "LookupSource": "IndicesLookupSource" } }, { "minmax": [ - 723, - 729 + 32, + 38 ], "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "XBTC": 4, - "RENBTC": 5, - "POLKABTC": 6, - "PLM": 7, - "PHA": 8, - "HDT": 9, - "BCG": 11, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "SDN": 135, - "KILT": 138 - } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" - } + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { "_enum": [ - "KAR", - "ACA" + "PreVoting", + "Commit", + "Voting", + "Completed" ] }, - "AuthoritysOriginId": { + "VoteType": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "Binary", + "MultiOption", + "RankedChoice" ] }, - "AcalaDataProviderId": { + "TallyType": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "OnePerson", + "OneCoin" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "voting::VoteType": "VoteType", + "voting::TallyType": "TallyType", + "voting::Tally": "VotingTally", + "CompactAssignments": "CompactAssignmentsTo257", + "ContractExecResult": "ContractExecResultTo255", + "RewardDestination": "RewardDestinationTo257", + "RefCount": "u32", + "AccountInfo": "AccountInfoWithRefCount", + "Address": "IndicesLookupSource", + "LookupSource": "IndicesLookupSource" + } + }, + { + "minmax": [ + 39, + 41 + ], + "types": { + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, - "LiquidationStrategy": { + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { "_enum": [ - "Auction", - "Exchange" + "PreVoting", + "Commit", + "Voting", + "Completed" ] }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "voting::VoteType": "VoteType", + "voting::TallyType": "TallyType", + "voting::Tally": "VotingTally", + "RefCount": "u32", + "AccountInfo": "AccountInfoWithRefCount", + "Address": "IndicesLookupSource", + "LookupSource": "IndicesLookupSource" + } + }, + { + "minmax": [ + 42, + 46 + ], + "types": { + "Balance2": "u128", + "ChainId": "u8", + "DepositNonce": "u64", + "ResourceId": "[u8; 32]", + "ProposalStatus": { + "_enum": [ + "Initiated", + "Approved", + "Rejected" + ] }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "staus": "ProposalStatus", + "expiry": "BlockNumber" }, - "ExitSucceed": { + "VoteStage": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "PreVoting", + "Commit", + "Voting", + "Completed" ] }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] }, - "ExitRevert": { + "TallyType": { "_enum": [ - "Reverted" + "OnePerson", + "OneCoin" ] }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "AccountInfo": "AccountInfoWithRefCount", + "Address": "MultiAddress", + "LookupSource": "MultiAddress" + } + }, + { + "minmax": [ + 47, + null + ], + "types": { + "Balance2": "u128", + "DepositNonce": "u64", + "ResourceId": "[u8; 32]", + "ProposalStatus": { + "_enum": [ + "Initiated", + "Approved", + "Rejected" + ] + }, + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "staus": "ProposalStatus", + "expiry": "BlockNumber" + }, + "VoteStage": { + "_enum": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, "Properties": { "_set": { - "_bitLength": 8, "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "Burnable": 2 } }, "ClassData": { "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "properties": "Properties" }, "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "deposit": "Balance" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", + "ClassInfo": { + "metadata": "Vec", + "total_issuance": "TokenId", "owner": "AccountId", "data": "ClassData" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "ClassInfoOf": "ClassInfo", + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "TokenData" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "TokenInfoOf": "TokenInfo", + "TokenId": "u64", + "ClassIdOf": "ClassId", + "TokenIdOf": "TokenId", + "Amount": "i128", + "AmountOf": "Amount", + "Approval": { + "amount": "Balance", + "deposit": "Balance" }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "ApprovalKey": { + "owner": "AccountId", + "delegate": "AccountId" + }, + "Commitment": "ScalarData", + "CurrencyId": "u64", + "CurrencyIdOf": "CurrencyId", + "DustHandlerType": { + "_enum": { + "Burn": "Null", + "Transfer": "AccountId" + } + }, + "HashFunction": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "PoseidonDefault", + "PoseidonExp3", + "PoseidonExp5", + "PoseidonExp17", + "MiMC", + "Blake2", + "Sha256" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "Manager": { + "accountId": "AccountId", + "required": "bool" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "MerkleTree": { + "leaf_count": "u32", + "max_leaves": "u32", + "depth": "u8", + "root_hash": "ScalarData", + "edge_nodes": "Vec", + "hasher": "HashFunction", + "should_store_leaves": "bool" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "MixerInfo": { + "minimum_deposit_length_for_reward": "BlockNumber", + "fixed_deposit_size": "Balance", + "currency_id": "CurrencyIdOf" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "Nullifier": "ScalarData", + "ScalarData": "[u8; 32]", + "TokenDetails": { + "owner": "AccountId", + "issuer": "AccountId", + "admin": "AccountId", + "freezer": "AccountId", + "supply": "Balance", + "deposit": "Balance", + "min_balance": "Balance", + "approvals": "u32", + "is_frozen": "bool", + "dust_type": "DustHandlerType" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "TokenMetadata": { + "deposit": "Balance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "is_frozen": "bool" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "TreeId": "u32", + "WithdrawProof": { + "mixer_id": "TreeId", + "cached_block": "BlockNumber", + "cached_root": "ScalarData", + "comms": "Vec", + "nullifier_hash": "ScalarData", + "proof_bytes": "Vec", + "leaf_index_commitments": "Vec", + "proof_commitments": "Vec", + "recipient": "Option", + "relayer": "Option" }, - "BalanceInfo": { - "amount": "Balance" + "ETHBlock": { + "inner": "Block" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "ETHReceipts": { + "inner": "Vec" + }, + "ETHTxStatuses": { + "inner": "Vec" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "LookupSource": "MultiAddress" + } + } + ] + }, + "elysium": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "Account": { + "nonce": "U256", + "balance": "U256" + }, + "Transaction": { + "nonce": "U256", + "action": "String", + "gas_price": "u64", + "gas_limit": "u64", + "value": "U256", + "input": "Vec", + "signature": "Signature" + }, + "Signature": { + "v": "u64", + "r": "H256", + "s": "H256" } } + } + ] + }, + "encointer-node-notee": { + "types": [ + { + "minmax": [ + 9, + null + ], + "types": { + "CommunityIdentifier": { + "geohash": "GeoHash", + "digest": "CidDigest" + }, + "GeoHash": "[u8; 5]", + "CidDigest": "[u8; 4]" + } }, { "minmax": [ - 730, - 1007 + 0, + 8 ], "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "ShardIdentifier": "Hash", + "GetterArgs": "(AccountId, CommunityIdentifier)", + "Enclave": { + "pubkey": "AccountId", + "mrenclave": "Hash", + "timestamp": "u64", + "url": "Text" + }, + "PublicGetter": { "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 4, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "CASH": 140 + "total_issuance": "CommunityIdentifier", + "participant_count": "CommunityIdentifier", + "meetup_count": "CommunityIdentifier", + "ceremony_reward": "CommunityIdentifier", + "location_tolerance": "CommunityIdentifier", + "time_tolerance": "CommunityIdentifier", + "scheduler_state": "CommunityIdentifier" } }, - "DexShare": { + "TrustedGetter": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "balance": "(AccountId, CommunityIdentifier)", + "participant_index": "(AccountId, CommunityIdentifier)", + "meetup_index": "(AccountId, CommunityIdentifier)", + "attestations": "(AccountId, CommunityIdentifier)", + "meetup_registry": "(AccountId, CommunityIdentifier)" } }, - "CurrencyId": { + "TrustedGetterSigned": { + "getter": "TrustedGetter", + "signature": "Signature" + }, + "Getter": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "public": "PublicGetter", + "trusted": "TrustedGetterSigned" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] + "ClientRequest": { + "_enum": { + "PubKeyWorker": null, + "MuRaPortWorker": null, + "StfState": "(Getter, ShardIdentifier)" + } }, - "AuthoritysOriginId": { + "WorkerEncoded": "Vec", + "Request": { + "shard": "ShardIdentifier", + "cyphertext": "WorkerEncoded" + }, + "TrustedCallSigned": { + "call": "TrustedCall", + "nonce": "u32", + "signature": "Signature" + }, + "TrustedCall": { + "_enum": { + "balance_transfer": "BalanceTransferArgs", + "ceremonies_register_participant": "RegisterParticipantArgs", + "ceremonies_register_attestations": "RegisterAttestationsArgs", + "ceremonies_grant_reputation": "GrantReputationArgs" + } + }, + "BalanceTransferArgs": "(AccountId, AccountId, CommunityIdentifier, BalanceType)", + "RegisterParticipantArgs": "(AccountId, CommunityIdentifier, Option>)", + "RegisterAttestationsArgs": "(AccountId, Vec>)", + "GrantReputationArgs": "(AccountId, CommunityIdentifier, AccountId)", + "BalanceType": "i128", + "BalanceEntry": { + "principal": "BalanceType", + "lastUpdate": "BlockNumber" + }, + "Demurrage": "BalanceType", + "BusinessIdentifier": { + "communityIdentifier": "CommunityIdentifier", + "controller": "AccountId" + }, + "OfferingIdentifier": "u32", + "BusinessData": { + "url": "PalletString", + "last_oid": "u32" + }, + "OfferingData": { + "url": "PalletString" + }, + "PalletString": "Text", + "IpfsCid": "Text", + "FixedI64F64": { + "bits": "i128" + }, + "CeremonyIndexType": "u32", + "CeremonyPhaseType": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "Registering", + "Assigning", + "Attesting" ] }, - "AcalaDataProviderId": { + "ParticipantIndexType": "u64", + "MeetupIndexType": "u64", + "AttestationIndexType": "u64", + "MeetupAssignment": "(MeetupIndexType, Option)", + "MeetupTimeOffsetType": "i32", + "Reputation": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "Unverified", + "UnverifiedReputable", + "VerifiedUnlinked", + "VerifiedLinked" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "CommunityReputation": { + "communityIdentifier": "CommunityIdentifier", + "reputation": "Reputation" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "ClaimOfAttendance": { + "claimantPublic": "AccountId", + "ceremonyIndex": "CeremonyIndexType", + "communityIdentifier": "CommunityIdentifier", + "meetupIndex": "MeetupIndexType", + "location": "Location", + "timestamp": "Moment", + "numberOfParticipantsConfirmed": "u32", + "claimantSignature": "Option" + }, + "ClaimOfAttendanceSigningPayload": { + "claimantPublic": "AccountId", + "ceremonyIndex": "CeremonyIndexType", + "communityIdentifier": "CommunityIdentifier", + "meetupIndex": "MeetupIndexType", + "location": "Location", + "timestamp": "Moment", + "numberOfParticipantsConfirmed": "u32" + }, + "AssignmentCount": { + "bootstrappers": "ParticipantIndexType", + "reputables": "ParticipantIndexType", + "endorsees": "ParticipantIndexType", + "newbies": "ParticipantIndexType" + }, + "Assignment": { + "bootstrappersReputables": "AssignmentParams", + "endorsees": "AssignmentParams", + "newbies": "AssignmentParams", + "locations": "AssignmentParams" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "AssignmentParams": { + "m": "u64", + "s1": "u64", + "s2": "u64" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "CommunityCeremonyStats": { + "communityCeremony": "(CommunityIdentifier, CeremonyIndexType)", + "assignment": "Assignment", + "assignmentCount": "AssignmentCount", + "meetupCount": "MeetupIndexType", + "meetups": "Vec" }, - "LiquidationStrategy": { + "Meetup": { + "index": "MeetupIndexType", + "location": "LocationRpc", + "time": "Moment", + "registrations": "Vec<(AccountId, ParticipantRegistration)>" + }, + "ParticipantRegistration": { + "index": "ParticipantIndexType", + "registrationType": "RegistrationType" + }, + "RegistrationType": { "_enum": [ - "Auction", - "Exchange" + "Bootstrapper", + "Reputable", + "Endorsee", + "Newbie" ] }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "Attestation": { + "claim": "ClaimOfAttendance", + "signature": "MultiSignature", + "public": "AccountId" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "ProofOfAttendance": { + "proverPublic": "AccountId", + "ceremonyIndex": "CeremonyIndexType", + "communityIdentifier": "CommunityIdentifier", + "attendeePublic": "AccountId", + "attendeeSignature": "MultiSignature" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "CommunityIdentifier": { + "geohash": "GeoHash", + "digest": "CidDigest" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "GeoHash": "[u8; 5]", + "CidDigest": "[u8; 4]", + "CommunityCeremony": "(CommunityIdentifier,CeremonyIndexType)", + "NominalIncomeType": "BalanceType", + "DegreeRpc": "Text", + "DegreeFixed": "i128", + "Location": { + "lat": "DegreeFixed", + "lon": "DegreeFixed" }, - "BalanceWrapper": { - "amount": "Balance" + "LocationRpc": { + "lat": "DegreeRpc", + "lon": "DegreeRpc" }, - "BalanceRequest": { - "amount": "Balance" + "CidName": { + "cid": "CommunityIdentifier", + "name": "Text" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "CommunityMetadataType": { + "name": "Text", + "symbol": "Text", + "assets": "Text", + "theme": "Option", + "url": "Option" }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" + "SystemNumber": "u32", + "SchedulerState": "(CeremonyIndexType, CeremonyPhaseType, SystemNumber)" + } + } + ], + "signedExtensions": { + "ChargeAssetTxPayment": { + "extrinsic": { + "tip": "Compact", + "assetId": "Option" + }, + "payload": {} + } + } + }, + "encointer-node-teeproxy": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "CeremonyPhaseType": { + "_enum": [ + "Registering", + "Assigning", + "Attesting" + ] }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "CeremonyIndexType": "u32", + "CurrencyIdentifier": "Hash", + "CurrencyCeremony": { + "cid": "CurrencyIdentifier", + "cindex": "CeremonyIndexType" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "Location": { + "lat": "i64", + "lon": "i64" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "CurrencyPropertiesType": { + "name_utf8": "Text", + "demurrage_per_block": "i128" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "ShardIdentifier": "Hash", + "Request": { + "shard": "ShardIdentifier", + "cyphertext": "Vec" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "Enclave": { + "pubkey": "AccountId", + "mrenclave": "Hash", + "timestamp": "u64", + "url": "Text" + } + } + } + ] + }, + "encointer-parachain": { + "types": [ + { + "minmax": [ + 3, + null + ], + "types": { + "CommunityIdentifier": { + "geohash": "GeoHash", + "digest": "CidDigest" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "GeoHash": "[u8; 5]", + "CidDigest": "[u8; 4]" + } + }, + { + "minmax": [ + 0, + 2 + ], + "types": { + "ShardIdentifier": "Hash", + "GetterArgs": "(AccountId, CommunityIdentifier)", + "Enclave": { + "pubkey": "AccountId", + "mrenclave": "Hash", + "timestamp": "u64", + "url": "Text" }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "PublicGetter": { + "_enum": { + "total_issuance": "CommunityIdentifier", + "participant_count": "CommunityIdentifier", + "meetup_count": "CommunityIdentifier", + "ceremony_reward": "CommunityIdentifier", + "location_tolerance": "CommunityIdentifier", + "time_tolerance": "CommunityIdentifier", + "scheduler_state": "CommunityIdentifier" + } }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "TrustedGetter": { + "_enum": { + "balance": "(AccountId, CommunityIdentifier)", + "participant_index": "(AccountId, CommunityIdentifier)", + "meetup_index": "(AccountId, CommunityIdentifier)", + "attestations": "(AccountId, CommunityIdentifier)", + "meetup_registry": "(AccountId, CommunityIdentifier)" + } }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "TrustedGetterSigned": { + "getter": "TrustedGetter", + "signature": "Signature" }, - "ExitReason": { + "Getter": { "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" + "public": "PublicGetter", + "trusted": "TrustedGetterSigned" } }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { + "ClientRequest": { "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" + "PubKeyWorker": null, + "MuRaPortWorker": null, + "StfState": "(Getter, ShardIdentifier)" } }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "WorkerEncoded": "Vec", + "Request": { + "shard": "ShardIdentifier", + "cyphertext": "WorkerEncoded" }, - "ExitFatal": { + "TrustedCallSigned": { + "call": "TrustedCall", + "nonce": "u32", + "signature": "Signature" + }, + "TrustedCall": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "balance_transfer": "BalanceTransferArgs", + "ceremonies_register_participant": "RegisterParticipantArgs", + "ceremonies_register_attestations": "RegisterAttestationsArgs", + "ceremonies_grant_reputation": "GrantReputationArgs" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "BalanceTransferArgs": "(AccountId, AccountId, CommunityIdentifier, BalanceType)", + "RegisterParticipantArgs": "(AccountId, CommunityIdentifier, Option>)", + "RegisterAttestationsArgs": "(AccountId, Vec>)", + "GrantReputationArgs": "(AccountId, CommunityIdentifier, AccountId)", + "BalanceType": "i128", + "BalanceEntry": { + "principal": "BalanceType", + "lastUpdate": "BlockNumber" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "Demurrage": "BalanceType", + "BusinessIdentifier": { + "communityIdentifier": "CommunityIdentifier", + "controller": "AccountId" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "OfferingIdentifier": "u32", + "BusinessData": { + "url": "PalletString", + "last_oid": "u32" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "OfferingData": { + "url": "PalletString" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "PalletString": "Text", + "IpfsCid": "Text", + "FixedI64F64": { + "bits": "i128" }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "CeremonyIndexType": "u32", + "CeremonyPhaseType": { + "_enum": [ + "Registering", + "Assigning", + "Attesting" + ] }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "ParticipantIndexType": "u64", + "MeetupIndexType": "u64", + "AttestationIndexType": "u64", + "MeetupAssignment": "(MeetupIndexType, Option)", + "MeetupTimeOffsetType": "i32", + "Reputation": { + "_enum": [ + "Unverified", + "UnverifiedReputable", + "VerifiedUnlinked", + "VerifiedLinked" + ] }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "CommunityReputation": { + "communityIdentifier": "CommunityIdentifier", + "reputation": "Reputation" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "ClaimOfAttendance": { + "claimantPublic": "AccountId", + "ceremonyIndex": "CeremonyIndexType", + "communityIdentifier": "CommunityIdentifier", + "meetupIndex": "MeetupIndexType", + "location": "Location", + "timestamp": "Moment", + "numberOfParticipantsConfirmed": "u32", + "claimantSignature": "Option" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "ClaimOfAttendanceSigningPayload": { + "claimantPublic": "AccountId", + "ceremonyIndex": "CeremonyIndexType", + "communityIdentifier": "CommunityIdentifier", + "meetupIndex": "MeetupIndexType", + "location": "Location", + "timestamp": "Moment", + "numberOfParticipantsConfirmed": "u32" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "AssignmentCount": { + "bootstrappers": "ParticipantIndexType", + "reputables": "ParticipantIndexType", + "endorsees": "ParticipantIndexType", + "newbies": "ParticipantIndexType" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "Assignment": { + "bootstrappersReputables": "AssignmentParams", + "endorsees": "AssignmentParams", + "newbies": "AssignmentParams", + "locations": "AssignmentParams" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "AssignmentParams": { + "m": "u64", + "s1": "u64", + "s2": "u64" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "CommunityCeremonyStats": { + "communityCeremony": "(CommunityIdentifier, CeremonyIndexType)", + "assignment": "Assignment", + "assignmentCount": "AssignmentCount", + "meetupCount": "MeetupIndexType", + "meetups": "Vec" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "Meetup": { + "index": "MeetupIndexType", + "location": "LocationRpc", + "time": "Moment", + "registrations": "Vec<(AccountId, ParticipantRegistration)>" }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "ParticipantRegistration": { + "index": "ParticipantIndexType", + "registrationType": "RegistrationType" + }, + "RegistrationType": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "Bootstrapper", + "Reputable", + "Endorsee", + "Newbie" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "Attestation": { + "claim": "ClaimOfAttendance", + "signature": "MultiSignature", + "public": "AccountId" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "ProofOfAttendance": { + "proverPublic": "AccountId", + "ceremonyIndex": "CeremonyIndexType", + "communityIdentifier": "CommunityIdentifier", + "attendeePublic": "AccountId", + "attendeeSignature": "MultiSignature" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "CommunityIdentifier": { + "geohash": "GeoHash", + "digest": "CidDigest" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "GeoHash": "[u8; 5]", + "CidDigest": "[u8; 4]", + "CommunityCeremony": "(CommunityIdentifier,CeremonyIndexType)", + "NominalIncomeType": "BalanceType", + "DegreeRpc": "Text", + "DegreeFixed": "i128", + "Location": { + "lat": "DegreeFixed", + "lon": "DegreeFixed" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "LocationRpc": { + "lat": "DegreeRpc", + "lon": "DegreeRpc" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "CidName": { + "cid": "CommunityIdentifier", + "name": "Text" }, - "BalanceInfo": { - "amount": "Balance" + "CommunityMetadataType": { + "name": "Text", + "symbol": "Text", + "assets": "Text", + "theme": "Option", + "url": "Option" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" - } + "SystemNumber": "u32", + "SchedulerState": "(CeremonyIndexType, CeremonyPhaseType, SystemNumber)" } - }, + } + ], + "signedExtensions": { + "ChargeAssetTxPayment": { + "extrinsic": { + "tip": "Compact", + "assetId": "Option" + }, + "payload": {} + } + } + }, + "fantour": { + "types": [ { "minmax": [ - 1008, - 1008 + 0, + null ], "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131 - } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "Properties": "u8", + "NFTMetadata": "Vec", + "BlockNumber": "u32", + "BlockNumberOf": "BlockNumber", + "OrderData": { + "currencyId": "Compact", + "price": "Compact", + "deposit": "Compact", + "deadline": "Compact", + "categoryId": "Compact" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "CategoryId": "u32", + "CategoryIdOf": "CategoryId", + "CategoryData": { + "metadata": "NFTMetadata", + "nftCount": "Compact" }, + "CurrencyId": "u32", "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "Amount": "i128", + "AmountOf": "Amount", + "ClassId": "u32", + "ClassIdOf": "ClassId", + "ClassInfoOf": { + "metadata": "NFTMetadata", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { + "ClassData": { + "deposit": "Compact", + "properties": "Properties", "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "description": "Vec", + "createBlock": "Compact" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "TokenInfoOf": { + "metadata": "NFTMetadata", + "owner": "AccountId", + "data": "TokenData" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "TokenData": { + "deposit": "Compact", + "createBlock": "Compact" + } + } + } + ] + }, + "ferrum-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "AccountId": "EthereumAccountId", + "AccountId20": "EthereumAccountId", + "Address": "AccountId", + "LookupSource": "AccountId", + "Lookup0": "AccountId", + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "ExtrinsicSignature": "EthereumSignature" + } + } + ] + }, + "foucoco": { + "rpc": { + "issue": { + "getIssueRequests": { + "description": "Get all issue requests for a particular account", + "params": [ + { + "name": "accountId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "issue_getIssueRequests", + "method": "getIssueRequests", + "section": "issue" + }, + "getVaultIssueRequests": { + "description": "Get all issue requests for a particular vault", + "params": [ + { + "name": "vaultId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "issue_getVaultIssueRequests", + "method": "getVaultIssueRequests", + "section": "issue" + } + }, + "redeem": { + "getRedeemRequests": { + "description": "Get all redeem requests for a particular account", + "params": [ + { + "name": "accountId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "redeem_getRedeemRequests", + "method": "getRedeemRequests", + "section": "redeem" + }, + "getVaultRedeemRequests": { + "description": "Get all redeem requests for a particular vault", + "params": [ + { + "name": "vaultId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "redeem_getVaultRedeemRequests", + "method": "getVaultRedeemRequests", + "section": "redeem" + } + }, + "replace": { + "getOldVaultReplaceRequests": { + "description": "Get all replace requests from a particular vault", + "params": [ + { + "name": "accountId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "replace_getOldVaultReplaceRequests", + "method": "getOldVaultReplaceRequests", + "section": "replace" + }, + "getNewVaultReplaceRequests": { + "description": "Get all replace requests to a particular vault", + "params": [ + { + "name": "vaultId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "replace_getNewVaultReplaceRequests", + "method": "getNewVaultReplaceRequests", + "section": "replace" + } + }, + "oracle": { + "currencyToUsd": { + "description": "Get the USD value of a currency", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" + }, + { + "name": "currencyId", + "type": "SpacewalkPrimitivesCurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "oracle_currencyToUsd", + "method": "currencyToUsd", + "section": "oracle" + }, + "usdToCurrency": { + "description": "Get the currency value of a USD amount", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" + }, + { + "name": "currencyId", + "type": "SpacewalkPrimitivesCurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "oracle_usdToCurrency", + "method": "usdToCurrency", + "section": "oracle" + }, + "getExchangeRate": { + "description": "Get the exchange rate of the given currencyId to USD", + "params": [ + { + "name": "currencyId", + "type": "SpacewalkPrimitivesCurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "UnsignedFixedPoint", + "isSubscription": false, + "jsonrpc": "oracle_getExchangeRate", + "method": "getExchangeRate", + "section": "oracle" + } + }, + "vaultRegistry": { + "getVaultCollateral": { + "description": "Get the vault's collateral (excluding nomination)", + "params": [ + { + "name": "vaultId", + "type": "SpacewalkPrimitivesVaultId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getVaultCollateral", + "method": "getVaultCollateral", + "section": "vaultRegistry" + }, + "getVaultsByAccountId": { + "description": "Get all the vaultIds registered by a vault's accountId", + "params": [ + { + "name": "accountId", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getVaultsByAccountId", + "method": "getVaultsByAccountId", + "section": "vaultRegistry" + }, + "getVaultTotalCollateral": { + "description": "Get the vault's collateral (including nomination)", + "params": [ + { + "name": "vaultId", + "type": "SpacewalkPrimitivesVaultId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getVaultTotalCollateral", + "method": "getVaultTotalCollateral", + "section": "vaultRegistry" + }, + "getPremiumRedeemVaults": { + "description": "Get all vaults below the premium redeem threshold, ordered in descending order of this amount", + "params": [ + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" + ], + "type": "Vec<(SpacewalkPrimitivesVaultId, BalanceWrapper)>", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getPremiumRedeemVaults", + "method": "getPremiumRedeemVaults", + "section": "vaultRegistry" + }, + "getVaultsWithIssuableTokens": { + "description": "Get all vaults with non-zero issuable tokens, ordered in descending order of this amount", + "params": [ + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" + ], + "type": "Vec<(SpacewalkPrimitivesVaultId, BalanceWrapper)>", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getVaultsWithIssuableTokens", + "method": "getVaultsWithIssuableTokens", + "section": "vaultRegistry" + }, + "getVaultsWithRedeemableTokens": { + "description": "Get all vaults with non-zero redeemable tokens, ordered in descending order of this amount", + "params": [ + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + ], + "type": "Vec<(SpacewalkPrimitivesVaultId, BalanceWrapper)>", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getVaultsWithRedeemableTokens", + "method": "getVaultsWithRedeemableTokens", + "section": "vaultRegistry" + }, + "getIssueableTokensFromVault": { + "description": "Get the amount of tokens a vault can issue", + "params": [ + { + "name": "vaultId", + "type": "SpacewalkPrimitivesVaultId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getIssueableTokensFromVault", + "method": "getIssueableTokensFromVault", + "section": "vaultRegistry" + }, + "getCollateralizationFromVault": { + "description": "Get the collateralization rate of a vault", + "params": [ + { + "name": "vaultId", + "type": "SpacewalkPrimitivesVaultId" + }, + { + "name": "onlyIssued", + "type": "bool" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + ], + "type": "FixedU128", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getCollateralizationFromVault", + "method": "getCollateralizationFromVault", + "section": "vaultRegistry" + }, + "getCollateralizationFromVaultAndCollateral": { + "description": "Get the collateralization rate of a vault and collateral", + "params": [ + { + "name": "vaultId", + "type": "SpacewalkPrimitivesVaultId" + }, + { + "name": "collateral", + "type": "BalanceWrapper" + }, + { + "name": "onlyIssued", + "type": "bool" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + ], + "type": "FixedU128", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getCollateralizationFromVaultAndCollateral", + "method": "getCollateralizationFromVaultAndCollateral", + "section": "vaultRegistry" + }, + "getRequiredCollateralForWrapped": { + "description": "Get the minimum amount of collateral required for the given amount of token with the current threshold and exchange rate", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" + }, + { + "name": "currencyId", + "type": "SpacewalkPrimitivesCurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getRequiredCollateralForWrapped", + "method": "getRequiredCollateralForWrapped", + "section": "vaultRegistry" + }, + "getRequiredCollateralForVault": { + "description": "Get the amount of collateral required for the given vault to be at the current SecureCollateralThreshold with the current exchange rate", + "params": [ + { + "name": "vaultId", + "type": "SpacewalkPrimitivesVaultId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + ], + "type": "BalanceWrapper", + "isSubscription": false, + "jsonrpc": "vaultRegistry_getRequiredCollateralForVault", + "method": "getRequiredCollateralForVault", + "section": "vaultRegistry" + } + }, + "farming": { + "getFarmingRewards": { + "description": "Get farming rewards", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" - } + ], + "type": "Vec<(SpacewalkPrimitivesCurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "farming_getFarmingRewards", + "method": "getFarmingRewards", + "section": "farming" + }, + "getGaugeRewards": { + "description": "Get gauge rewards", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec<(SpacewalkPrimitivesCurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "farming_getGaugeRewards", + "method": "getGaugeRewards", + "section": "farming" } - }, + } + }, + "instances": { + "council": [ + "generalCouncil" + ] + }, + "types": [ { "minmax": [ - 1008, - 1009 + 0, + null ], "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "BNC": 168, - "VSKSM": 169, - "PHA": 170, - "KINT": 171, - "KBTC": 172 - } + "OracleKey": {}, + "CurrencyId": {}, + "NumberOrHex": "u128", + "BalanceWrapper": { + "amount": "String" }, - "DexShare": { + "UnsignedFixedPoint": "u128", + "SpacewalkPrimitivesCurrencyId": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "Native": "Null", + "XCM": "u8", + "Stellar": "SpacewalkPrimitivesAsset", + "ZenlinkLPToken": "(u8,u8,u8,u8)" } }, - "CurrencyId": { + "SpacewalkPrimitivesAsset": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "StellarNative": "Null", + "AlphaNum4": { + "code": "[u8;4]", + "issuer": "[u8;32]" + }, + "AlphaNum12": { + "code": "[u8;12]", + "issuer": "[u8;32]" + } } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" - }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "SpacewalkPrimitivesVaultId": { + "accountId": "AccountId32", + "currencies": "SpacewalkPrimitivesVaultCurrencyPair" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "SpacewalkPrimitivesVaultCurrencyPair": { + "collateral": "SpacewalkPrimitivesCurrencyId", + "wrapped": "SpacewalkPrimitivesCurrencyId" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "PoolId": "u32" + } + } + ], + "alias": {} + }, + "frequency": { + "rpc": { + "frequency": { + "getEvents": { + "description": "Get block Events", + "params": [ + { + "name": "at", + "type": "H256" } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + ], + "type": "Vec" + } + }, + "frequencyTxPayment": { + "computeCapacityFeeDetails": { + "description": "Compute the capacity fee details for a given transaction", + "params": [ + { + "name": "encoded_xt", + "type": "Vec" + }, + { + "name": "at", + "type": "Option" } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + ], + "type": "FeeDetails" + } + }, + "handles": { + "getHandleForMsa": { + "description": "Get handle for a given msa_id", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + ], + "type": "Option" + }, + "getMsaForHandle": { + "description": "Get msa_id for a given handle", + "params": [ + { + "name": "display_handle", + "type": "String" } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" + ], + "type": "Option" + }, + "getNextSuffixes": { + "description": "Get next suffixes for a given handle and count", + "params": [ + { + "name": "base_handle", + "type": "String" + }, + { + "name": "count", + "type": "u16" } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" + ], + "type": "PresumptiveSuffixesResponse" + }, + "validateHandle": { + "description": "Check whether the supplied handle passes all the checks performed by claim_handle call.", + "params": [ + { + "name": "base_handle", + "type": "String" } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + ], + "type": "bool" + } + }, + "messages": { + "getBySchemaId": { + "description": "Get messages by schemaId paginated", + "params": [ + { + "name": "schema_id", + "type": "SchemaId" + }, + { + "name": "pagination", + "type": "BlockPaginationRequest" } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" - }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" - }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + ], + "type": "BlockPaginationResponseMessage" + } + }, + "msa": { + "checkDelegations": { + "description": "Test a list of MSAs to see if they have delegated to the provider MSA", + "params": [ + { + "name": "delegator_msa_ids", + "type": "Vec" + }, + { + "name": "provider_msa_id", + "type": "ProviderId" + }, + { + "name": "block_number", + "type": "BlockNumber" + }, + { + "name": "schema_id", + "type": "Option" + } + ], + "type": "Vec<(DelegatorId, bool)>" + }, + "grantedSchemaIdsByMsaId": { + "description": "Fetch the list of schema ids that a delegator has granted to provider", + "params": [ + { + "name": "delegator_msa_id", + "type": "DelegatorId" + }, + { + "name": "provider_msa_id", + "type": "ProviderId" + } + ], + "type": "Option>" + }, + "getKeysByMsaId": { + "description": "Fetch Keys for an MSA Id", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + } + ], + "type": "Option" + } + }, + "schemas": { + "getBySchemaId": { + "description": "Get a Schema by Id", + "params": [ + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "Option" + }, + "checkSchemaValidity": { + "description": "", + "params": [ + { + "name": "model", + "type": "SchemaModel" + }, + { + "name": "at", + "type": "BlockHash", + "isOptional": true + } + ], + "type": "bool" + }, + "getVersions": { + "description": "Get different versions and schema ids for a complete schema name or only a namespace", + "params": [ + { + "name": "schema_name", + "type": "String" + } + ], + "type": "Option>" + } + }, + "statefulStorage": { + "getPaginatedStorage": { + "description": "Gets pages of stateful storage", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + }, + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "Vec" + }, + "getItemizedStorage": { + "description": "Gets itemized of stateful storage", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + }, + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "ItemizedStoragePageResponse" + } + } + }, + "runtime": { + "AdditionalRuntimeApi": [ + { + "methods": { + "get_events": { + "description": "Get the events with simple SCALE decoding", + "params": [], + "type": "Vec" } }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "version": 1 + } + ], + "CapacityTransactionPaymentRuntimeApi": [ + { + "methods": { + "compute_capacity_fee": { + "description": "Compute the capacity fee for a given transaction", + "params": [ + { + "name": "encoded_xt", + "type": "Vec" + }, + { + "name": "at", + "type": "Option" + } + ], + "type": "FeeDetails" } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + } + } + ], + "HandlesRuntimeApi": [ + { + "methods": { + "get_handle_for_msa": { + "description": "Get handle for a given msa_id", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + } + ], + "type": "Option" + }, + "get_msa_for_handle": { + "description": "Get msa_id for a given handle", + "params": [ + { + "name": "display_handle", + "type": "Vec" + } + ], + "type": "Option" + }, + "get_next_suffixes": { + "description": "Get next suffixes for a given handle and count", + "params": [ + { + "name": "base_handle", + "type": "Vec" + }, + { + "name": "count", + "type": "u16" + } + ], + "type": "PresumptiveSuffixesResponse" + }, + "validate_handle": { + "description": "Check whether the supplied handle passes all the checks performed by claim_handle call.", + "params": [ + { + "name": "base_handle", + "type": "String" + } + ], + "type": "bool" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "version": 2 + } + ], + "MessagesRuntimeApi": [ + { + "methods": { + "get_messages_by_schema_and_block": { + "description": "Retrieve the messages for a particular schema and block number", + "params": [ + { + "name": "schema_id", + "type": "SchemaId" + }, + { + "name": "schema_payload_location", + "type": "PayloadLocation" + }, + { + "name": "block_number", + "type": "BlockNumber" + } + ], + "type": "Vec" + }, + "get_schema_by_id": { + "description": "Retrieve a schema by id", + "params": [ + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "Option" + } }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "version": 1 + } + ], + "MsaRuntimeApi": [ + { + "methods": { + "has_delegation": { + "description": "Check to see if a delegation existed between the given delegator and provider at a given block", + "params": [ + { + "name": "delegator_id", + "type": "DelegatorId" + }, + { + "name": "provider_id", + "type": "ProviderId" + }, + { + "name": "block_number", + "type": "BlockNumber" + }, + { + "name": "schema_id", + "type": "Option" + } + ], + "type": "bool" + }, + "get_granted_schemas_by_msa_id": { + "description": "Get the list of schema ids (if any) that exist in any delegation between the delegator and provider", + "params": [ + { + "name": "delegator_id", + "type": "DelegatorId" + }, + { + "name": "provider_id", + "type": "ProviderId" + } + ], + "type": "Option>" + } }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "version": 1 + }, + { + "methods": { + "has_delegation": { + "description": "Check to see if a delegation existed between the given delegator and provider at a given block", + "params": [ + { + "name": "delegator_id", + "type": "DelegatorId" + }, + { + "name": "provider_id", + "type": "ProviderId" + }, + { + "name": "block_number", + "type": "BlockNumber" + }, + { + "name": "schema_id", + "type": "Option" + } + ], + "type": "bool" + }, + "get_granted_schemas_by_msa_id": { + "description": "Get the list of schema ids (if any) that exist in any delegation between the delegator and provider", + "params": [ + { + "name": "delegator_id", + "type": "DelegatorId" + }, + { + "name": "provider_id", + "type": "ProviderId" + } + ], + "type": "Option>" } }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "version": 2 + } + ], + "SchemasRuntimeApi": [ + { + "methods": { + "get_schema_by_id": { + "description": "Fetch the schema by id", + "params": [ + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "Option" + }, + "get_schema_versions_by_name": { + "description": "Fetch the schema versions by name", + "params": [ + { + "name": "schema_name", + "type": "Vec" + } + ], + "type": "Option>" } }, - "BalanceInfo": { - "amount": "Balance" + "version": 2 + } + ], + "StatefulStorageRuntimeApi": [ + { + "methods": { + "get_paginated_storage": { + "description": "Fetch the stateful paginated storage by msa_id and schema_id", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + }, + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "Result, SpRuntimeDispatchError>" + }, + "get_itemized_storage": { + "description": "Fetch the stateful itemized storage by msa_id and schema_id", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + }, + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "Result" + } }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" - } + "version": 1 } + ] + }, + "signedExtensions": { + "CheckFreeExtrinsicUse": { + "extrinsic": {}, + "payload": {} }, + "HandlesSignedExtension": { + "extrinsic": {}, + "payload": {} + } + }, + "types": [ { "minmax": [ - 1010, - 1013 + 0, + null ], "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "BNC": 168, - "VSKSM": 169, - "PHA": 170, - "KINT": 171, - "KBTC": 172 - } + "RpcEvent": { + "phase": "Option", + "pallet": "u8", + "event": "u8", + "data": "Vec" }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "HandleSuffix": "u16", + "HandleResponse": { + "base_handle": "String", + "canonical_base": "String", + "suffix": "u16" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "PresumptiveSuffixesResponse": { + "suffixes": "Vec", + "base_handle": "String" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "BlockPaginationRequest": { + "from_block": "BlockNumber", + "from_index": "u32", + "to_block": "BlockNumber", + "page_size": "u32" + }, + "MessageResponse": { + "payload": "Option>", + "cid": "Option>", + "provider_msa_id": "MessageSourceId", + "msa_id": "Option", + "index": "u16", + "block_number": "BlockNumber", + "payload_length": "Option" + }, + "BlockPaginationResponseMessage": { + "content": "Vec", + "has_next": "bool", + "next_block": "Option", + "next_index": "Option" + }, + "MessageSourceId": "u64", + "DelegatorId": "MessageSourceId", + "ProviderId": "MessageSourceId", + "KeyInfoResponse": { + "msa_keys": "Vec", + "msa_id": "MessageSourceId" + }, + "SchemaGrantResponse": { + "schema_id": "SchemaId", + "revoked_at": "BlockNumber" + }, + "SchemaId": "u16", + "SchemaModel": "Vec", + "SchemaVersion": "u8", + "SchemaResponse": { + "schema_id": "SchemaId", + "model": "SchemaModel", + "model_type": "ModelType", + "payload_location": "PayloadLocation", + "settings": "Vec" + }, + "ModelType": { "_enum": [ - "KAR", - "ACA" + "AvroBinary", + "Parquet" ] }, - "AuthoritysOriginId": { + "PayloadLocation": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "OnChain", + "IPFS", + "Itemized", + "Paginated" ] }, - "AcalaDataProviderId": { + "SchemaSetting": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "AppendOnly", + "SignatureRequired" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" - }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "SchemaVersionResponse": { + "schema_name": "String", + "schema_version": "SchemaVersion", + "schema_id": "SchemaId" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "PageId": "u16", + "PageHash": "u32", + "PageNonce": "u16", + "ItemizedStorageResponse": { + "index": "u16", + "payload": "Vec" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "PaginatedStorageResponse": { + "page_id": "PageId", + "msa_id": "MessageSourceId", + "schema_id": "SchemaId", + "content_hash": "PageHash", + "nonce": "PageNonce", + "payload": "Vec" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "ItemizedStoragePageResponse": { + "msa_id": "MessageSourceId", + "schema_id": "SchemaId", + "content_hash": "PageHash", + "nonce": "PageNonce", + "items": "Vec" + } + } + } + ] + }, + "frequency-testnet": { + "rpc": { + "frequency": { + "getEvents": { + "description": "Get block Events", + "params": [ + { + "name": "at", + "type": "H256" } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + ], + "type": "Vec" + } + }, + "frequencyTxPayment": { + "computeCapacityFeeDetails": { + "description": "Compute the capacity fee details for a given transaction", + "params": [ + { + "name": "encoded_xt", + "type": "Vec" + }, + { + "name": "at", + "type": "Option" } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + ], + "type": "FeeDetails" + } + }, + "handles": { + "getHandleForMsa": { + "description": "Get handle for a given msa_id", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + } + ], + "type": "Option" + }, + "getMsaForHandle": { + "description": "Get msa_id for a given handle", + "params": [ + { + "name": "display_handle", + "type": "String" + } + ], + "type": "Option" + }, + "getNextSuffixes": { + "description": "Get next suffixes for a given handle and count", + "params": [ + { + "name": "base_handle", + "type": "String" + }, + { + "name": "count", + "type": "u16" + } + ], + "type": "PresumptiveSuffixesResponse" + }, + "validateHandle": { + "description": "Check whether the supplied handle passes all the checks performed by claim_handle call.", + "params": [ + { + "name": "base_handle", + "type": "String" + } + ], + "type": "bool" + } + }, + "messages": { + "getBySchemaId": { + "description": "Get messages by schemaId paginated", + "params": [ + { + "name": "schema_id", + "type": "SchemaId" + }, + { + "name": "pagination", + "type": "BlockPaginationRequest" + } + ], + "type": "BlockPaginationResponseMessage" + } + }, + "msa": { + "checkDelegations": { + "description": "Test a list of MSAs to see if they have delegated to the provider MSA", + "params": [ + { + "name": "delegator_msa_ids", + "type": "Vec" + }, + { + "name": "provider_msa_id", + "type": "ProviderId" + }, + { + "name": "block_number", + "type": "BlockNumber" + }, + { + "name": "schema_id", + "type": "Option" + } + ], + "type": "Vec<(DelegatorId, bool)>" + }, + "grantedSchemaIdsByMsaId": { + "description": "Fetch the list of schema ids that a delegator has granted to provider", + "params": [ + { + "name": "delegator_msa_id", + "type": "DelegatorId" + }, + { + "name": "provider_msa_id", + "type": "ProviderId" + } + ], + "type": "Option>" + }, + "getKeysByMsaId": { + "description": "Fetch Keys for an MSA Id", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + } + ], + "type": "Option" + } + }, + "schemas": { + "getBySchemaId": { + "description": "Get a Schema by Id", + "params": [ + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "Option" + }, + "checkSchemaValidity": { + "description": "", + "params": [ + { + "name": "model", + "type": "SchemaModel" + }, + { + "name": "at", + "type": "BlockHash", + "isOptional": true + } + ], + "type": "bool" + }, + "getVersions": { + "description": "Get different versions and schema ids for a complete schema name or only a namespace", + "params": [ + { + "name": "schema_name", + "type": "String" + } + ], + "type": "Option>" + } + }, + "statefulStorage": { + "getPaginatedStorage": { + "description": "Gets pages of stateful storage", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + }, + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "Vec" + }, + "getItemizedStorage": { + "description": "Gets itemized of stateful storage", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + }, + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "ItemizedStoragePageResponse" + } + } + }, + "runtime": { + "AdditionalRuntimeApi": [ + { + "methods": { + "get_events": { + "description": "Get the events with simple SCALE decoding", + "params": [], + "type": "Vec" } }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "version": 1 + } + ], + "CapacityTransactionPaymentRuntimeApi": [ + { + "methods": { + "compute_capacity_fee": { + "description": "Compute the capacity fee for a given transaction", + "params": [ + { + "name": "encoded_xt", + "type": "Vec" + }, + { + "name": "at", + "type": "Option" + } + ], + "type": "FeeDetails" + } + } + } + ], + "HandlesRuntimeApi": [ + { + "methods": { + "get_handle_for_msa": { + "description": "Get handle for a given msa_id", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + } + ], + "type": "Option" + }, + "get_msa_for_handle": { + "description": "Get msa_id for a given handle", + "params": [ + { + "name": "display_handle", + "type": "Vec" + } + ], + "type": "Option" + }, + "get_next_suffixes": { + "description": "Get next suffixes for a given handle and count", + "params": [ + { + "name": "base_handle", + "type": "Vec" + }, + { + "name": "count", + "type": "u16" + } + ], + "type": "PresumptiveSuffixesResponse" + }, + "validate_handle": { + "description": "Check whether the supplied handle passes all the checks performed by claim_handle call.", + "params": [ + { + "name": "base_handle", + "type": "String" + } + ], + "type": "bool" + } }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "version": 2 + } + ], + "MessagesRuntimeApi": [ + { + "methods": { + "get_messages_by_schema_and_block": { + "description": "Retrieve the messages for a particular schema and block number", + "params": [ + { + "name": "schema_id", + "type": "SchemaId" + }, + { + "name": "schema_payload_location", + "type": "PayloadLocation" + }, + { + "name": "block_number", + "type": "BlockNumber" + } + ], + "type": "Vec" + }, + "get_schema_by_id": { + "description": "Retrieve a schema by id", + "params": [ + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "Option" + } }, - "BalanceWrapper": { - "amount": "Balance" + "version": 1 + } + ], + "MsaRuntimeApi": [ + { + "methods": { + "has_delegation": { + "description": "Check to see if a delegation existed between the given delegator and provider at a given block", + "params": [ + { + "name": "delegator_id", + "type": "DelegatorId" + }, + { + "name": "provider_id", + "type": "ProviderId" + }, + { + "name": "block_number", + "type": "BlockNumber" + }, + { + "name": "schema_id", + "type": "Option" + } + ], + "type": "bool" + }, + "get_granted_schemas_by_msa_id": { + "description": "Get the list of schema ids (if any) that exist in any delegation between the delegator and provider", + "params": [ + { + "name": "delegator_id", + "type": "DelegatorId" + }, + { + "name": "provider_id", + "type": "ProviderId" + } + ], + "type": "Option>" + } }, - "BalanceRequest": { - "amount": "Balance" + "version": 1 + }, + { + "methods": { + "has_delegation": { + "description": "Check to see if a delegation existed between the given delegator and provider at a given block", + "params": [ + { + "name": "delegator_id", + "type": "DelegatorId" + }, + { + "name": "provider_id", + "type": "ProviderId" + }, + { + "name": "block_number", + "type": "BlockNumber" + }, + { + "name": "schema_id", + "type": "Option" + } + ], + "type": "bool" + }, + "get_granted_schemas_by_msa_id": { + "description": "Get the list of schema ids (if any) that exist in any delegation between the delegator and provider", + "params": [ + { + "name": "delegator_id", + "type": "DelegatorId" + }, + { + "name": "provider_id", + "type": "ProviderId" + } + ], + "type": "Option>" + } }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "version": 2 + } + ], + "SchemasRuntimeApi": [ + { + "methods": { + "get_schema_by_id": { + "description": "Fetch the schema by id", + "params": [ + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "Option" + }, + "get_schema_versions_by_name": { + "description": "Fetch the schema versions by name", + "params": [ + { + "name": "schema_name", + "type": "Vec" + } + ], + "type": "Option>" } }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "version": 2 + } + ], + "StatefulStorageRuntimeApi": [ + { + "methods": { + "get_paginated_storage": { + "description": "Fetch the stateful paginated storage by msa_id and schema_id", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + }, + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "Result, SpRuntimeDispatchError>" + }, + "get_itemized_storage": { + "description": "Fetch the stateful itemized storage by msa_id and schema_id", + "params": [ + { + "name": "msa_id", + "type": "MessageSourceId" + }, + { + "name": "schema_id", + "type": "SchemaId" + } + ], + "type": "Result" + } }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "version": 1 + } + ] + }, + "signedExtensions": { + "CheckFreeExtrinsicUse": { + "extrinsic": {}, + "payload": {} + }, + "HandlesSignedExtension": { + "extrinsic": {}, + "payload": {} + } + }, + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "RpcEvent": { + "phase": "Option", + "pallet": "u8", + "event": "u8", + "data": "Vec" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "HandleSuffix": "u16", + "HandleResponse": { + "base_handle": "String", + "canonical_base": "String", + "suffix": "u16" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "PresumptiveSuffixesResponse": { + "suffixes": "Vec", + "base_handle": "String" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "BlockPaginationRequest": { + "from_block": "BlockNumber", + "from_index": "u32", + "to_block": "BlockNumber", + "page_size": "u32" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "MessageResponse": { + "payload": "Option>", + "cid": "Option>", + "provider_msa_id": "MessageSourceId", + "msa_id": "Option", + "index": "u16", + "block_number": "BlockNumber", + "payload_length": "Option" }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "BlockPaginationResponseMessage": { + "content": "Vec", + "has_next": "bool", + "next_block": "Option", + "next_index": "Option" }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "MessageSourceId": "u64", + "DelegatorId": "MessageSourceId", + "ProviderId": "MessageSourceId", + "KeyInfoResponse": { + "msa_keys": "Vec", + "msa_id": "MessageSourceId" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "SchemaGrantResponse": { + "schema_id": "SchemaId", + "revoked_at": "BlockNumber" }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } + "SchemaId": "u16", + "SchemaModel": "Vec", + "SchemaVersion": "u8", + "SchemaResponse": { + "schema_id": "SchemaId", + "model": "SchemaModel", + "model_type": "ModelType", + "payload_location": "PayloadLocation", + "settings": "Vec" }, - "ExitSucceed": { + "ModelType": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "AvroBinary", + "Parquet" ] }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } + "PayloadLocation": { + "_enum": [ + "OnChain", + "IPFS", + "Itemized", + "Paginated" + ] }, - "ExitRevert": { + "SchemaSetting": { "_enum": [ - "Reverted" + "AppendOnly", + "SignatureRequired" ] }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "SchemaVersionResponse": { + "schema_name": "String", + "schema_version": "SchemaVersion", + "schema_id": "SchemaId" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "PageId": "u16", + "PageHash": "u32", + "PageNonce": "u16", + "ItemizedStorageResponse": { + "index": "u16", + "payload": "Vec" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "PaginatedStorageResponse": { + "page_id": "PageId", + "msa_id": "MessageSourceId", + "schema_id": "SchemaId", + "content_hash": "PageHash", + "nonce": "PageNonce", + "payload": "Vec" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "ItemizedStoragePageResponse": { + "msa_id": "MessageSourceId", + "schema_id": "SchemaId", + "content_hash": "PageHash", + "nonce": "PageNonce", + "items": "Vec" + } + } + } + ] + }, + "galital": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Account": { + "nonce": "U256", + "balance": "U256" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "Transaction": { + "nonce": "U256", + "action": "String", + "gas_price": "u64", + "gas_limit": "u64", + "value": "U256", + "input": "Vec", + "signature": "Signature" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "ChainId": "u8", + "ResourceId": "[u8; 32]", + "DepositNonce": "u64", + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "u8", + "expiry": "U256" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" - } + "ClassId": "u64", + "TokenId": "u64", + "ClassData": "Vec", + "TokenData": "Vec", + "ReportReason": { + "_enum": [ + "None", + "Illigal", + "Plagiarism", + "Duplicate", + "Reported" + ] }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "ClassInfoOf": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "class_data": "ClassData" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "ExtendedInfo": { + "display_flag": "bool", + "report": "ReportReason", + "frozen": "bool" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", "TokenInfoOf": { - "metadata": "CID", + "metadata": "Vec", "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "class_data": "ClassData" + } + } + } + ] + }, + "galital-collator": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "U256" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "Transaction": { + "nonce": "U256", + "action": "String", + "gas_price": "u64", + "gas_limit": "u64", + "value": "U256", + "input": "Vec", + "signature": "Signature" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "Signature": { + "v": "u64", + "r": "H256", + "s": "H256" }, + "ClassId": "u64", "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { + "ClassData": "Vec", + "TokenData": "Vec", + "ReportReason": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "None", + "Illigal", + "Plagiarism", + "Duplicate", + "Reported" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "ClassInfoOf": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "class_data": "ClassData" }, - "BalanceInfo": { - "amount": "Balance" + "ExtendedInfo": { + "display_flag": "bool", + "report": "ReportReason", + "frozen": "bool" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "TokenInfoOf": { + "metadata": "Vec", + "owner": "AccountId", + "class_data": "ClassData" + } } - }, + } + ] + }, + "gamepower": { + "types": [ { "minmax": [ - 1014, - 1018 + 0, + null ], "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "BNC": 168, - "VSKSM": 169, - "PHA": 170, - "KINT": 171, - "KBTC": 172 - } + "AccountInfo": "AccountInfoWithDualRefCount", + "AssetId": "u64", + "SeriesId": "u64", + "ClassId": "u32", + "ClassIdOf": "ClassId", + "ClassInfoOf": "ClassInfo", + "TokenId": "u64", + "TokenIdOf": "TokenId", + "TokenInfoOf": "TokenInfo", + "ClassInfo": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "data": "NftClassData" }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "NftAssetData" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "NftSeriesData": { + "name": "Vec", + "owner": "AccountId", + "properties": "Vec" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] + "NftClassData": { + "deposit": "Balance", + "properties": "Vec", + "token_type": "TokenType", + "collection_type": "CollectionType", + "total_supply": "u64", + "initial_supply": "u64" }, - "AuthoritysOriginId": { + "NftAssetData": { + "deposit": "Balance", + "name": "Vec", + "description": "Vec", + "properties": "Vec" + }, + "TokenType": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "Transferrable", + "BoundToAddress" ] }, - "AcalaDataProviderId": { + "CollectionType": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "Collectable", + "Wearable", + "Executable" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "ClassProperties": { + "Transferrable": "bool", + "Burnable": "bool" + } + } + } + ] + }, + "gargantua": {}, + "hack-hydra-dx": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "Address": "AccountId", + "OrmlAccountData": { + "free": "Balance", + "frozen": "Balance", + "reserved": "Balance" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "Fee": { + "numerator": "u32", + "denominator": "u32" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "BalanceInfo": { + "amount": "Balance", + "assetId": "AssetId" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "CurrencyId": "AssetId", + "CurrencyIdOf": "AssetId", + "Intention": { + "who": "AccountId", + "asset_sell": "AssetId", + "asset_buy": "AssetId", + "amount": "Balance", + "discount": "bool", + "sell_or_buy": "IntentionType" }, - "LiquidationStrategy": { + "IntentionId": "u128", + "IntentionType": { "_enum": [ - "Auction", - "Exchange" + "SELL", + "BUY" ] }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" + "LookupSource": "AccountId", + "OrderedSet": "Vec", + "Price": "Balance", + "Chain": { + "genesisHash": "Vec", + "lastBlockHash": "Vec" + } + } + } + ] + }, + "halongbay": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "RelayChainAccountId": "H256", + "RoundIndex": "u32", + "SettingStruct": { + "bond_duration": "u32", + "blocks_per_round": "u32", + "desired_target": "u32" }, - "BalanceRequest": { + "Bond": { + "owner": "AccountId", "amount": "Balance" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "UnBondChunk": { + "value": "Balance", + "round": "u32" }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "StakingNominators": { + "nominations": "Vec", + "total": "Balance", + "unbonding": "Vec", + "claimed_rewards": "Vec" + } + } + } + ] + }, + "hanonycash": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Difficulty": "U256", + "DifficultyAndTimestamp": { + "difficulty": "Difficulty", + "timestamp": "Moment" }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "Era": { + "genesisBlockHash": "H256", + "finalBlockHash": "H256", + "finalStateRoot": "H256" }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" + "RefCount": "u8" + } + } + ] + }, + "heiko": { + "rpc": { + "oracle": { + "getValue": { + "description": "Retrieves the oracle value for a given key.", + "params": [ + { + "name": "providerId", + "type": "RpcDataProviderId" + }, + { + "name": "key", + "type": "OracleKey" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" + ], + "type": "Option", + "isSubscription": false, + "jsonrpc": "oracle_getValue", + "method": "getValue", + "section": "oracle" + }, + "getAllValues": { + "description": "Retrieves all oracle values.", + "params": [ + { + "name": "providerId", + "type": "RpcDataProviderId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Vec<(OracleKey, Option)>", + "isSubscription": false, + "jsonrpc": "oracle_getAllValues", + "method": "getAllValues", + "section": "oracle" + } + }, + "tokens": { + "queryExistentialDeposit": { + "description": "Query Existential Deposit for a given currency.", + "params": [ + { + "name": "currencyId", + "type": "CurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "NumberOrHex", + "isSubscription": false, + "jsonrpc": "tokens_queryExistentialDeposit", + "method": "queryExistentialDeposit", + "section": "tokens" + } + }, + "loans": { + "getCollateralLiquidity": { + "description": "Retrieves collateral liquidity for the given user.", + "params": [ + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Liquidity, Shortfall, Liquidity, Shortfall)", + "isSubscription": false, + "jsonrpc": "loans_getCollateralLiquidity", + "method": "getCollateralLiquidity", + "section": "loans" + }, + "getLiquidationThresholdLiquidity": { + "description": "Retrieves liquidation threshold liquidity for the given user.", + "params": [ + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Liquidity, Shortfall, Liquidity, Shortfall)", + "isSubscription": false, + "jsonrpc": "loans_getLiquidationThresholdLiquidity", + "method": "getLiquidationThresholdLiquidity", + "section": "loans" + }, + "getMarketStatus": { + "description": "Retrieves market status data for a given asset id.", + "params": [ + { + "name": "asset_id", + "type": "CurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Rate, Rate, Rate, Ratio, Balance, Balance, FixedU128)", + "isSubscription": false, + "jsonrpc": "loans_getMarketStatus", + "method": "getMarketStatus", + "section": "loans" + } + }, + "router": { + "getBestRoute": { + "description": "Returns the route that results in the largest amount out for amount in", + "params": [ + { + "name": "amount", + "type": "Balance" + }, + { + "name": "token_in", + "type": "CurrencyId" + }, + { + "name": "token_out", + "type": "CurrencyId" + }, + { + "name": "reversed", + "type": "bool" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true } - }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "ExitFatal": { + ], + "type": "(Vec, FixedU128)", + "isSubscription": false, + "jsonrpc": "router_getBestRoute", + "method": "getBestRoute", + "section": "router" + } + } + }, + "instances": { + "council": [ + "generalCouncil" + ] + }, + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" - } + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "PoolIdV0": { + "DelayedDispatchTime": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } - }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "At": "BlockNumber", + "After": "BlockNumber" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "u8", + "PoolInfo": { + "isActive": "bool", + "totalDeposited": "Balance", + "unlockHeight": "BlockNumber", + "coolDownDuration": "BlockNumber", + "rewardDuration": "BlockNumber", + "periodFinish": "BlockNumber", + "lastUpdateBlock": "BlockNumber", + "rewardRate": "Balance", + "rewardPerShareStored": "Balance" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "OracleKey": "CurrencyId", + "Share": "u128", "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] - }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" - }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" - }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] - }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "Deposits": { + "voucherBalance": "Balance", + "isCollateral": "bool" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "BorrowSnapshot": { + "principal": "Balance", + "borrowIndex": "u128" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "EarnedSnapshot": { + "totalEarnedPrior": "Balance", + "exchangeRatePrior": "u128" }, - "BalanceInfo": { - "amount": "Balance" + "JumpModel": { + "baseRate": "Rate", + "jumpRate": "Rate", + "fullRate": "Rate", + "jumpUtilization": "Ratio" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV1", - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" - } - }, - { - "minmax": [ - 1019, - null - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "BNC": 168, - "VSKSM": 169, - "PHA": 170, - "KINT": 171, - "KBTC": 172 - } + "CurveModel": { + "baseRate": "Rate" }, - "DexShare": { + "InterestRateModel": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "JumpModel": "JumpModel", + "CurveModel": "CurveModel" } }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "Market": { + "collateralFactor": "Ratio", + "liquidationThreshold": "Ratio", + "reserveFactor": "Ratio", + "closeFactor": "Ratio", + "liquidateIncentive": "Rate", + "liquidateIncentiveReservedFactor": "Ratio", + "rateModel": "InterestRateModel", + "state": "MarketState", + "supplyCap": "Balance", + "borrowCap": "Balance", + "ptokenId": "CurrencyId" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "MarketState": { "_enum": [ - "KAR", - "ACA" + "Active", + "Pending", + "Supervision" ] }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] + "RewardMarketState": { + "index": "Balance", + "block": "BlockNumber" }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "Liquidity": "FixedU128", + "Shortfall": "FixedU128", + "ReservableAmount": { + "total": "Balance", + "reserved": "Balance" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "OrmlCurrencyId": "CurrencyId", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "MatchingLedger": { + "totalStakeAmount": "ReservableAmount", + "totalUnstakeAmount": "ReservableAmount" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "UnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "StakingLedger": { + "stash": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec", + "claimedRewards": "Vec" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "DerivativeIndex": "u16", + "Pool": { + "baseAmount": "Balance", + "quoteAmount": "Balance", + "baseAmountLast": "Balance", + "quoteAmountLast": "Balance", + "lpTokenId": "AssetId", + "blockTimestampLast": "BlockNumber", + "price0CumulativeLast": "Balance", + "price1CumulativeLast": "Balance" }, - "LiquidationStrategy": { + "Amount": "i128", + "AmountOf": "Amount", + "Rate": "FixedU128", + "Ratio": "Permill", + "Timestamp": "u64", + "PriceDetail": "(Price, Timestamp)", + "CurrencyId": "AssetId", + "CurrencyIdOf": "CurrencyId", + "Currency": "CurrencyId", + "AssetIdOf": "AssetId", + "OracleKey": "AssetId", + "BoundedBalance": "BoundedVec<(Balance, BlockNumber), u32>", + "UserPosition": { + "depositBalance": "Balance", + "lockBalanceItems": "BoundedBalance", + "rewardAmount": "Balance", + "rewardPerSharePaid": "Balance" + }, + "Route": "Vec<(AssetId, AssetId)>", + "VaultPhase": { "_enum": [ - "Auction", - "Exchange" + "Pending", + "Contributing", + "Closed", + "Failed", + "Succeeded", + "Expired" ] }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } - }, - "BlockLimits": { - "maxGasLimit": "u64", - "maxStorageLimit": "u32" - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "ExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "ContributionStrategy": { + "_enum": [ + "XCM", + "XCMPROXY" + ] }, - "CreateInfo": { - "exit_reason": "ExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" + "ChildStorageKind": { + "_enum": [ + "Pending", + "Flying", + "Contributed" + ] }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "TrieIndex": "u32", + "LeasePeriod": "BlockNumber", + "Vault": { + "ctoken": "AssetId", + "phase": "VaultPhase", + "contributed": "Balance", + "pending": "Balance", + "flying": "Balance", + "contributionStrategy": "ContributionStrategy", + "cap": "Balance", + "endBlock": "BlockNumber", + "trieIndex": "TrieIndex", + "leaseStart": "LeasePeriod", + "leaseEnd": "LeasePeriod" }, - "ExitReason": { - "_enum": { - "Succeed": "ExitSucceed", - "Error": "ExitError", - "Revert": "ExitRevert", - "Fatal": "ExitFatal" - } + "XcmWeightFeeMisc": { + "weight": "Weight", + "fee": "Balance" }, - "ExitSucceed": { + "XcmCall": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "Bond", + "BondExtra", + "Unbond", + "Rebond", + "WithdrawUnbonded", + "Nominate", + "Contribute", + "Withdraw", + "AddMemo" ] }, - "ExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "u8" - } + "BridgeToken": { + "id": "CurrencyId", + "external": "bool", + "fee": "Balance" }, - "ExitRevert": { + "ProposalStatus": { "_enum": [ - "Reverted" + "Initiated", + "Approved", + "Rejected" ] }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "TAssetBalance": "u128" + } + } + ], + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + } + }, + "hydra-dx": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "Address": "AccountId", + "OrmlAccountData": { + "free": "Balance", + "frozen": "Balance", + "reserved": "Balance" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "Fee": { + "numerator": "u32", + "denominator": "u32" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "BalanceInfo": { + "amount": "Balance", + "assetId": "AssetId" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "CurrencyId": "AssetId", + "CurrencyIdOf": "AssetId", + "Intention": { + "who": "AccountId", + "asset_sell": "AssetId", + "asset_buy": "AssetId", + "amount": "Balance", + "discount": "bool", + "sell_or_buy": "IntentionType" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "IntentionId": "u128", + "IntentionType": { + "_enum": [ + "SELL", + "BUY" + ] }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" + "LookupSource": "AccountId", + "OrderedSet": "Vec", + "Price": "Balance", + "Chain": { + "genesisHash": "Vec", + "lastBlockHash": "Vec" + } + } + } + ] + }, + "hyperbridge": {}, + "idavoll": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId" + } + } + ] + }, + "imbue": { + "rpc": { + "proposals": { + "getProjectKitty": { + "description": "Get the escrow address associated with a project", + "params": [ + { + "name": "project_id", + "type": "u32" } + ], + "type": "AccountId" + } + } + }, + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress" + } + } + ] + }, + "integritee-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "Enclave": { + "mrenclave": "Hash", + "pubkey": "AccountId", + "timestamp": "u64", + "url": "Text" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "LookupSource": "MultiAddress", + "Request": { + "cyphertext": "Vec", + "shard": "ShardIdentifier" + }, + "ShardIdentifier": "Hash" + } + } + ] + }, + "interbtc-parachain": { + "default": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "BalanceWrapper": { + "amount": "String" + }, + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId", + "LendToken": "LendTokenId", + "LpToken": "(LpToken, LpToken)", + "StableLpToken": "StablePoolId" + } + }, + "LpToken": { + "_enum": { + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId", + "StableLpToken": "StablePoolId" + } + }, + "InterbtcPrimitivesCurrencyId": { + "_enum": { + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId", + "LendToken": "InterbtcLendTokenId", + "LpToken": "(InterbtcLpToken, InterbtcLpToken)", + "StableLpToken": "InterbtcStablePoolId" + } + }, + "InterbtcLpToken": { + "_enum": { + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId", + "StableLpToken": "InterbtcStablePoolId" + } + }, + "InterbtcForeignAssetId": "u32", + "ForeignAssetId": "u32", + "InterbtcLendTokenId": "u32", + "InterbtcStablePoolId": "u32", + "LendTokenId": "u32", + "StablePoolId": "u32", + "NumberOrHex": { + "_enum": { + "Number": "u64", + "Hex": "U256" + } + }, + "Rate": "FixedU128", + "Ratio": "Permill", + "Liquidity": "FixedU128", + "Shortfall": "FixedU128", + "FundAccountJsonRpcRequest": { + "account_id": "AccountId", + "currency_id": "InterbtcPrimitivesCurrencyId" + }, + "H256Le": "H256", + "SignedFixedPoint": "FixedU128", + "TokenSymbol": { + "_enum": { + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 + } + }, + "InterbtcPrimitivesTokenSymbol": { + "_enum": { + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 + } + }, + "UnsignedFixedPoint": "FixedU128", + "VaultCurrencyPair": { + "collateral": "CurrencyId", + "wrapped": "CurrencyId" + }, + "VaultId": { + "account_id": "AccountId", + "currencies": "VaultCurrencyPair" } + } + } + ], + "rpc": { + "btcRelay": { + "verifyBlockHeaderInclusion": { + "description": "Verify that the block with the given hash is included", + "params": [ + { + "name": "block_hash", + "type": "H256Le" + } + ], + "type": "void" + } + }, + "escrow": { + "balanceAt": { + "description": "Get a given user's escrowed balance", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "height", + "type": "Option" + } + ], + "type": "BalanceWrapper" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "totalSupply": { + "description": "Get the total voting supply in the system", + "params": [ + { + "name": "height", + "type": "Option" + } + ], + "type": "BalanceWrapper" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "freeStakable": { + "description": "Amount of kint/intr that account can lock, taking into consideration the Limits.", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "BalanceWrapper" + } + }, + "loans": { + "getCollateralLiquidity": { + "description": "Retrieves collateral liquidity for the given user.", + "params": [ + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Liquidity, Shortfall)", + "isSubscription": false, + "jsonrpc": "loans_getCollateralLiquidity", + "method": "getCollateralLiquidity", + "section": "loans" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "getLiquidationThresholdLiquidity": { + "description": "Retrieves liquidation threshold liquidity for the given user.", + "params": [ + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Liquidity, Shortfall)", + "isSubscription": false, + "jsonrpc": "loans_getLiquidationThresholdLiquidity", + "method": "getLiquidationThresholdLiquidity", + "section": "loans" + }, + "getMarketStatus": { + "description": "Retrieves market status data for a given asset id.", + "params": [ + { + "name": "asset_id", + "type": "CurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Rate, Rate, Rate, Ratio, Balance, Balance, FixedU128)", + "isSubscription": false, + "jsonrpc": "loans_getMarketStatus", + "method": "getMarketStatus", + "section": "loans" + } + }, + "issue": { + "getIssueRequests": { + "description": "Get all issue request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + }, + "getVaultIssueRequests": { + "description": "Get all issue request IDs for a particular vault", + "params": [ + { + "name": "vault_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "oracle": { + "collateralToWrapped": { + "description": "Collateral to Wrapped exchange rate", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "wrappedToCollateral": { + "description": "Wrapped to Collateral exchange rate", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + } + }, + "redeem": { + "getRedeemRequests": { + "description": "Get all redeem request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "getVaultRedeemRequests": { + "description": "Get all redeem request IDs for a particular vault", + "params": [ + { + "name": "vault_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "refund": { + "getRefundRequests": { + "description": "Get all refund request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "getRefundRequestsByIssueId": { + "description": "Get all refund request IDs for a particular issue ID", + "params": [ + { + "name": "issue_id", + "type": "H256" + } + ], + "type": "H256" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "getVaultRefundRequests": { + "description": "Get all refund request IDs for a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "replace": { + "getNewVaultReplaceRequests": { + "description": "Get all replace request IDs to a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "getOldVaultReplaceRequests": { + "description": "Get all replace request IDs from a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "reward": { + "estimateEscrowRewardRate": { + "description": "Estimate the escrow reward rate for a given account", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "amount", + "type": "Option" + }, + { + "name": "lock_time", + "type": "Option" + } + ], + "type": "UnsignedFixedPoint" }, - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "estimateVaultRewardRate": { + "description": "Estimate the vault reward rate a given vault id", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "UnsignedFixedPoint" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "computeEscrowReward": { + "description": "Get a given user's rewards due", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "computeFarmingReward": { + "description": "Get a given user's farming rewards due", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "pool_currency_id", + "type": "CurrencyId" + }, + { + "name": "reward_currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "computeVaultReward": { + "description": "Get a given vault's rewards due", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + } + }, + "vaultRegistry": { + "getCollateralizationFromVault": { + "description": "Returns the collateralization of a specific vault", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "getCollateralizationFromVaultAndCollateral": { + "description": "Returns the collateralization of a specific vault and collateral", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "collateral", + "type": "BalanceWrapper" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "getIssueableTokensFromVault": { + "description": "Get the amount of tokens a vault can issue", + "params": [ + { + "name": "vault", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "getPremiumRedeemVaults": { + "description": "Get all vaults below the premium redeem threshold.", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" }, - "BalanceInfo": { - "amount": "Balance" + "getRequiredCollateralForVault": { + "description": "Get the amount of collateral required for the given vault to be at the current SecureCollateralThreshold with the current exchange rate", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress" - } - } - ], - "alias": { - "stakingPool": { - "Phase": "StakingPoolPhase" - }, - "nomineesElection": { - "UnlockChunk": "HomaUnlockChunk" - }, - "evm": { - "AccountInfo": "EvmAccountInfo", - "ContractInfo": "EvmContractInfo" - }, - "rewards": { - "OrmlCurrencyId": "CurrencyId" - }, - "oracle": { - "DataProviderId": "AcalaDataProviderId" - }, - "chainBridge": { - "ChainId": "ChainBridgeChainId" - } - } - }, - "ajuna": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress" - } - } - ] - }, - "altair": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "ParachainAccountIdOf": "AccountId", - "Proof": { - "leafHash": "Hash", - "sortedHashes": "Vec" + "getRequiredCollateralForWrapped": { + "description": "Get the amount of collateral required to issue an amount of InterBTC", + "params": [ + { + "name": "amount_btc", + "type": "BalanceWrapper" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" }, - "ProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "_Staking", - "NonProxy" - ] + "getVaultCollateral": { + "description": "Get the vault's collateral (excluding nomination)", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" }, - "RelayChainAccountId": "AccountId", - "RootHashOf": "Hash" - } - } - ] - }, - "amplitude": { - "rpc": { - "issue": { - "getIssueRequests": { - "description": "Get all issue requests for a particular account", - "params": [ - { - "name": "accountId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "issue_getIssueRequests", - "method": "getIssueRequests", - "section": "issue" - }, - "getVaultIssueRequests": { - "description": "Get all issue requests for a particular vault", - "params": [ - { - "name": "vaultId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "issue_getVaultIssueRequests", - "method": "getVaultIssueRequests", - "section": "issue" - } - }, - "redeem": { - "getRedeemRequests": { - "description": "Get all redeem requests for a particular account", - "params": [ - { - "name": "accountId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "redeem_getRedeemRequests", - "method": "getRedeemRequests", - "section": "redeem" - }, - "getVaultRedeemRequests": { - "description": "Get all redeem requests for a particular vault", - "params": [ - { - "name": "vaultId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "redeem_getVaultRedeemRequests", - "method": "getVaultRedeemRequests", - "section": "redeem" - } - }, - "replace": { - "getOldVaultReplaceRequests": { - "description": "Get all replace requests from a particular vault", - "params": [ - { - "name": "accountId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "replace_getOldVaultReplaceRequests", - "method": "getOldVaultReplaceRequests", - "section": "replace" + "getVaultTotalCollateral": { + "description": "Get the vault's collateral (including nomination)", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" + }, + "getVaultsByAccountId": { + "description": "Get all vaults that are registered using the given account _id", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + }, + "getVaultsWithIssuableTokens": { + "description": "Get all vaults with non-zero issuable tokens, ordered in descending order of this amount", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" + }, + "getVaultsWithRedeemableTokens": { + "description": "Get all vaults with non-zero redeemable tokens, ordered in descending order of this amount", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" + } }, - "getNewVaultReplaceRequests": { - "description": "Get all replace requests to a particular vault", - "params": [ - { - "name": "vaultId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "replace_getNewVaultReplaceRequests", - "method": "getNewVaultReplaceRequests", - "section": "replace" + "dexStable": { + "getA": { + "description": "Get amplification coefficient of pool", + "params": [ + { + "name": "pool_id", + "type": "StablePoolId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "NumberOrHex" + } } }, - "oracle": { - "currencyToUsd": { - "description": "Get the USD value of a currency", - "params": [ - { - "name": "amount", - "type": "BalanceWrapper" - }, - { - "name": "currencyId", - "type": "SpacewalkPrimitivesCurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "oracle_currencyToUsd", - "method": "currencyToUsd", - "section": "oracle" - }, - "usdToCurrency": { - "description": "Get the currency value of a USD amount", - "params": [ - { - "name": "amount", - "type": "BalanceWrapper" - }, - { - "name": "currencyId", - "type": "SpacewalkPrimitivesCurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "oracle_usdToCurrency", - "method": "usdToCurrency", - "section": "oracle" - }, - "getExchangeRate": { - "description": "Get the exchange rate of the given currencyId to USD", - "params": [ - { - "name": "currencyId", - "type": "SpacewalkPrimitivesCurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "UnsignedFixedPoint", - "isSubscription": false, - "jsonrpc": "oracle_getExchangeRate", - "method": "getExchangeRate", - "section": "oracle" + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" } }, - "vaultRegistry": { - "getVaultCollateral": { - "description": "Get the vault's collateral (excluding nomination)", - "params": [ - { - "name": "vaultId", - "type": "SpacewalkPrimitivesVaultId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getVaultCollateral", - "method": "getVaultCollateral", - "section": "vaultRegistry" - }, - "getVaultsByAccountId": { - "description": "Get all the vaultIds registered by a vault's accountId", - "params": [ - { - "name": "accountId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getVaultsByAccountId", - "method": "getVaultsByAccountId", - "section": "vaultRegistry" - }, - "getVaultTotalCollateral": { - "description": "Get the vault's collateral (including nomination)", - "params": [ - { - "name": "vaultId", - "type": "SpacewalkPrimitivesVaultId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getVaultTotalCollateral", - "method": "getVaultTotalCollateral", - "section": "vaultRegistry" - }, - "getPremiumRedeemVaults": { - "description": "Get all vaults below the premium redeem threshold, ordered in descending order of this amount", - "params": [ - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec<(SpacewalkPrimitivesVaultId, BalanceWrapper)>", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getPremiumRedeemVaults", - "method": "getPremiumRedeemVaults", - "section": "vaultRegistry" - }, - "getVaultsWithIssuableTokens": { - "description": "Get all vaults with non-zero issuable tokens, ordered in descending order of this amount", - "params": [ - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec<(SpacewalkPrimitivesVaultId, BalanceWrapper)>", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getVaultsWithIssuableTokens", - "method": "getVaultsWithIssuableTokens", - "section": "vaultRegistry" - }, - "getVaultsWithRedeemableTokens": { - "description": "Get all vaults with non-zero redeemable tokens, ordered in descending order of this amount", - "params": [ - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec<(SpacewalkPrimitivesVaultId, BalanceWrapper)>", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getVaultsWithRedeemableTokens", - "method": "getVaultsWithRedeemableTokens", - "section": "vaultRegistry" - }, - "getIssueableTokensFromVault": { - "description": "Get the amount of tokens a vault can issue", - "params": [ - { - "name": "vaultId", - "type": "SpacewalkPrimitivesVaultId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getIssueableTokensFromVault", - "method": "getIssueableTokensFromVault", - "section": "vaultRegistry" - }, - "getCollateralizationFromVault": { - "description": "Get the collateralization rate of a vault", - "params": [ - { - "name": "vaultId", - "type": "SpacewalkPrimitivesVaultId" - }, - { - "name": "onlyIssued", - "type": "bool" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } + "instances": { + "balances": [ + "ksm", + "kbtc", + "kint", + "dot", + "ibtc", + "intr" + ] + } + } + }, + "interbtc-standalone": { + "default": { + "types": [ + { + "minmax": [ + 0, + null ], - "type": "FixedU128", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getCollateralizationFromVault", - "method": "getCollateralizationFromVault", - "section": "vaultRegistry" - }, - "getCollateralizationFromVaultAndCollateral": { - "description": "Get the collateralization rate of a vault and collateral", - "params": [ - { - "name": "vaultId", - "type": "SpacewalkPrimitivesVaultId" - }, - { - "name": "collateral", - "type": "BalanceWrapper" - }, - { - "name": "onlyIssued", - "type": "bool" + "types": { + "BalanceWrapper": { + "amount": "String" }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "FixedU128", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getCollateralizationFromVaultAndCollateral", - "method": "getCollateralizationFromVaultAndCollateral", - "section": "vaultRegistry" - }, - "getRequiredCollateralForWrapped": { - "description": "Get the minimum amount of collateral required for the given amount of token with the current threshold and exchange rate", - "params": [ - { - "name": "amount", - "type": "BalanceWrapper" + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId", + "LendToken": "LendTokenId", + "LpToken": "(LpToken, LpToken)", + "StableLpToken": "StablePoolId" + } }, - { - "name": "currencyId", - "type": "SpacewalkPrimitivesCurrencyId" + "LpToken": { + "_enum": { + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId", + "StableLpToken": "StablePoolId" + } }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getRequiredCollateralForWrapped", - "method": "getRequiredCollateralForWrapped", - "section": "vaultRegistry" - }, - "getRequiredCollateralForVault": { - "description": "Get the amount of collateral required for the given vault to be at the current SecureCollateralThreshold with the current exchange rate", - "params": [ - { - "name": "vaultId", - "type": "SpacewalkPrimitivesVaultId" + "InterbtcPrimitivesCurrencyId": { + "_enum": { + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId", + "LendToken": "InterbtcLendTokenId", + "LpToken": "(InterbtcLpToken, InterbtcLpToken)", + "StableLpToken": "InterbtcStablePoolId" + } }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getRequiredCollateralForVault", - "method": "getRequiredCollateralForVault", - "section": "vaultRegistry" - } - }, - "farming": { - "getFarmingRewards": { - "description": "Get farming rewards", - "params": [ - { - "name": "who", - "type": "AccountId" + "InterbtcLpToken": { + "_enum": { + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId", + "StableLpToken": "InterbtcStablePoolId" + } }, - { - "name": "pid", - "type": "PoolId" + "InterbtcForeignAssetId": "u32", + "ForeignAssetId": "u32", + "InterbtcLendTokenId": "u32", + "InterbtcStablePoolId": "u32", + "LendTokenId": "u32", + "StablePoolId": "u32", + "NumberOrHex": { + "_enum": { + "Number": "u64", + "Hex": "U256" + } }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec<(SpacewalkPrimitivesCurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "farming_getFarmingRewards", - "method": "getFarmingRewards", - "section": "farming" - }, - "getGaugeRewards": { - "description": "Get gauge rewards", - "params": [ - { - "name": "who", - "type": "AccountId" + "Rate": "FixedU128", + "Ratio": "Permill", + "Liquidity": "FixedU128", + "Shortfall": "FixedU128", + "FundAccountJsonRpcRequest": { + "account_id": "AccountId", + "currency_id": "InterbtcPrimitivesCurrencyId" }, - { - "name": "pid", - "type": "PoolId" + "H256Le": "H256", + "SignedFixedPoint": "FixedU128", + "TokenSymbol": { + "_enum": { + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 + } }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec<(SpacewalkPrimitivesCurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "farming_getGaugeRewards", - "method": "getGaugeRewards", - "section": "farming" - } - } - }, - "instances": { - "council": [ - "generalCouncil" - ] - }, - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "OracleKey": {}, - "CurrencyId": {}, - "NumberOrHex": "u128", - "BalanceWrapper": { - "amount": "String" - }, - "UnsignedFixedPoint": "u128", - "SpacewalkPrimitivesCurrencyId": { - "_enum": { - "Native": "Null", - "XCM": "u8", - "Stellar": "SpacewalkPrimitivesAsset", - "ZenlinkLPToken": "(u8,u8,u8,u8)" - } - }, - "SpacewalkPrimitivesAsset": { - "_enum": { - "StellarNative": "Null", - "AlphaNum4": { - "code": "[u8;4]", - "issuer": "[u8;32]" - }, - "AlphaNum12": { - "code": "[u8;12]", - "issuer": "[u8;32]" + "InterbtcPrimitivesTokenSymbol": { + "_enum": { + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 } + }, + "UnsignedFixedPoint": "FixedU128", + "VaultCurrencyPair": { + "collateral": "CurrencyId", + "wrapped": "CurrencyId" + }, + "VaultId": { + "account_id": "AccountId", + "currencies": "VaultCurrencyPair" } - }, - "SpacewalkPrimitivesVaultId": { - "accountId": "AccountId32", - "currencies": "SpacewalkPrimitivesVaultCurrencyPair" - }, - "SpacewalkPrimitivesVaultCurrencyPair": { - "collateral": "SpacewalkPrimitivesCurrencyId", - "wrapped": "SpacewalkPrimitivesCurrencyId" - }, - "PoolId": "u32" - } - } - ], - "alias": {} - }, - "apron": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "AccountId", - "LookupSource": "AccountId" + } } - } - ] - }, - "ares-gladios": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "MultiAddress", - "AskPeriodNum": "u64", - "AskPointNum": "u32", - "AuthorityAres": "AccountId", - "AccountParticipateEstimates": { - "account": "AccountId", - "end": "BlockNumber", - "estimates": "Option", - "range_index": "Option", - "bsc_address": "Option", - "multiplier": "MultiplierOption", - "reward": "u128" - }, - "AresPriceData": { - "price": "u64", - "account_id": "AccountId", - "create_bn": "BlockNumber", - "fraction_len": "FractionLength", - "raw_number": "JsonNumberValue", - "timestamp": "u64" + ], + "rpc": { + "btcRelay": { + "verifyBlockHeaderInclusion": { + "description": "Verify that the block with the given hash is included", + "params": [ + { + "name": "block_hash", + "type": "H256Le" + } + ], + "type": "void" + } + }, + "escrow": { + "balanceAt": { + "description": "Get a given user's escrowed balance", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "height", + "type": "Option" + } + ], + "type": "BalanceWrapper" }, - "BalanceOf": "Balance", - "ChooseWinnersPayload": { - "block_number": "BlockNumber", - "winners": "Vec", - "public": "AccountId", - "estimates_id": "u64", - "symbol": "Bytes", - "price": "(u64, FractionLength)" + "totalSupply": { + "description": "Get the total voting supply in the system", + "params": [ + { + "name": "height", + "type": "Option" + } + ], + "type": "BalanceWrapper" }, - "EstimatesState": { - "_enum": [ - "InActive", - "Active", - "WaitingPayout", - "Completed" - ] + "freeStakable": { + "description": "Amount of kint/intr that account can lock, taking into consideration the Limits.", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "BalanceWrapper" + } + }, + "loans": { + "getCollateralLiquidity": { + "description": "Retrieves collateral liquidity for the given user.", + "params": [ + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Liquidity, Shortfall)", + "isSubscription": false, + "jsonrpc": "loans_getCollateralLiquidity", + "method": "getCollateralLiquidity", + "section": "loans" }, - "EstimatesType": { - "_enum": [ - "DEVIATION", - "RANGE" - ] + "getLiquidationThresholdLiquidity": { + "description": "Retrieves liquidation threshold liquidity for the given user.", + "params": [ + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Liquidity, Shortfall)", + "isSubscription": false, + "jsonrpc": "loans_getLiquidationThresholdLiquidity", + "method": "getLiquidationThresholdLiquidity", + "section": "loans" }, - "FractionLength": "u32", - "HttpError": { - "_enum": { - "IoErr": "Bytes", - "TimeOut": "Bytes", - "StatusErr": "(Bytes,u16)", - "ParseErr": "Bytes" - } + "getMarketStatus": { + "description": "Retrieves market status data for a given asset id.", + "params": [ + { + "name": "asset_id", + "type": "CurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Rate, Rate, Rate, Ratio, Balance, Balance, FixedU128)", + "isSubscription": false, + "jsonrpc": "loans_getMarketStatus", + "method": "getMarketStatus", + "section": "loans" + } + }, + "issue": { + "getIssueRequests": { + "description": "Get all issue request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "HttpErrTracePayload": { - "trace_data": "HttpErrTraceData", - "auth": "AuthorityId", - "public": "MultiSigner" + "getVaultIssueRequests": { + "description": "Get all issue request IDs for a particular vault", + "params": [ + { + "name": "vault_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "oracle": { + "collateralToWrapped": { + "description": "Collateral to Wrapped exchange rate", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" }, - "HttpErrTraceData": { - "block_number": "BlockNumber", - "err_auth": "AuthorityId", - "err_status": "HttpError", - "tip": "Bytes" + "wrappedToCollateral": { + "description": "Wrapped to Collateral exchange rate", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + } + }, + "redeem": { + "getRedeemRequests": { + "description": "Get all redeem request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "JsonNumberValue": { - "integer": "u64", - "fraction": "u64", - "fraction_length": "u32", - "exponent": "u32" + "getVaultRedeemRequests": { + "description": "Get all redeem request IDs for a particular vault", + "params": [ + { + "name": "vault_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "refund": { + "getRefundRequests": { + "description": "Get all refund request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "Keys": "SessionKeys3", - "LookupSource": "MultiAddress", - "MultiplierOption": { - "_enum": [ - "Base1", - "Base2", - "Base5" - ] + "getRefundRequestsByIssueId": { + "description": "Get all refund request IDs for a particular issue ID", + "params": [ + { + "name": "issue_id", + "type": "H256" + } + ], + "type": "H256" }, - "OcwControlData": { - "need_verifier_check": "bool", - "open_free_price_reporter": "bool", - "open_paid_price_reporter": "bool" + "getVaultRefundRequests": { + "description": "Get all refund request IDs for a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "replace": { + "getNewVaultReplaceRequests": { + "description": "Get all replace request IDs to a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "OffchainSignature": "MultiSignature", - "PaidValue": { - "create_bn": "BlockNumber", - "amount": "BalanceOf", - "is_income": "bool" + "getOldVaultReplaceRequests": { + "description": "Get all replace request IDs from a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "reward": { + "estimateEscrowRewardRate": { + "description": "Estimate the escrow reward rate for a given account", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "amount", + "type": "Option" + }, + { + "name": "lock_time", + "type": "Option" + } + ], + "type": "UnsignedFixedPoint" }, - "PurchasedId": "Bytes", - "PriceKey": "Vec", - "PriceToken": "Bytes", - "PreCheckPayload": { - "block_number": "BlockNumber", - "pre_check_stash": "AccountId", - "pre_check_auth": "AuthorityId", - "auth": "AuthorityId", - "public": "MultiSigner" + "estimateVaultRewardRate": { + "description": "Estimate the vault reward rate a given vault id", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "UnsignedFixedPoint" }, - "PreCheckResultPayload": { - "block_number": "BlockNumber", - "pre_check_list": "Vec", - "pre_check_stash": "AccountId", - "pre_check_auth": "AuthorityId", - "public": "MultiSigner" + "computeEscrowReward": { + "description": "Get a given user's rewards due", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" }, - "PreCheckCompareLog": { - "chain_avg_price_list": "BTreeMap", - "validator_up_price_list": "BTreeMap", - "raw_precheck_list": "Vec" + "computeFarmingReward": { + "description": "Get a given user's farming rewards due", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "pool_currency_id", + "type": "CurrencyId" + }, + { + "name": "reward_currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" }, - "PreCheckStruct": { - "price_key": "Vec", - "number_val": "JsonNumberValue", - "max_offset": "Percent", - "timestamp": "u64" + "computeVaultReward": { + "description": "Get a given vault's rewards due", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + } + }, + "vaultRegistry": { + "getCollateralizationFromVault": { + "description": "Returns the collateralization of a specific vault", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" }, - "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", - "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", - "PricePayload": { - "block_number": "BlockNumber", - "price": "Vec", - "jump_block": "Vec", - "auth": "AuthorityId", - "public": "MultiSigner" + "getCollateralizationFromVaultAndCollateral": { + "description": "Returns the collateralization of a specific vault and collateral", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "collateral", + "type": "BalanceWrapper" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" }, - "PreCheckStatus": { - "_enum": [ - "Review", - "Prohibit", - "Pass" - ] + "getIssueableTokensFromVault": { + "description": "Get the amount of tokens a vault can issue", + "params": [ + { + "name": "vault", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" }, - "PurchasedRequestData": { - "account_id": "AccountId", - "offer": "BalanceOf", - "create_bn": "BlockNumber", - "submit_threshold": "u8", - "max_duration": "u64", - "request_keys": "Vec>" + "getPremiumRedeemVaults": { + "description": "Get all vaults below the premium redeem threshold.", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" }, - "PurchasedPricePayload": { - "block_number": "BlockNumber", - "purchase_id": "Vec", - "price": "Vec", - "auth": "AuthorityId", - "public": "MultiSigner" + "getRequiredCollateralForVault": { + "description": "Get the amount of collateral required for the given vault to be at the current SecureCollateralThreshold with the current exchange rate", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" }, - "PurchasedAvgPriceData": { - "create_bn": "u64", - "reached_type": "u8", - "price_data": "(u64, FractionLength)" + "getRequiredCollateralForWrapped": { + "description": "Get the amount of collateral required to issue an amount of InterBTC", + "params": [ + { + "name": "amount_btc", + "type": "BalanceWrapper" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" }, - "PurchasedDefaultData": { - "submit_threshold": "u8", - "max_duration": "u64", - "avg_keep_duration": "u64" + "getVaultCollateral": { + "description": "Get the vault's collateral (excluding nomination)", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" }, - "PurchasedForceCleanPayload": { - "BlockNumber": "BlockNumber", - "purchase_id_list": "Vec>", - "auth": "AuthorityId", - "public": "MultiSigner" + "getVaultTotalCollateral": { + "description": "Get the vault's collateral (including nomination)", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" }, - "PurchaseId": "Vec", - "Releases": { - "_enum": [ - "V1_0_0_Ancestral", - "V1_0_1_HttpErrUpgrade", - "V1_1_0_HttpErrUpgrade", - "V1_2_0" - ] + "getVaultsByAccountId": { + "description": "Get all vaults that are registered using the given account _id", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "RequestInterval": "u8", - "StatusErr": "(u16)", - "SymbolEstimatesConfig": { - "symbol": "Bytes", - "estimates_type": "EstimatesType", - "id": "u64", - "ticket_price": "Balance", - "symbol_completed_price": "u64", - "symbol_fraction": "FractionLength", - "start": "BlockNumber", - "end": "BlockNumber", - "distribute": "BlockNumber", - "deviation": "Option", - "range": "Option>", - "total_reward": "Balance", - "state": "EstimatesState" + "getVaultsWithIssuableTokens": { + "description": "Get all vaults with non-zero issuable tokens, ordered in descending order of this amount", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" + }, + "getVaultsWithRedeemableTokens": { + "description": "Get all vaults with non-zero redeemable tokens, ordered in descending order of this amount", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" + } + }, + "dexStable": { + "getA": { + "description": "Get amplification coefficient of pool", + "params": [ + { + "name": "pool_id", + "type": "StablePoolId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "NumberOrHex" } } + }, + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + }, + "instances": { + "balances": [ + "ksm", + "kbtc", + "kint", + "dot", + "ibtc", + "intr" + ] } - ] + } }, - "ares-mars": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "MultiAddress", - "AskPeriodNum": "u64", - "AskPointNum": "u32", - "AuthorityAres": "AccountId", - "AccountParticipateEstimates": { - "account": "AccountId", - "end": "BlockNumber", - "estimates": "Option", - "range_index": "Option", - "eth_address": "Option", - "multiplier": "MultiplierOption", - "reward": "u128" - }, - "AresPriceData": { - "price": "u64", - "account_id": "AccountId", - "create_bn": "BlockNumber", - "fraction_len": "FractionLength", - "raw_number": "JsonNumberValue", - "timestamp": "u64" + "interlay-parachain": { + "default": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "BalanceWrapper": { + "amount": "String" + }, + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId", + "LendToken": "LendTokenId", + "LpToken": "(LpToken, LpToken)", + "StableLpToken": "StablePoolId" + } + }, + "LpToken": { + "_enum": { + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId", + "StableLpToken": "StablePoolId" + } + }, + "InterbtcPrimitivesCurrencyId": { + "_enum": { + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId", + "LendToken": "InterbtcLendTokenId", + "LpToken": "(InterbtcLpToken, InterbtcLpToken)", + "StableLpToken": "InterbtcStablePoolId" + } + }, + "InterbtcLpToken": { + "_enum": { + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId", + "StableLpToken": "InterbtcStablePoolId" + } + }, + "InterbtcForeignAssetId": "u32", + "ForeignAssetId": "u32", + "InterbtcLendTokenId": "u32", + "InterbtcStablePoolId": "u32", + "LendTokenId": "u32", + "StablePoolId": "u32", + "NumberOrHex": { + "_enum": { + "Number": "u64", + "Hex": "U256" + } + }, + "Rate": "FixedU128", + "Ratio": "Permill", + "Liquidity": "FixedU128", + "Shortfall": "FixedU128", + "FundAccountJsonRpcRequest": { + "account_id": "AccountId", + "currency_id": "InterbtcPrimitivesCurrencyId" + }, + "H256Le": "H256", + "SignedFixedPoint": "FixedU128", + "TokenSymbol": { + "_enum": { + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 + } + }, + "InterbtcPrimitivesTokenSymbol": { + "_enum": { + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 + } + }, + "UnsignedFixedPoint": "FixedU128", + "VaultCurrencyPair": { + "collateral": "CurrencyId", + "wrapped": "CurrencyId" + }, + "VaultId": { + "account_id": "AccountId", + "currencies": "VaultCurrencyPair" + } + } + } + ], + "rpc": { + "btcRelay": { + "verifyBlockHeaderInclusion": { + "description": "Verify that the block with the given hash is included", + "params": [ + { + "name": "block_hash", + "type": "H256Le" + } + ], + "type": "void" + } + }, + "escrow": { + "balanceAt": { + "description": "Get a given user's escrowed balance", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "height", + "type": "Option" + } + ], + "type": "BalanceWrapper" }, - "BalanceOf": "Balance", - "ChooseWinnersPayload": { - "block_number": "BlockNumber", - "winners": "Vec", - "public": "AccountId", - "estimates_config": "Bytes", - "symbol": "Bytes", - "price": "(u64, FractionLength)" + "totalSupply": { + "description": "Get the total voting supply in the system", + "params": [ + { + "name": "height", + "type": "Option" + } + ], + "type": "BalanceWrapper" }, - "EstimatesState": { - "_enum": [ - "InActive", - "Active", - "WaitingPayout", - "Completed" - ] + "freeStakable": { + "description": "Amount of kint/intr that account can lock, taking into consideration the Limits.", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "BalanceWrapper" + } + }, + "loans": { + "getCollateralLiquidity": { + "description": "Retrieves collateral liquidity for the given user.", + "params": [ + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Liquidity, Shortfall)", + "isSubscription": false, + "jsonrpc": "loans_getCollateralLiquidity", + "method": "getCollateralLiquidity", + "section": "loans" }, - "EstimatesType": { - "_enum": [ - "DEVIATION", - "RANGE" - ] + "getLiquidationThresholdLiquidity": { + "description": "Retrieves liquidation threshold liquidity for the given user.", + "params": [ + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Liquidity, Shortfall)", + "isSubscription": false, + "jsonrpc": "loans_getLiquidationThresholdLiquidity", + "method": "getLiquidationThresholdLiquidity", + "section": "loans" }, - "FractionLength": "u32", - "HttpError": { - "_enum": { - "IoErr": "Bytes", - "TimeOut": "Bytes", - "StatusErr": "(Bytes,u16)", - "ParseErr": "Bytes" - } + "getMarketStatus": { + "description": "Retrieves market status data for a given asset id.", + "params": [ + { + "name": "asset_id", + "type": "CurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Rate, Rate, Rate, Ratio, Balance, Balance, FixedU128)", + "isSubscription": false, + "jsonrpc": "loans_getMarketStatus", + "method": "getMarketStatus", + "section": "loans" + } + }, + "issue": { + "getIssueRequests": { + "description": "Get all issue request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "HttpErrTracePayload": { - "trace_data": "HttpErrTraceData", - "auth": "AuthorityId", - "public": "MultiSigner" + "getVaultIssueRequests": { + "description": "Get all issue request IDs for a particular vault", + "params": [ + { + "name": "vault_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "oracle": { + "collateralToWrapped": { + "description": "Collateral to Wrapped exchange rate", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" }, - "HttpErrTraceData": { - "block_number": "BlockNumber", - "err_auth": "AuthorityId", - "err_status": "HttpError", - "tip": "Bytes" + "wrappedToCollateral": { + "description": "Wrapped to Collateral exchange rate", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + } + }, + "redeem": { + "getRedeemRequests": { + "description": "Get all redeem request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "JsonNumberValue": { - "integer": "u64", - "fraction": "u64", - "fraction_length": "u32", - "exponent": "u32" + "getVaultRedeemRequests": { + "description": "Get all redeem request IDs for a particular vault", + "params": [ + { + "name": "vault_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "refund": { + "getRefundRequests": { + "description": "Get all refund request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "Keys": "SessionKeys4", - "LookupSource": "MultiAddress", - "MultiplierOption": { - "_enum": [ - "Base1", - "Base2", - "Base5" - ] + "getRefundRequestsByIssueId": { + "description": "Get all refund request IDs for a particular issue ID", + "params": [ + { + "name": "issue_id", + "type": "H256" + } + ], + "type": "H256" }, - "OcwControlData": { - "need_verifier_check": "bool", - "open_free_price_reporter": "bool", - "open_paid_price_reporter": "bool" + "getVaultRefundRequests": { + "description": "Get all refund request IDs for a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "replace": { + "getNewVaultReplaceRequests": { + "description": "Get all replace request IDs to a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "OffchainSignature": "MultiSignature", - "PaidValue": { - "create_bn": "BlockNumber", - "amount": "BalanceOf", - "is_income": "bool" + "getOldVaultReplaceRequests": { + "description": "Get all replace request IDs from a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "reward": { + "estimateEscrowRewardRate": { + "description": "Estimate the escrow reward rate for a given account", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "amount", + "type": "Option" + }, + { + "name": "lock_time", + "type": "Option" + } + ], + "type": "UnsignedFixedPoint" }, - "PurchasedId": "Bytes", - "PriceKey": "Vec", - "PriceToken": "Bytes", - "PreCheckPayload": { - "block_number": "BlockNumber", - "pre_check_stash": "AccountId", - "pre_check_auth": "AuthorityId", - "auth": "AuthorityId", - "public": "MultiSigner" + "estimateVaultRewardRate": { + "description": "Estimate the vault reward rate a given vault id", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "UnsignedFixedPoint" }, - "PreCheckResultPayload": { - "block_number": "BlockNumber", - "pre_check_list": "Vec", - "pre_check_stash": "AccountId", - "pre_check_auth": "AuthorityId", - "public": "MultiSigner" + "computeEscrowReward": { + "description": "Get a given user's rewards due", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" }, - "PreCheckCompareLog": { - "chain_avg_price_list": "BTreeMap", - "validator_up_price_list": "BTreeMap", - "raw_precheck_list": "Vec" + "computeFarmingReward": { + "description": "Get a given user's farming rewards due", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "pool_currency_id", + "type": "CurrencyId" + }, + { + "name": "reward_currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" }, - "PreCheckStruct": { - "price_key": "Vec", - "number_val": "JsonNumberValue", - "max_offset": "Percent", - "timestamp": "u64" + "computeVaultReward": { + "description": "Get a given vault's rewards due", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + } + }, + "vaultRegistry": { + "getCollateralizationFromVault": { + "description": "Returns the collateralization of a specific vault", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" }, - "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", - "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", - "PricePayload": { - "block_number": "BlockNumber", - "price": "Vec", - "jump_block": "Vec", - "auth": "AuthorityId", - "public": "MultiSigner" + "getCollateralizationFromVaultAndCollateral": { + "description": "Returns the collateralization of a specific vault and collateral", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "collateral", + "type": "BalanceWrapper" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" }, - "PreCheckStatus": { - "_enum": [ - "Review", - "Prohibit", - "Pass" - ] + "getIssueableTokensFromVault": { + "description": "Get the amount of tokens a vault can issue", + "params": [ + { + "name": "vault", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" }, - "PurchasedRequestData": { - "account_id": "AccountId", - "offer": "BalanceOf", - "create_bn": "BlockNumber", - "submit_threshold": "u8", - "max_duration": "u64", - "request_keys": "Vec>" + "getPremiumRedeemVaults": { + "description": "Get all vaults below the premium redeem threshold.", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" }, - "PurchasedPricePayload": { - "block_number": "BlockNumber", - "purchase_id": "Vec", - "price": "Vec", - "auth": "AuthorityId", - "public": "MultiSigner" + "getRequiredCollateralForVault": { + "description": "Get the amount of collateral required for the given vault to be at the current SecureCollateralThreshold with the current exchange rate", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" }, - "PurchasedAvgPriceData": { - "create_bn": "u64", - "reached_type": "u8", - "price_data": "(u64, FractionLength)" + "getRequiredCollateralForWrapped": { + "description": "Get the amount of collateral required to issue an amount of InterBTC", + "params": [ + { + "name": "amount_btc", + "type": "BalanceWrapper" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" }, - "PurchasedDefaultData": { - "submit_threshold": "u8", - "max_duration": "u64", - "avg_keep_duration": "u64" + "getVaultCollateral": { + "description": "Get the vault's collateral (excluding nomination)", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" }, - "PurchasedForceCleanPayload": { - "BlockNumber": "BlockNumber", - "purchase_id_list": "Vec>", - "auth": "AuthorityId", - "public": "MultiSigner" + "getVaultTotalCollateral": { + "description": "Get the vault's collateral (including nomination)", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" }, - "PurchaseId": "Vec", - "Releases": { - "_enum": [ - "V1_0_0_Ancestral", - "V1_0_1_HttpErrUpgrade", - "V1_1_0_HttpErrUpgrade", - "V1_2_0" - ] + "getVaultsByAccountId": { + "description": "Get all vaults that are registered using the given account _id", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" }, - "RequestInterval": "u8", - "StatusErr": "(u16)", - "SymbolEstimatesConfig": { - "symbol": "Bytes", - "estimates_type": "EstimatesType", - "id": "u64", - "ticket_price": "Balance", - "symbol_completed_price": "u64", - "symbol_fraction": "FractionLength", - "start": "BlockNumber", - "end": "BlockNumber", - "distribute": "BlockNumber", - "deviation": "Option", - "range": "Option>", - "total_reward": "Balance", - "state": "EstimatesState" + "getVaultsWithIssuableTokens": { + "description": "Get all vaults with non-zero issuable tokens, ordered in descending order of this amount", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" + }, + "getVaultsWithRedeemableTokens": { + "description": "Get all vaults with non-zero redeemable tokens, ordered in descending order of this amount", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" + } + }, + "dexStable": { + "getA": { + "description": "Get amplification coefficient of pool", + "params": [ + { + "name": "pool_id", + "type": "StablePoolId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "NumberOrHex" } } + }, + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + }, + "instances": { + "balances": [ + "ksm", + "kbtc", + "kint", + "dot", + "ibtc", + "intr" + ] } - ] + } }, - "ares-odyssey": { + "ipse-node": { "types": [ { "minmax": [ @@ -36175,202 +30310,218 @@ export const typesBundle = { null ], "types": { - "Address": "MultiAddress", - "AskPeriodNum": "u64", - "AskPointNum": "u32", - "AuthorityAres": "AccountId", - "AccountParticipateEstimates": { - "account": "AccountId", - "end": "BlockNumber", - "estimates": "Option", - "range_index": "Option", - "eth_address": "Option", - "multiplier": "MultiplierOption", - "reward": "u128" - }, - "AresPriceData": { - "price": "u64", + "test": "u64", + "Address": "IndicesLookupSource", + "LookupSource": "IndicesLookupSource", + "GIB": "u64", + "Amount": "u128", + "Miner": { "account_id": "AccountId", - "create_bn": "BlockNumber", - "fraction_len": "FractionLength", - "raw_number": "JsonNumberValue", - "timestamp": "u64" - }, - "BalanceOf": "Balance", - "ChooseWinnersPayload": { - "block_number": "BlockNumber", - "winners": "Vec", - "public": "AccountId", - "estimates_config": "Bytes", - "symbol": "Bytes", - "price": "(u64, FractionLength)" - }, - "EstimatesState": { - "_enum": [ - "InActive", - "Active", - "WaitingPayout", - "Completed" - ] - }, - "EstimatesType": { - "_enum": [ - "DEVIATION", - "RANGE" - ] - }, - "FractionLength": "u32", - "HttpError": { - "_enum": { - "IoErr": "Bytes", - "TimeOut": "Bytes", - "StatusErr": "(Bytes,u16)", - "ParseErr": "Bytes" - } - }, - "HttpErrTracePayload": { - "trace_data": "HttpErrTraceData", - "auth": "AuthorityId", - "public": "MultiSigner" + "nickname": "Vec", + "region": "Vec", + "url": "Vec", + "public_key": "Vec", + "stash_address": "AccountId", + "capacity": "u128", + "unit_price": "Balance", + "violation_times": "u64", + "total_staking": "Balance", + "create_ts": "u64", + "update_ts": "u64" }, - "HttpErrTraceData": { - "block_number": "BlockNumber", - "err_auth": "AuthorityId", - "err_status": "HttpError", - "tip": "Bytes" + "Order": { + "miner": "AccountId", + "label": "Vec", + "hash": "[u8; 46]", + "size": "u128", + "user": "AccountId", + "orders": "Vec>", + "status": "OrderStatus", + "create_ts": "u64", + "update_ts": "u64", + "duration": "u64" }, - "JsonNumberValue": { - "integer": "u64", - "fraction": "u64", - "fraction_length": "u32", - "exponent": "u32" + "MinerOrder": { + "miner": "AccountId", + "day_price": "Balance", + "total_price": "Balance", + "verify_result": "bool", + "verify_ts": "u64", + "confirm_ts": "u64", + "url": "Option>" }, - "Keys": "SessionKeys4", - "LookupSource": "MultiAddress", - "MultiplierOption": { + "OrderStatus": { "_enum": [ - "Base1", - "Base2", - "Base5" + "Created", + "Confirmed", + "Expired", + "Deleted" ] }, - "OcwControlData": { - "need_verifier_check": "bool", - "open_free_price_reporter": "bool", - "open_paid_price_reporter": "bool" - }, - "OffchainSignature": "MultiSignature", - "PaidValue": { - "create_bn": "BlockNumber", - "amount": "BalanceOf", - "is_income": "bool" - }, - "PurchasedId": "Bytes", - "PriceKey": "Vec", - "PriceToken": "Bytes", - "PreCheckPayload": { - "block_number": "BlockNumber", - "pre_check_stash": "AccountId", - "pre_check_auth": "AuthorityId", - "auth": "AuthorityId", - "public": "MultiSigner" - }, - "PreCheckResultPayload": { - "block_number": "BlockNumber", - "pre_check_list": "Vec", - "pre_check_stash": "AccountId", - "pre_check_auth": "AuthorityId", - "public": "MultiSigner" - }, - "PreCheckCompareLog": { - "chain_avg_price_list": "BTreeMap", - "validator_up_price_list": "BTreeMap", - "raw_precheck_list": "Vec" + "MiningInfo": { + "miner": "Option", + "best_dl": "u64", + "block": "u64" }, - "PreCheckStruct": { - "price_key": "Vec", - "number_val": "JsonNumberValue", - "max_offset": "Percent", - "timestamp": "u64" + "Difficulty": { + "base_target": "u64", + "net_difficulty": "u64", + "block": "u64" }, - "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", - "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", - "PricePayload": { - "block_number": "BlockNumber", - "price": "Vec", - "jump_block": "Vec", - "auth": "AuthorityId", - "public": "MultiSigner" + "MachineInfo": { + "plot_size": "u64", + "numeric_id": "u128", + "update_time": "BlockNumber", + "is_stop": "bool", + "reward_dest": "AccountId" }, - "PreCheckStatus": { + "StakingInfo": { + "miner": "AccountId", + "miner_proportion": "Percent", + "total_staking": "Balance", + "others": "Vec<(AccountId, Balance, Balance)>" + }, + "Oprate": { "_enum": [ - "Review", - "Prohibit", - "Pass" + "Add", + "Sub" ] }, - "PurchasedRequestData": { - "account_id": "AccountId", - "offer": "BalanceOf", - "create_bn": "BlockNumber", - "submit_threshold": "u8", - "max_duration": "u64", - "request_keys": "Vec>" + "MiningHistory": { + "total_num": "u64", + "history": "Vec<(BlockNumber, Balance)>" }, - "PurchasedPricePayload": { - "block_number": "BlockNumber", - "purchase_id": "Vec", - "price": "Vec", - "auth": "AuthorityId", - "public": "MultiSigner" + "PostTxTransferData": { + "verify_status": "u64", + "irreversible": "bool", + "is_post_transfer": "bool", + "contract_account": "Vec", + "from": "Vec", + "to": "Vec", + "quantity": "u64", + "memo": "Vec" }, - "PurchasedAvgPriceData": { - "create_bn": "u64", - "reached_type": "u8", - "price_data": "(u64, FractionLength)" + "AddressStatus": { + "_enum": [ + "active", + "inActive" + ] }, - "PurchasedDefaultData": { - "submit_threshold": "u8", - "max_duration": "u64", - "avg_keep_duration": "u64" + "FetchFailedOf": { + "block_num": "BlockNumber", + "tx": "Vec", + "err": "Vec" + } + } + } + ] + }, + "jupiter-prep": { + "types": [ + { + "minmax": [ + 0, + 2 + ], + "types": { + "LookupSource": "MultiAddress", + "Address": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "FullIdentification": "AccountId", + "AuthorityState": { + "_enum": [ + "Working", + "Waiting" + ] }, - "PurchasedForceCleanPayload": { - "BlockNumber": "BlockNumber", - "purchase_id_list": "Vec>", - "auth": "AuthorityId", - "public": "MultiSigner" + "EraIndex": "u32", + "ActiveEraInfo": { + "index": "EraIndex", + "start": "Option" }, - "PurchaseId": "Vec", - "Releases": { + "UnappliedSlash": { + "validator": "AccountId", + "reporters": "Vec" + } + } + }, + { + "minmax": [ + 3, + null + ], + "types": { + "LookupSource": "MultiAddress", + "Address": "MultiAddress", + "AccountInfo": "AccountInfoWithTripleRefCount", + "AliveContractInfo": { + "trieId": "TrieId", + "storageSize": "u32", + "pairCount": "u32", + "codeHash": "CodeHash", + "rentAllowance": "Balance", + "rentPayed": "Balance", + "deductBlock": "BlockNumber", + "lastWrite": "Option", + "_reserved": "Option" + }, + "FullIdentification": "AccountId", + "AuthorityState": { "_enum": [ - "V1_0_0_Ancestral", - "V1_0_1_HttpErrUpgrade", - "V1_1_0_HttpErrUpgrade", - "V1_2_0" + "Working", + "Waiting" ] }, - "RequestInterval": "u8", - "StatusErr": "(u16)", - "SymbolEstimatesConfig": { - "symbol": "Bytes", - "estimates_type": "EstimatesType", - "id": "u64", - "ticket_price": "Balance", - "symbol_completed_price": "u64", - "symbol_fraction": "FractionLength", - "start": "BlockNumber", - "end": "BlockNumber", - "distribute": "BlockNumber", - "deviation": "Option", - "range": "Option>", - "total_reward": "Balance", - "state": "EstimatesState" + "EraIndex": "u32", + "ActiveEraInfo": { + "index": "EraIndex", + "start": "Option" + }, + "UnappliedSlash": { + "validator": "AccountId", + "reporters": "Vec" } } } ] }, - "asgard": { + "jupiter-rococo": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "LookupSource": "MultiAddress", + "Address": "MultiAddress" + } + } + ] + }, + "jur-chain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": {} + } + ] + }, + "jur-node": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": {} + } + ] + }, + "kerria": { "rpc": { "oracle": { "getValue": { @@ -36418,124 +30569,12 @@ export const typesBundle = { "section": "oracle" } }, - "farming": { - "getFarmingRewards": { - "description": "Get farming rewards", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "farming_getFarmingRewards", - "method": "getFarmingRewards", - "section": "farming" - }, - "getGaugeRewards": { - "description": "Get gauge rewards", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "farming_getGaugeRewards", - "method": "getGaugeRewards", - "section": "farming" - } - }, - "flexibleFee": { - "getFeeTokenAndAmount": { - "description": "Get charging token type and amount in terms of flexible transaction fee.", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "extrinsic", - "type": "Bytes" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(CurrencyId, U256)", - "isSubscription": false, - "jsonrpc": "flexibleFee_getFeeTokenAndAmount", - "method": "getFeeTokenAndAmount", - "section": "flexibleFee" - } - }, - "salp": { - "getContribution": { - "description": "salp getContribution", - "params": [ - { - "name": "index", - "type": "ParaId" - }, - { - "name": "who", - "type": "AccountIdOf" - } - ], - "type": "(Balance, ContributionStatus)", - "isSubscription": false, - "jsonrpc": "salp_getContribution", - "method": "getContribution", - "section": "salp" - }, - "getLiteContribution": { - "description": "salp getLiteContribution", - "params": [ - { - "name": "index", - "type": "ParaId" - }, - { - "name": "who", - "type": "AccountIdOf" - } - ], - "type": "(Balance, ContributionStatus)", - "isSubscription": false, - "jsonrpc": "salp_getLiteContribution", - "method": "getLiteContribution", - "section": "salp" - } - }, - "vtokenMint": { - "getVtokenMintRate": { - "description": "Get current vtoken mint rate.", + "tokens": { + "queryExistentialDeposit": { + "description": "Query Existential Deposit for a given currency.", "params": [ { - "name": "asset_id", + "name": "currencyId", "type": "CurrencyId" }, { @@ -36545,107 +30584,21 @@ export const typesBundle = { "isOptional": true } ], - "type": "String", + "type": "NumberOrHex", "isSubscription": false, - "jsonrpc": "vtokenMint_getVtokenMintRate", - "method": "getVtokenMintRate", - "section": "vtokenMint" + "jsonrpc": "tokens_queryExistentialDeposit", + "method": "queryExistentialDeposit", + "section": "tokens" } }, - "zenlinkProtocol": { - "getAllAssets": { - "description": "zenlinkProtocol getAllAssets", - "params": [ - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAllAssets", - "method": "getAllAssets", - "section": "zenlinkProtocol" - }, - "getBalance": { - "description": "zenlinkProtocol getBalance", + "loans": { + "getCollateralLiquidity": { + "description": "Retrieves collateral liquidity for the given user.", "params": [ - { - "name": "asset_id", - "type": "ZenlinkAssetId" - }, { "name": "account", "type": "AccountId" }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getBalance", - "method": "getBalance", - "section": "zenlinkProtocol" - }, - "getSovereignsInfo": { - "description": "Get the ownership of a certain currency for each parachain.", - "params": [ - { - "name": "asset_id", - "type": "ZenlinkAssetId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(u32, AccountId, String)", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getSovereignsInfo", - "method": "getSovereignsInfo", - "section": "zenlinkProtocol" - }, - "getPairByAssetId": { - "description": "Get the detailed information of a particular exchange pair.", - "params": [ - { - "name": "asset_0", - "type": "ZenlinkAssetId" - }, - { - "name": "asset_1", - "type": "ZenlinkAssetId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "PairInfo", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getPairByAssetId", - "method": "getPairByAssetId", - "section": "zenlinkProtocol" - }, - "getAmountInPrice": { - "description": "Get the output token amount for an exact input token amount.", - "params": [ - { - "name": "supply", - "type": "ZenlinkAssetBalance" - }, - { - "name": "path", - "type": "Vec" - }, { "name": "at", "type": "BlockHash", @@ -36653,22 +30606,18 @@ export const typesBundle = { "isOptional": true } ], - "type": "u128", + "type": "(Liquidity, Shortfall, Liquidity, Shortfall)", "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountInPrice", - "method": "getAmountInPrice", - "section": "zenlinkProtocol" + "jsonrpc": "loans_getCollateralLiquidity", + "method": "getCollateralLiquidity", + "section": "loans" }, - "getAmountOutPrice": { - "description": "Get the input token amount for an exact output token amount.", + "getLiquidationThresholdLiquidity": { + "description": "Retrieves liquidation threshold liquidity for the given user.", "params": [ { - "name": "supply", - "type": "ZenlinkAssetBalance" - }, - { - "name": "path", - "type": "Vec" + "name": "account", + "type": "AccountId" }, { "name": "at", @@ -36677,38 +30626,18 @@ export const typesBundle = { "isOptional": true } ], - "type": "u128", + "type": "(Liquidity, Shortfall, Liquidity, Shortfall)", "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountOutPrice", - "method": "getAmountOutPrice", - "section": "zenlinkProtocol" + "jsonrpc": "loans_getLiquidationThresholdLiquidity", + "method": "getLiquidationThresholdLiquidity", + "section": "loans" }, - "getEstimateLptoken": { - "description": "Get the estimated number of LP token acquired given the desired and minimum amount for both in-token and out-token.", + "getMarketStatus": { + "description": "Retrieves market status data for a given asset id.", "params": [ { - "name": "asset_0", - "type": "ZenlinkAssetId" - }, - { - "name": "asset_1", - "type": "ZenlinkAssetId" - }, - { - "name": "amount_0_desired", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_1_desired", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_0_min", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_1_min", - "type": "ZenlinkAssetBalance" + "name": "asset_id", + "type": "CurrencyId" }, { "name": "at", @@ -36717,61 +30646,32 @@ export const typesBundle = { "isOptional": true } ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getEstimateLptoken", - "method": "getEstimateLptoken", - "section": "zenlinkProtocol" - } - }, - "liquidityMining": { - "getRewards": { - "description": "Get the rewards users deserve", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" - }, - { - "name": "pallet_instance", - "type": "U32" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec<(CurrencyId, Balance)>", + "type": "(Rate, Rate, Rate, Ratio, Balance, Balance, FixedU128)", "isSubscription": false, - "jsonrpc": "liquidityMining_getRewards", - "method": "getRewards", - "section": "liquidityMining" + "jsonrpc": "loans_getMarketStatus", + "method": "getMarketStatus", + "section": "loans" } }, - "stablePool": { - "getSwapOutputAmount": { - "description": "stablePool getSwapOutputAmount", + "router": { + "getBestRoute": { + "description": "Returns the route that results in the largest amount out for amount in", "params": [ { - "name": "pool_id", - "type": "U32" + "name": "amount", + "type": "Balance" }, - { - "name": "currency_id_in", - "type": "U32" + { + "name": "token_in", + "type": "CurrencyId" }, { - "name": "currency_id_out", - "type": "U32" + "name": "token_out", + "type": "CurrencyId" }, { - "name": "amount", - "type": "Balance" + "name": "reversed", + "type": "bool" }, { "name": "at", @@ -36780,19 +30680,24 @@ export const typesBundle = { "isOptional": true } ], - "type": "String", + "type": "(Vec, FixedU128)", "isSubscription": false, - "jsonrpc": "stablePool_getSwapOutputAmount", - "method": "getSwapOutputAmount", - "section": "stablePool" + "jsonrpc": "router_getBestRoute", + "method": "getBestRoute", + "section": "router" } } }, + "instances": { + "council": [ + "generalCouncil" + ] + }, "types": [ { "minmax": [ 0, - 901 + null ], "types": { "CallOf": "Call", @@ -36855,22 +30760,15 @@ export const typesBundle = { "VestingScheduleOf": "OrmlVestingSchedule", "OrmlCurrencyId": "u8", "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "redeem_limit_time": "BlockNumber", - "unlock_limit_nums": "u32", - "pending_unlock_nums": "u32" + "isActive": "bool", + "totalDeposited": "Balance", + "unlockHeight": "BlockNumber", + "coolDownDuration": "BlockNumber", + "rewardDuration": "BlockNumber", + "periodFinish": "BlockNumber", + "lastUpdateBlock": "BlockNumber", + "rewardRate": "Balance", + "rewardPerShareStored": "Balance" }, "CompactBalance": "Compact", "PoolInfoV0": { @@ -36880,16331 +30778,15114 @@ export const typesBundle = { }, "Share": "u128", "OracleValue": "Price", - "BiddingOrderId": "u64", - "EraId": "u32", - "BiddingOrderUnit": { - "bidder_id": "AccountId", - "token_id": "AssetId", - "block_num": "BlockNumber", - "votes": "Balance", - "annual_roi": "Permill", - "validator": "AccountId" + "Deposits": { + "voucherBalance": "Balance", + "isCollateral": "bool" + }, + "BorrowSnapshot": { + "principal": "Balance", + "borrowIndex": "u128" + }, + "EarnedSnapshot": { + "totalEarnedPrior": "Balance", + "exchangeRatePrior": "u128" + }, + "JumpModel": { + "baseRate": "Rate", + "jumpRate": "Rate", + "fullRate": "Rate", + "jumpUtilization": "Ratio" + }, + "CurveModel": { + "baseRate": "Rate" + }, + "InterestRateModel": { + "_enum": { + "JumpModel": "JumpModel", + "CurveModel": "CurveModel" + } + }, + "Market": { + "collateralFactor": "Ratio", + "liquidationThreshold": "Ratio", + "reserveFactor": "Ratio", + "closeFactor": "Ratio", + "liquidateIncentive": "Rate", + "liquidateIncentiveReservedFactor": "Ratio", + "rateModel": "InterestRateModel", + "state": "MarketState", + "supplyCap": "Balance", + "borrowCap": "Balance", + "ptokenId": "CurrencyId" + }, + "MarketState": { + "_enum": [ + "Active", + "Pending", + "Supervision" + ] + }, + "RewardMarketState": { + "index": "Balance", + "block": "BlockNumber" + }, + "Liquidity": "FixedU128", + "Shortfall": "FixedU128", + "ReservableAmount": { + "total": "Balance", + "reserved": "Balance" + }, + "MatchingLedger": { + "totalStakeAmount": "ReservableAmount", + "totalUnstakeAmount": "ReservableAmount" + }, + "UnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "StakingLedger": { + "stash": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec", + "claimedRewards": "Vec" + }, + "DerivativeIndex": "u16", + "Pool": { + "baseAmount": "Balance", + "quoteAmount": "Balance", + "baseAmountLast": "Balance", + "quoteAmountLast": "Balance", + "lpTokenId": "AssetId", + "blockTimestampLast": "BlockNumber", + "price0CumulativeLast": "Balance", + "price1CumulativeLast": "Balance" + }, + "Amount": "i128", + "AmountOf": "Amount", + "Rate": "FixedU128", + "Ratio": "Permill", + "Timestamp": "u64", + "PriceDetail": "(Price, Timestamp)", + "CurrencyId": "AssetId", + "CurrencyIdOf": "CurrencyId", + "Currency": "CurrencyId", + "AssetIdOf": "AssetId", + "OracleKey": "AssetId", + "BoundedBalance": "BoundedVec<(Balance, BlockNumber), u32>", + "UserPosition": { + "depositBalance": "Balance", + "lockBalanceItems": "BoundedBalance", + "rewardAmount": "Balance", + "rewardPerSharePaid": "Balance" + }, + "Route": "Vec<(AssetId, AssetId)>", + "VaultPhase": { + "_enum": [ + "Pending", + "Contributing", + "Closed", + "Failed", + "Succeeded", + "Expired" + ] + }, + "ContributionStrategy": { + "_enum": [ + "XCM", + "XCMPROXY" + ] + }, + "ChildStorageKind": { + "_enum": [ + "Pending", + "Flying", + "Contributed" + ] + }, + "TrieIndex": "u32", + "LeasePeriod": "BlockNumber", + "Vault": { + "ctoken": "AssetId", + "phase": "VaultPhase", + "contributed": "Balance", + "pending": "Balance", + "flying": "Balance", + "contributionStrategy": "ContributionStrategy", + "cap": "Balance", + "endBlock": "BlockNumber", + "trieIndex": "TrieIndex", + "leaseStart": "LeasePeriod", + "leaseEnd": "LeasePeriod" + }, + "XcmWeightFeeMisc": { + "weight": "Weight", + "fee": "Balance" + }, + "XcmCall": { + "_enum": [ + "Bond", + "BondExtra", + "Unbond", + "Rebond", + "WithdrawUnbonded", + "Nominate", + "Contribute", + "Withdraw", + "AddMemo" + ] + }, + "BridgeToken": { + "id": "CurrencyId", + "external": "bool", + "fee": "Balance" + }, + "ProposalStatus": { + "_enum": [ + "Initiated", + "Approved", + "Rejected" + ] + }, + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "TAssetBalance": "u128" + } + } + ], + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + } + }, + "khala": { + "alias": {}, + "rpc": {}, + "types": [ + { + "minmax": [ + 0, + 10 + ], + "types": { + "ChainId": "u8", + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "DispatchErrorModule": "DispatchErrorModuleU8", + "Keys": "AccountId", + "BridgeChainId": "u8", + "BridgeEvent": { + "_enum": { + "FungibleTransfer": "FungibleTransfer", + "NonFungibleTransfer": "NonFungibleTransfer", + "GenericTransfer": "GenericTransfer" + } + }, + "FungibleTransfer": { + "destId": "BridgeChainId", + "nonce": "DepositNonce", + "resourceId": "ResourceId", + "amount": "U256", + "recipient": "Vec" + }, + "NonFungibleTransfer": { + "destId": "BridgeChainId", + "nonce": "DepositNonce", + "resourceId": "ResourceId", + "tokenId": "Vec", + "recipient": "Vec", + "metadata": "Vec" + }, + "GenericTransfer": { + "destId": "BridgeChainId", + "nonce": "DepositNonce", + "resourceId": "ResourceId", + "metadata": "Vec" + }, + "ResourceId": "[u8; 32]", + "TokenId": "U256", + "DepositNonce": "u64", + "ProposalStatus": { + "_enum": { + "Initiated": null, + "Approved": null, + "Rejected": null + } + }, + "ProposalVotes": { + "votesFor": "Vec", + "votesAgainst": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" + }, + "AssetInfo": { + "destId": "BridgeChainId", + "assetIdentity": "Vec" + }, + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "CancelProxy", + "Governance", + "Collator", + "StakePoolManager" + ] + }, + "Sr25519PublicKey": "[u8; 32]", + "MasterPublicKey": "Sr25519PublicKey", + "WorkerPublicKey": "Sr25519PublicKey", + "ContractPublicKey": "Sr25519PublicKey", + "EcdhPublicKey": "[u8; 32]", + "MessageOrigin": { + "_enum": { + "Pallet": "Vec", + "Contract": "H256", + "Worker": "Sr25519PublicKey", + "AccountId": "H256", + "MultiLocation": "Vec", + "Gatekeeper": null, + "Cluster": "H256" + } + }, + "Attestation": { + "_enum": { + "SgxIas": "AttestationSgxIas" + } + }, + "AttestationSgxIas": { + "raReport": "Vec", + "signature": "Vec", + "rawSigningCert": "Vec" + }, + "SenderId": "MessageOrigin", + "Path": "Vec", + "Topic": "Path", + "Message": { + "sender": "SenderId", + "destination": "Topic", + "payload": "Vec" + }, + "SignedMessage": { + "message": "Message", + "sequence": "u64", + "signature": "Vec" + }, + "WorkerRegistrationInfo": { + "version": "u32", + "machineId": "Vec", + "pubkey": "WorkerPublicKey", + "ecdhPubkey": "EcdhPublicKey", + "genesisBlockHash": "H256", + "features": "Vec", + "operator": "Option" + }, + "PoolInfo": { + "pid": "u64", + "owner": "AccountId", + "payoutCommission": "Option", + "ownerReward": "Balance", + "cap": "Option", + "rewardAcc": "u128", + "totalShares": "Balance", + "totalStake": "Balance", + "freeStake": "Balance", + "releasingStake": "Balance", + "workers": "Vec", + "withdrawQueue": "Vec" + }, + "WithdrawInfo": { + "user": "AccountId", + "shares": "Balance", + "startTime": "u64" + }, + "WorkerInfo": { + "pubkey": "WorkerPublicKey", + "ecdhPubkey": "EcdhPublicKey", + "runtimeVersion": "u32", + "lastUpdated": "u64", + "operator": "Option", + "confidenceLevel": "u8", + "initialScore": "Option", + "features": "Vec" + }, + "MinerInfo": { + "state": "MinerState", + "ve": "u128", + "v": "u128", + "vUpdatedAt": "u64", + "benchmark": "Benchmark", + "coolDownStart": "u64", + "stats": "MinerStats" + }, + "Benchmark": { + "pInit": "u32", + "pInstant": "u32", + "iterations": "u64", + "miningStartTime": "u64", + "challengeTimeLast": "u64" + }, + "MinerState": { + "_enum": { + "Ready": null, + "MiningIdle": null, + "MiningActive": null, + "MiningUnresponsive": null, + "MiningCoolingDown": null + } + }, + "MinerStats": { + "totalReward": "Balance" + }, + "HeartbeatChallenge": { + "seed": "U256", + "onlineTarget": "U256" + }, + "KeyDistribution": { + "_enum": { + "MasterKeyDistribution": "DispatchMasterKeyEvent" + } + }, + "GatekeeperLaunch": { + "_enum": { + "FirstGatekeeper": "NewGatekeeperEvent", + "MasterPubkeyOnChain": null + } + }, + "GatekeeperChange": { + "_enum": { + "GatekeeperRegistered": "NewGatekeeperEvent" + } + }, + "GatekeeperEvent": { + "_enum": { + "NewRandomNumber": "RandomNumberEvent", + "TokenomicParametersChanged": "TokenomicParameters" + } + }, + "NewGatekeeperEvent": { + "pubkey": "WorkerPublicKey", + "ecdhPubkey": "EcdhPublicKey" + }, + "DispatchMasterKeyEvent": { + "dest": "WorkerPublicKey", + "ecdhPubkey": "EcdhPublicKey", + "encryptedMasterKey": "Vec", + "iv": "[u8; 12]" + }, + "RandomNumberEvent": { + "blockNumber": "u32", + "randomNumber": "[u8; 32]", + "lastRandomNumber": "[u8; 32]" + }, + "TokenomicParameters": { + "phaRate": "U64F64Bits", + "rho": "U64F64Bits", + "budgetPerBlock": "U64F64Bits", + "vMax": "U64F64Bits", + "costK": "U64F64Bits", + "costB": "U64F64Bits", + "slashRate": "U64F64Bits", + "treasuryRatio": "U64F64Bits", + "heartbeatWindow": "u32", + "rigK": "U64F64Bits", + "rigB": "U64F64Bits", + "re": "U64F64Bits", + "k": "U64F64Bits", + "kappa": "U64F64Bits" + }, + "TokenomicParams": "TokenomicParameters", + "U64F64Bits": "u128", + "UserStakeInfo": { + "user": "AccountId", + "locked": "Balance", + "shares": "Balance", + "availableRewards": "Balance", + "rewardDebt": "Balance" + } + } + }, + { + "minmax": [ + 11, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "DispatchErrorModule": "DispatchErrorModuleU8", + "Keys": "AccountId", + "BridgeChainId": "u8", + "BridgeEvent": { + "_enum": { + "FungibleTransfer": "FungibleTransfer", + "NonFungibleTransfer": "NonFungibleTransfer", + "GenericTransfer": "GenericTransfer" + } + }, + "FungibleTransfer": { + "destId": "BridgeChainId", + "nonce": "DepositNonce", + "resourceId": "ResourceId", + "amount": "U256", + "recipient": "Vec" }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" + "NonFungibleTransfer": { + "destId": "BridgeChainId", + "nonce": "DepositNonce", + "resourceId": "ResourceId", + "tokenId": "Vec", + "recipient": "Vec", + "metadata": "Vec" }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" + "GenericTransfer": { + "destId": "BridgeChainId", + "nonce": "DepositNonce", + "resourceId": "ResourceId", + "metadata": "Vec" }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" + "ResourceId": "[u8; 32]", + "TokenId": "U256", + "DepositNonce": "u64", + "ProposalStatus": { + "_enum": { + "Initiated": null, + "Approved": null, + "Rejected": null + } }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" + "ProposalVotes": { + "votesFor": "Vec", + "votesAgainst": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" }, - "BlockchainType": { + "AssetInfo": { + "destId": "BridgeChainId", + "assetIdentity": "Vec" + }, + "ProxyType": { "_enum": [ - "BIFROST", - "EOS", - "IOST" + "Any", + "NonTransfer", + "CancelProxy", + "Governance", + "Collator", + "StakePoolManager" ] }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" + "Sr25519PublicKey": "[u8; 32]", + "MasterPublicKey": "Sr25519PublicKey", + "WorkerPublicKey": "Sr25519PublicKey", + "ContractPublicKey": "Sr25519PublicKey", + "EcdhPublicKey": "[u8; 32]", + "MessageOrigin": { + "_enum": { + "Pallet": "Vec", + "Contract": "H256", + "Worker": "Sr25519PublicKey", + "AccountId": "H256", + "MultiLocation": "Vec", + "Gatekeeper": null, + "Cluster": "H256" + } }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" + "Attestation": { + "_enum": { + "SgxIas": "AttestationSgxIas" + } }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" + "AttestationSgxIas": { + "raReport": "Vec", + "signature": "Vec", + "rawSigningCert": "Vec" }, - "ProducerSchedule": { + "SenderId": "MessageOrigin", + "Path": "Vec", + "Topic": "Path", + "Message": { + "sender": "SenderId", + "destination": "Topic", + "payload": "Vec" + }, + "SignedMessage": { + "message": "Message", + "sequence": "u64", + "signature": "Vec" + }, + "WorkerRegistrationInfo": { "version": "u32", - "producers": "Vec" + "machineId": "Vec", + "pubkey": "WorkerPublicKey", + "ecdhPubkey": "EcdhPublicKey", + "genesisBlockHash": "H256", + "features": "Vec", + "operator": "Option" }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" + "PoolInfo": { + "pid": "u64", + "owner": "AccountId", + "payoutCommission": "Option", + "ownerReward": "Balance", + "cap": "Option", + "rewardAcc": "u128", + "totalShares": "Balance", + "totalStake": "Balance", + "freeStake": "Balance", + "releasingStake": "Balance", + "workers": "Vec", + "withdrawQueue": "Vec" }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" + "WithdrawInfo": { + "user": "AccountId", + "shares": "Balance", + "startTime": "u64" }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" + "WorkerInfo": { + "pubkey": "WorkerPublicKey", + "ecdhPubkey": "EcdhPublicKey", + "runtimeVersion": "u32", + "lastUpdated": "u64", + "operator": "Option", + "confidenceLevel": "u8", + "initialScore": "Option", + "features": "Vec" }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" + "MinerInfo": { + "state": "MinerState", + "ve": "u128", + "v": "u128", + "vUpdatedAt": "u64", + "benchmark": "Benchmark", + "coolDownStart": "u64", + "stats": "MinerStats" }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" + "Benchmark": { + "pInit": "u32", + "pInstant": "u32", + "iterations": "u64", + "miningStartTime": "u64", + "challengeTimeLast": "u64" }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" + "MinerState": { + "_enum": { + "Ready": null, + "MiningIdle": null, + "MiningActive": null, + "MiningUnresponsive": null, + "MiningCoolingDown": null + } }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" + "MinerStats": { + "totalReward": "Balance" }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" + "HeartbeatChallenge": { + "seed": "U256", + "onlineTarget": "U256" }, - "Succeeded": { - "tx_id": "Vec" + "KeyDistribution": { + "_enum": { + "MasterKeyDistribution": "DispatchMasterKeyEvent" + } }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" + "GatekeeperLaunch": { + "_enum": { + "FirstGatekeeper": "NewGatekeeperEvent", + "MasterPubkeyOnChain": null + } }, - "TxOut": { + "GatekeeperChange": { "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" + "GatekeeperRegistered": "NewGatekeeperEvent" } }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] + "GatekeeperEvent": { + "_enum": { + "NewRandomNumber": "RandomNumberEvent", + "TokenomicParametersChanged": "TokenomicParameters" + } }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" + "NewGatekeeperEvent": { + "pubkey": "WorkerPublicKey", + "ecdhPubkey": "EcdhPublicKey" }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" + "DispatchMasterKeyEvent": { + "dest": "WorkerPublicKey", + "ecdhPubkey": "EcdhPublicKey", + "encryptedMasterKey": "Vec", + "iv": "[u8; 12]" }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" + "RandomNumberEvent": { + "blockNumber": "u32", + "randomNumber": "[u8; 32]", + "lastRandomNumber": "[u8; 32]" }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" + "TokenomicParameters": { + "phaRate": "U64F64Bits", + "rho": "U64F64Bits", + "budgetPerBlock": "U64F64Bits", + "vMax": "U64F64Bits", + "costK": "U64F64Bits", + "costB": "U64F64Bits", + "slashRate": "U64F64Bits", + "treasuryRatio": "U64F64Bits", + "heartbeatWindow": "u32", + "rigK": "U64F64Bits", + "rigB": "U64F64Bits", + "re": "U64F64Bits", + "k": "U64F64Bits", + "kappa": "U64F64Bits" }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" + "TokenomicParams": "TokenomicParameters", + "U64F64Bits": "u128", + "UserStakeInfo": { + "user": "AccountId", + "locked": "Balance", + "shares": "Balance", + "availableRewards": "Balance", + "rewardDebt": "Balance" + } + } + } + ] + }, + "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" + } }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" + "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" + } }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" + "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" + } }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" + "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" + } }, - "IostTxOut": { - "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" + "version": 2 + } + ], + "Staking": [ + { + "methods": { + "get_staking_rates": { + "description": "Calculate the current staking and reward rates for collators and delegators", + "params": [], + "type": "StakingRates" + }, + "get_unclaimed_staking_rewards": { + "description": "Calculate the claimable staking rewards for a given account address", + "params": [ + { + "name": "account", + "type": "AccountId32" + } + ], + "type": "Balance" + } + }, + "version": 1 + } + ], + "PublicCredentials": [ + { + "methods": { + "get_by_id": { + "description": "Return the public credential with the specified ID, if found.", + "params": [ + { + "name": "credential_id", + "type": "Hash" + } + ], + "type": "Option" + }, + "get_by_subject": { + "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", + "params": [ + { + "name": "subject", + "type": "Text" + }, + { + "name": "filter", + "type": "Option" + } + ], + "type": "Result, PublicCredentialError>" } }, - "PalletBalanceOf": "Balance", - "ExtraFeeName": { - "_enum": [ - "SalpContribute", - "NoExtraFee" - ] - }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "ledger": { - "Substrate": "SubstrateLedger" + "version": 1 + } + ], + "DipProvider": [ + { + "methods": { + "generate_proof": { + "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", + "params": [ + { + "name": "request", + "type": "DipProofRequest" + } + ], + "type": "Result" + } }, - "SubstrateLedger": { - "account": "AccountId", - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "version": 1 + } + ] + }, + "types": [ + { + "minmax": [ + 0, + 8 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithDualRefCount", + "Address": "AccountId", + "Attestation": { + "ctypeHash": "Hash", + "attester": "AccountId", + "delegationId": "Option", + "revoked": "bool" }, - "UnlockChunk": { - "value": "Balance", - "unlock_time": "TimeUnit" + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" }, - "FilecoinLedger": { - "account": "MultiLocationV1", - "initial_pledge": "Balance" + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" }, - "FilecoinOwnerByMinerEntry": { - "currency_id": "AccountId", - "miner_id": "MultiLocationV1", - "owner_id": "MultiLocationV1" + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" }, - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" }, - "RedeemStatus": "BalanceOf", - "FundStatus": { + "ChainId": { "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 + "RelayChain": "Null", + "ParaChain": "ParaId" } }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Redeemed", - "Unlocked", - "MigratedIdle", - "Contributing" - ] + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } }, - "CrowdloanContributeCall": { + "XcmError": { "_enum": { - "CrowdloanContribute": "ContributeCall" + "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 } }, - "ContributeCall": { + "ReferendumInfo": { "_enum": { - "Contribute": "Contribution" + "Ongoing": "ReferendumStatus", + "Finished": "ReferendumInfoFinished" } + } + } + }, + { + "minmax": [ + 9, + 9 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "DidIdentifierOf", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "DidIdentifierOf", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "WithdrawCall": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Withdraw": "Withdraw" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" } }, - "ParachainTransactProxyType": { + "DidEncryptionKey": { "_enum": { - "Primary": 0, - "Derived": 1 + "X25519": "[u8; 32]" } }, - "ParachainDerivedProxyAccountType": { + "DidPublicKey": { "_enum": { - "Salp": 0, - "Staking": 1 + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "Keys": "SessionKeys1", - "ParachainTransactType": { + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { "_enum": { - "Xcm": 0, - "Proxy": 1 + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" } }, - "RpcContributionStatus": { + "DidError": { "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" } }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "amount": "BalanceOf", - "remain": "BalanceOf", - "total_price": "BalanceOf", - "order_id": "OrderId", - "order_type": "OrderType", - "remain_price": "BalanceOf" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "OrderId": "u64", - "OrderType": { + "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": { - "Sell": 0, - "Buy": 1 + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "UnlockId": "U32", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" + "HttpUrl": { + "payload": "Text" }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" + "FtpUrl": { + "payload": "Text" }, - "PairStatus": { + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "TokenSymbol": { + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10, + 11 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "ETH": 5, - "KAR": 6, - "ZLK": 7, - "PHA": 8, - "RMRK": 9, - "MOVR": 10, - "GLMR": 11 + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" } }, - "CurrencyId": { + "DidEncryptionKey": { "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", - "ForeignAsset": "u32", - "Token2": "u8", - "VToken2": "u8", - "VSToken2": "u8", - "VSBond2": "u8", - "StableLpToken": "u32", - "Blp": "u32" + "X25519": "[u8; 32]" } }, - "CurrencyIdOf": "CurrencyId", - "TAssetBalance": "Balance", - "AmountOf": "Balance", - "StorageVersion": "Releases", - "ShareWeight": "Balance", - "Currency": "CurrencyIdOf", - "Amount": "AmountOf", - "TransferOriginType": { + "DidPublicKey": { "_enum": { - "FromSelf": 0, - "FromRelayChain": 1, - "FromSiblingParaChain": 2 + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "TimeUnit": { - "Era": "u32", - "SlashingSpan": "u32", - "Round": "u32", - "Kblock": "u32" - }, - "MinimumsMaximums": { - "delegator_bonded_minimum": "Balance", - "bond_extra_minimum": "Balance", - "unbond_minimum": "Balance", - "rebond_minimum": "Balance", - "unbond_record_maximum": "u32", - "validators_back_maximum": "u32", - "delegator_active_staking_maximum": "Balance", - "validators_reward_maximum": "u32", - "delegation_amount_minimum": "Balance", - "delegators_maximum": "u16", - "validators_maximum": "u16" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "PoolType": { + "DidSignature": { "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" } }, - "PoolState": { + "DidError": { "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber", - "pending_unlocks": "Vec<(BlockNumber, Balance)>" - }, - "RewardData": { - "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" - }, - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "MultiLocation": "MultiLocationV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [ - 902, - null - ], - "types": { - "CallOf": "Call", - "DispatchTime": { + "StorageError": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "DelayedDispatchTime": { + "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": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "u8", - "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "redeem_limit_time": "BlockNumber", - "unlock_limit_nums": "u32", - "pending_unlock_nums": "u32" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "HttpUrl": { + "payload": "Text" }, - "Share": "u128", - "OracleValue": "Price", - "BiddingOrderId": "u64", - "EraId": "u32", - "BiddingOrderUnit": { - "bidder_id": "AccountId", - "token_id": "AssetId", - "block_num": "BlockNumber", - "votes": "Balance", - "annual_roi": "Permill", - "validator": "AccountId" + "FtpUrl": { + "payload": "Text" }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" + "IpfsUrl": { + "payload": "Text" }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "BlockchainType": { - "_enum": [ - "BIFROST", - "EOS", - "IOST" - ] + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 12, + 16 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "Succeeded": { - "tx_id": "Vec" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "TxOut": { + "DidSignature": { "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "TransactionStatus": { + "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": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" + "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" }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" + "HttpUrl": { + "payload": "Text" }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" + "FtpUrl": { + "payload": "Text" }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" + "IpfsUrl": { + "payload": "Text" }, - "IostTxOut": { + "Url": { "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "PalletBalanceOf": "Balance", - "ExtraFeeName": { - "_enum": [ - "SalpContribute", - "NoExtraFee" - ] + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "ledger": { - "Substrate": "SubstrateLedger" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "SubstrateLedger": { - "account": "AccountId", - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "UnlockChunk": { - "value": "Balance", - "unlock_time": "TimeUnit" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "FilecoinLedger": { - "account": "MultiLocationV1", - "initial_pledge": "Balance" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "FilecoinOwnerByMinerEntry": { - "currency_id": "AccountId", - "miner_id": "MultiLocationV1", - "owner_id": "MultiLocationV1" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "RedeemStatus": "BalanceOf", - "FundStatus": { + "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": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 + "Active": "Null", + "Leaving": "SessionIndex" } }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Redeemed", - "Unlocked", - "MigratedIdle", - "Contributing" - ] + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + } + } + }, + { + "minmax": [ + 17, + 17 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "CrowdloanContributeCall": { + "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": { - "CrowdloanContribute": "ContributeCall" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ContributeCall": { + "DidEncryptionKey": { "_enum": { - "Contribute": "Contribution" + "X25519": "[u8; 32]" } }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "WithdrawCall": { + "DidSignature": { "_enum": { - "Withdraw": "Withdraw" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ParachainTransactProxyType": { + "DidError": { "_enum": { - "Primary": 0, - "Derived": 1 + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "ParachainDerivedProxyAccountType": { + "StorageError": { "_enum": { - "Salp": 0, - "Staking": 1 + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "Keys": "SessionKeys1", - "ParachainTransactType": { + "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": { - "Xcm": 0, - "Proxy": 1 + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "RpcContributionStatus": { + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" + "amount": "Balance" }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "amount": "BalanceOf", - "remain": "BalanceOf", - "total_price": "BalanceOf", - "order_id": "OrderId", - "order_type": "OrderType", - "remain_price": "BalanceOf" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "OrderId": "u64", - "OrderType": { + "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": { - "Sell": 0, - "Buy": 1 + "Active": "Null", + "Leaving": "SessionIndex" } }, - "UnlockId": "U32", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 18, + 18 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "TokenSymbol": { - "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "ETH": 5, - "KAR": 6, - "ZLK": 7, - "PHA": 8, - "RMRK": 9, - "MOVR": 10, - "GLMR": 11 + "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]" } }, - "CurrencyId": { + "DidEncryptionKey": { "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", - "ForeignAsset": "u32", - "Token2": "u8", - "VToken2": "u8", - "VSToken2": "u8", - "VSBond2": "u8", - "StableLpToken": "u32", - "Blp": "u32" + "X25519": "[u8; 32]" } }, - "CurrencyIdOf": "CurrencyId", - "TAssetBalance": "Balance", - "AmountOf": "Balance", - "StorageVersion": "Releases", - "ShareWeight": "Balance", - "Currency": "CurrencyIdOf", - "Amount": "AmountOf", - "TransferOriginType": { + "DidPublicKey": { "_enum": { - "FromSelf": 0, - "FromRelayChain": 1, - "FromSiblingParaChain": 2 + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "TimeUnit": { - "Era": "u32", - "SlashingSpan": "u32", - "Round": "u32", - "Kblock": "u32" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "MinimumsMaximums": { - "delegator_bonded_minimum": "Balance", - "bond_extra_minimum": "Balance", - "unbond_minimum": "Balance", - "rebond_minimum": "Balance", - "unbond_record_maximum": "u32", - "validators_back_maximum": "u32", - "delegator_active_staking_maximum": "Balance", - "validators_reward_maximum": "u32", - "delegation_amount_minimum": "Balance", - "delegators_maximum": "u16", - "validators_maximum": "u16" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "PoolType": { + "DidError": { "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "PoolState": { + "StorageError": { "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber", - "pending_unlocks": "Vec<(BlockNumber, Balance)>" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "RewardData": { - "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "MultiLocation": "MultiLocationV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" - } - } - ], - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" - } - } - }, - "astar": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Keys": "AccountId", - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "AmountOf": "Amount", - "Amount": "i128", - "SmartContract": { - "_enum": { - "Evm": "H160", - "Wasm": "AccountId" - } + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "EraStakingPoints": { - "total": "Balance", - "stakers": "BTreeMap", - "formerStakedEra": "EraIndex", - "claimedRewards": "Balance" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "EraRewardAndStake": { - "rewards": "Balance", - "staked": "Balance" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "EraIndex": "u32" - } - } - ] - }, - "avail": { - "rpc": { - "kate": { - "blockLength": { - "description": "Get Block Length", - "params": [ - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "BlockLength" - }, - "queryProof": { - "description": "Generate the kate proof for the given `cells`", - "params": [ - { - "name": "cells", - "type": "Vec" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec<(U256, [u8; 48])>" - }, - "queryDataProof": { - "description": "Generate the data proof for the given `transaction_index`", - "params": [ - { - "name": "transaction_index", - "type": "u32" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "ProofResponse" - }, - "queryRows": { - "description": "Query rows based on their indices", - "params": [ - { - "name": "rows", - "type": "Vec" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } - ], - "type": "Vec>" - } - } - }, - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "AppId": "Compact", - "DataLookupItem": { - "appId": "AppId", - "start": "Compact" }, - "CompactDataLookup": { - "size": "Compact", - "index": "Vec" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "KateCommitment": { - "rows": "Compact", - "cols": "Compact", - "commitment": "Vec", - "dataRoot": "H256" + "HttpUrl": { + "payload": "Text" }, - "V3HeaderExtension": { - "appLookup": "CompactDataLookup", - "commitment": "KateCommitment" + "FtpUrl": { + "payload": "Text" }, - "HeaderExtension": { + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "V1": "V3HeaderExtension", - "V2": "V3HeaderExtension", - "V3": "V3HeaderExtension" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "DaHeader": { - "parentHash": "Hash", - "number": "Compact", - "stateRoot": "Hash", - "extrinsicsRoot": "Hash", - "digest": "Digest", - "extension": "HeaderExtension" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "Header": "DaHeader", - "CheckAppIdExtra": { - "appId": "AppId" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "CheckAppIdTypes": {}, - "CheckAppId": { - "extra": "CheckAppIdExtra", - "types": "CheckAppIdTypes" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "BlockLengthColumns": "Compact", - "BlockLengthRows": "Compact", - "BlockLength": { - "max": "PerDispatchClass", - "cols": "BlockLengthColumns", - "rows": "BlockLengthRows", - "chunkSize": "Compact" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "PerDispatchClass": { - "normal": "u32", - "operational": "u32", - "mandatory": "u32" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "DataProof": { - "roots": "TxDataRoots", - "proof": "Vec", - "numberOfLeaves": "Compact", - "leafIndex": "Compact", - "leaf": "H256" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "TxDataRoots": { - "dataRoot": "H256", - "blobRoot": "H256", - "bridgeRoot": "H256" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "ProofResponse": { - "dataProof": "DataProof", - "message": "Option" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "AddressedMessage": { - "message": "Message", - "from": "H256", - "to": "H256", - "originDomain": "u32", - "destinationDomain": "u32", - "id": "u64" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "Message": { + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { "_enum": { - "ArbitraryMessage": "ArbitraryMessage", - "FungibleToken": "FungibleToken" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "MessageType": { + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { "_enum": [ - "ArbitraryMessage", - "FungibleToken" + "V1", + "V2" ] }, - "FungibleToken": { - "assetId": "H256", - "amount": "String" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "BoundedData": "Vec", - "ArbitraryMessage": "BoundedData", - "Cell": { - "row": "BlockLengthRows", - "col": "BlockLengthColumns" + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" } } - } - ], - "signedExtensions": { - "CheckAppId": { - "extrinsic": { - "appId": "AppId" - }, - "payload": {} - } - } - }, - "bajun": { - "types": [ + }, { "minmax": [ - 0, - null + 19, + 19 ], "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", - "LookupSource": "MultiAddress" - } - } - ] - }, - "basilisk": { - "alias": { - "tokens": { - "AccountData": "OrmlAccountData" - } - }, - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "AssetPair": { - "asset_in": "AssetId", - "asset_out": "AssetId" + "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" + ] }, - "Amount": "i128", - "AmountOf": "Amount", - "Address": "AccountId", - "OrmlAccountData": { - "free": "Balance", - "frozen": "Balance", - "reserved": "Balance" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "Fee": { - "numerator": "u32", - "denominator": "u32" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "BalanceInfo": { - "amount": "Balance", - "assetId": "AssetId" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "Chain": { - "genesisHash": "Vec", - "lastBlockHash": "Vec" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "Currency": "AssetId", - "CurrencyId": "AssetId", - "CurrencyIdOf": "AssetId", - "Intention": { - "who": "AccountId", - "asset_sell": "AssetId", - "asset_buy": "AssetId", - "amount": "Balance", - "discount": "bool", - "sell_or_buy": "IntentionType" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "IntentionId": "Hash", - "IntentionType": { + "UrlError": { "_enum": [ - "SELL", - "BUY" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "LookupSource": "AccountId", - "Price": "Balance", - "ClassId": "u64", - "TokenId": "u64", - "ClassData": { - "is_pool": "bool" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "TokenData": { - "locked": "bool" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "ClassInfo": { - "metadata": "Vec", - "total_issuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "TokenInfo": { - "metadata": "Vec", - "owner": "AccountId", - "data": "TokenData" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "ClassInfoOf": "ClassInfo", - "TokenInfoOf": "TokenInfo", - "ClassIdOf": "ClassId", - "TokenIdOf": "TokenId", - "OrderedSet": "Vec", - "VestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "period_count": "u32", - "per_period": "Compact" + "HttpUrl": { + "payload": "Text" }, - "VestingScheduleOf": "VestingSchedule", - "LBPWeight": "u32", - "WeightCurveType": { - "_enum": [ - "Linear" - ] + "FtpUrl": { + "payload": "Text" }, - "PoolId": "AccountId", - "BalanceOf": "Balance", - "AssetType": { + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "Token": "Null", - "PoolShare": "(AssetId,AssetId)" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "Pool": { + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { "owner": "AccountId", - "start": "BlockNumber", - "end": "BlockNumber", - "assets": "AssetPair", - "initial_weights": "LBPWeight", - "final_weights": "LBPWeight", - "weight_curve": "WeightCurveType", - "pausable": "bool", - "paused": "bool", - "fee": "Fee", - "fee_receiver": "AccountId" + "amount": "Balance" }, - "AssetDetails": { - "name": "Vec", - "asset_type": "AssetType", - "existential_deposit": "Balance", - "locked": "bool" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "AssetDetailsT": "AssetDetails", - "AssetMetadata": { - "symbol": "Vec", - "decimals": "u8" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "AssetInstance": "AssetInstanceV1", - "MultiLocation": "MultiLocationV1", - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1" - } - } - ] - }, - "beresheet": { - "alias": { - "voting": { - "Tally": "VotingTally" - } - }, - "types": [ - { - "minmax": [ - 0, - 31 - ], - "types": { - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "Balance2": "u128", - "VoteStage": { - "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" - ] + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "VoteType": { - "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" - ] + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "TallyType": { - "_enum": [ - "OnePerson", - "OneCoin" - ] + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "voting::VoteType": "VoteType", - "voting::TallyType": "TallyType", - "voting::Tally": "VotingTally", - "Keys": "SessionKeys4", - "StakingLedger": "StakingLedgerTo240", - "Votes": "VotesTo230", - "ReferendumInfo": "ReferendumInfoTo239", - "Weight": "u32", - "DispatchInfo": "DispatchInfoTo244", - "OpenTip": "OpenTipTo225", - "ContractExecResult": "ContractExecResultTo255", - "CompactAssignments": "CompactAssignmentsTo257", - "RewardDestination": "RewardDestinationTo257", - "RefCount": "RefCountTo259", - "AccountInfo": "AccountInfoWithRefCount", - "Address": "IndicesLookupSource", - "LookupSource": "IndicesLookupSource" - } - }, - { - "minmax": [ - 32, - 38 - ], - "types": { - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "Balance2": "u128", - "VoteStage": { - "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" - ] + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "VoteType": { - "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" - ] + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "TallyType": { + "DelegationStorageVersion": { "_enum": [ - "OnePerson", - "OneCoin" + "V1", + "V2" ] }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "BTreeSet", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" }, - "voting::VoteType": "VoteType", - "voting::TallyType": "TallyType", - "voting::Tally": "VotingTally", - "CompactAssignments": "CompactAssignmentsTo257", - "ContractExecResult": "ContractExecResultTo255", - "RewardDestination": "RewardDestinationTo257", - "RefCount": "u32", - "AccountInfo": "AccountInfoWithRefCount", - "Address": "IndicesLookupSource", - "LookupSource": "IndicesLookupSource" - } - }, - { - "minmax": [ - 39, - 41 - ], - "types": { - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "Vec", + "contentType": "ContentType" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "Balance2": "u128", - "VoteStage": { - "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" - ] + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "VoteType": { + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" + "ApplicationJson", + "ApplicationJsonLd" ] }, - "TallyType": { + "DidStorageVersion": { "_enum": [ - "OnePerson", - "OneCoin" + "V1", + "V2" ] - }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" - }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" - }, - "voting::VoteType": "VoteType", - "voting::TallyType": "TallyType", - "voting::Tally": "VotingTally", - "RefCount": "u32", - "AccountInfo": "AccountInfoWithRefCount", - "Address": "IndicesLookupSource", - "LookupSource": "IndicesLookupSource" + } } }, { "minmax": [ - 42, - 46 + 20, + 20 ], "types": { - "Balance2": "u128", - "ChainId": "u8", - "DepositNonce": "u64", - "ResourceId": "[u8; 32]", - "ProposalStatus": { - "_enum": [ - "Initiated", - "Approved", - "Rejected" - ] + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "staus": "ProposalStatus", - "expiry": "BlockNumber" + "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]" + } }, - "VoteStage": { - "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" - ] + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "VoteType": { - "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" - ] + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "TallyType": { + "DidVerificationKeyRelationship": { "_enum": [ - "OnePerson", - "OneCoin" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "AccountInfo": "AccountInfoWithRefCount", - "Address": "MultiAddress", - "LookupSource": "MultiAddress" - } - }, - { - "minmax": [ - 47, - null - ], - "types": { - "Balance2": "u128", - "DepositNonce": "u64", - "ResourceId": "[u8; 32]", - "ProposalStatus": { + "SignatureError": { "_enum": [ - "Initiated", - "Approved", - "Rejected" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "staus": "ProposalStatus", - "expiry": "BlockNumber" - }, - "VoteStage": { + "KeyError": { "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "VoteType": { + "UrlError": { "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "TallyType": { + "InputError": { "_enum": [ - "OnePerson", - "OneCoin" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "CID": "Vec", - "Properties": { - "_set": { - "Transferable": 1, - "Burnable": 2 - } + "HttpUrl": { + "payload": "Text" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties" + "FtpUrl": { + "payload": "Text" }, - "TokenData": { - "deposit": "Balance" + "IpfsUrl": { + "payload": "Text" }, - "ClassInfo": { - "metadata": "Vec", - "total_issuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "ClassInfoOf": "ClassInfo", - "TokenInfo": { - "metadata": "Vec", - "owner": "AccountId", - "data": "TokenData" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "TokenInfoOf": "TokenInfo", - "TokenId": "u64", - "ClassIdOf": "ClassId", - "TokenIdOf": "TokenId", - "Amount": "i128", - "AmountOf": "Amount", - "Approval": { - "amount": "Balance", - "deposit": "Balance" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "ApprovalKey": { + "OrderedSet": "BoundedVec", + "Stake": { "owner": "AccountId", - "delegate": "AccountId" + "amount": "Balance" }, - "Commitment": "ScalarData", - "CurrencyId": "u64", - "CurrencyIdOf": "CurrencyId", - "DustHandlerType": { - "_enum": { - "Burn": "Null", - "Transfer": "AccountId" - } + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "HashFunction": { - "_enum": [ - "PoseidonDefault", - "PoseidonExp3", - "PoseidonExp5", - "PoseidonExp17", - "MiMC", - "Blake2", - "Sha256" - ] + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "Manager": { - "accountId": "AccountId", - "required": "bool" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "MerkleTree": { - "leaf_count": "u32", - "max_leaves": "u32", - "depth": "u8", - "root_hash": "ScalarData", - "edge_nodes": "Vec", - "hasher": "HashFunction", - "should_store_leaves": "bool" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "MixerInfo": { - "minimum_deposit_length_for_reward": "BlockNumber", - "fixed_deposit_size": "Balance", - "currency_id": "CurrencyIdOf" + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" }, - "Nullifier": "ScalarData", - "ScalarData": "[u8; 32]", - "TokenDetails": { - "owner": "AccountId", - "issuer": "AccountId", - "admin": "AccountId", - "freezer": "AccountId", - "supply": "Balance", - "deposit": "Balance", - "min_balance": "Balance", - "approvals": "u32", - "is_frozen": "bool", - "dust_type": "DustHandlerType" + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" }, - "TokenMetadata": { - "deposit": "Balance", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "is_frozen": "bool" + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "TreeId": "u32", - "WithdrawProof": { - "mixer_id": "TreeId", - "cached_block": "BlockNumber", - "cached_root": "ScalarData", - "comms": "Vec", - "nullifier_hash": "ScalarData", - "proof_bytes": "Vec", - "leaf_index_commitments": "Vec", - "proof_commitments": "Vec", - "recipient": "Option", - "relayer": "Option" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "ETHBlock": { - "inner": "Block" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "ETHReceipts": { - "inner": "Vec" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "ETHTxStatuses": { - "inner": "Vec" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "LookupSource": "MultiAddress" - } - } - ] - }, - "bifrost": { - "rpc": { - "oracle": { - "getValue": { - "description": "Retrieves the oracle value for a given key.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "key", - "type": "OracleKey" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Option", - "isSubscription": false, - "jsonrpc": "oracle_getValue", - "method": "getValue", - "section": "oracle" - }, - "getAllValues": { - "description": "Retrieves all oracle values.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec<(OracleKey, Option)>", - "isSubscription": false, - "jsonrpc": "oracle_getAllValues", - "method": "getAllValues", - "section": "oracle" - } - }, - "farming": { - "getFarmingRewards": { - "description": "Get farming rewards", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "farming_getFarmingRewards", - "method": "getFarmingRewards", - "section": "farming" - }, - "getGaugeRewards": { - "description": "Get gauge rewards", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "farming_getGaugeRewards", - "method": "getGaugeRewards", - "section": "farming" - } - }, - "flexibleFee": { - "getFeeTokenAndAmount": { - "description": "Get charging token type and amount in terms of flexible transaction fee.", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "extrinsic", - "type": "Bytes" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(CurrencyId, U256)", - "isSubscription": false, - "jsonrpc": "flexibleFee_getFeeTokenAndAmount", - "method": "getFeeTokenAndAmount", - "section": "flexibleFee" - } - }, - "salp": { - "getContribution": { - "description": "salp getContribution", - "params": [ - { - "name": "index", - "type": "ParaId" - }, - { - "name": "who", - "type": "AccountIdOf" - } - ], - "type": "(Balance, ContributionStatus)", - "isSubscription": false, - "jsonrpc": "salp_getContribution", - "method": "getContribution", - "section": "salp" - }, - "getLiteContribution": { - "description": "salp getLiteContribution", - "params": [ - { - "name": "index", - "type": "ParaId" - }, - { - "name": "who", - "type": "AccountIdOf" + "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" } - ], - "type": "(Balance, ContributionStatus)", - "isSubscription": false, - "jsonrpc": "salp_getLiteContribution", - "method": "getLiteContribution", - "section": "salp" - } - }, - "vtokenMint": { - "getVtokenMintRate": { - "description": "Get current vtoken mint rate.", - "params": [ - { - "name": "asset_id", - "type": "CurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "vtokenMint_getVtokenMintRate", - "method": "getVtokenMintRate", - "section": "vtokenMint" + }, + "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" } }, - "zenlinkProtocol": { - "getAllAssets": { - "description": "zenlinkProtocol getAllAssets", - "params": [ - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAllAssets", - "method": "getAllAssets", - "section": "zenlinkProtocol" - }, - "getBalance": { - "description": "zenlinkProtocol getBalance", - "params": [ - { - "name": "asset_id", - "type": "ZenlinkAssetId" - }, - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getBalance", - "method": "getBalance", - "section": "zenlinkProtocol" - }, - "getSovereignsInfo": { - "description": "Get the ownership of a certain currency for each parachain.", - "params": [ - { - "name": "asset_id", - "type": "ZenlinkAssetId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + { + "minmax": [ + 21, + 22 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } - ], - "type": "(u32, AccountId, String)", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getSovereignsInfo", - "method": "getSovereignsInfo", - "section": "zenlinkProtocol" - }, - "getPairByAssetId": { - "description": "Get the detailed information of a particular exchange pair.", - "params": [ - { - "name": "asset_0", - "type": "ZenlinkAssetId" - }, - { - "name": "asset_1", - "type": "ZenlinkAssetId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" } - ], - "type": "PairInfo", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getPairByAssetId", - "method": "getPairByAssetId", - "section": "zenlinkProtocol" - }, - "getAmountInPrice": { - "description": "Get the output token amount for an exact input token amount.", - "params": [ - { - "name": "supply", - "type": "ZenlinkAssetBalance" - }, - { - "name": "path", - "type": "Vec" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } - ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountInPrice", - "method": "getAmountInPrice", - "section": "zenlinkProtocol" - }, - "getAmountOutPrice": { - "description": "Get the input token amount for an exact output token amount.", - "params": [ - { - "name": "supply", - "type": "ZenlinkAssetBalance" - }, - { - "name": "path", - "type": "Vec" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } - ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountOutPrice", - "method": "getAmountOutPrice", - "section": "zenlinkProtocol" - }, - "getEstimateLptoken": { - "description": "Get the estimated number of LP token acquired given the desired and minimum amount for both in-token and out-token.", - "params": [ - { - "name": "asset_0", - "type": "ZenlinkAssetId" - }, - { - "name": "asset_1", - "type": "ZenlinkAssetId" - }, - { - "name": "amount_0_desired", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_1_desired", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_0_min", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_1_min", - "type": "ZenlinkAssetBalance" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } - ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getEstimateLptoken", - "method": "getEstimateLptoken", - "section": "zenlinkProtocol" - } - }, - "liquidityMining": { - "getRewards": { - "description": "Get the rewards users deserve", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" - }, - { - "name": "pallet_instance", - "type": "U32" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" } - ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "liquidityMining_getRewards", - "method": "getRewards", - "section": "liquidityMining" - } - }, - "stablePool": { - "getSwapOutputAmount": { - "description": "stablePool getSwapOutputAmount", - "params": [ - { - "name": "pool_id", - "type": "U32" - }, - { - "name": "currency_id_in", - "type": "U32" - }, - { - "name": "currency_id_out", - "type": "U32" - }, - { - "name": "amount", - "type": "Balance" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "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" } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "stablePool_getSwapOutputAmount", - "method": "getSwapOutputAmount", - "section": "stablePool" - } - } - }, - "types": [ - { - "minmax": [ - 0, - 901 - ], - "types": { - "CallOf": "Call", - "DispatchTime": { + }, + "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": { - "At": "BlockNumber", - "After": "BlockNumber" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" }, - "DelayedDispatchTime": { + "DidFragmentUpdateAction_ServiceEndpoints": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "u8", - "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "redeem_limit_time": "BlockNumber", - "unlock_limit_nums": "u32", - "pending_unlock_nums": "u32" + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "Share": "u128", - "OracleValue": "Price", - "BiddingOrderId": "u64", - "EraId": "u32", - "BiddingOrderUnit": { - "bidder_id": "AccountId", - "token_id": "AssetId", - "block_num": "BlockNumber", - "votes": "Balance", - "annual_roi": "Permill", - "validator": "AccountId" + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1" + } + }, + { + "minmax": [ + 23, + 24 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "BlockchainType": { + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { "_enum": [ - "BIFROST", - "EOS", - "IOST" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" - }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" + "HttpUrl": { + "payload": "Text" }, - "Succeeded": { - "tx_id": "Vec" + "FtpUrl": { + "payload": "Text" }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" + "IpfsUrl": { + "payload": "Text" }, - "TxOut": { + "Url": { "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "IostTxOut": { + "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": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "PalletBalanceOf": "Balance", - "ExtraFeeName": { + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { "_enum": [ - "SalpContribute", - "NoExtraFee" + "V1", + "V2" ] }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "ledger": { - "Substrate": "SubstrateLedger" + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] }, - "SubstrateLedger": { - "account": "AccountId", + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "UnlockChunk": { - "value": "Balance", - "unlock_time": "TimeUnit" + "status": "CandidateStatus" }, - "FilecoinLedger": { - "account": "MultiLocationV1", - "initial_pledge": "Balance" + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 25, + 2699 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "FilecoinOwnerByMinerEntry": { - "currency_id": "AccountId", - "miner_id": "MultiLocationV1", - "owner_id": "MultiLocationV1" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "RedeemStatus": "BalanceOf", - "FundStatus": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Redeemed", - "Unlocked", - "MigratedIdle", - "Contributing" - ] - }, - "CrowdloanContributeCall": { + "DidEncryptionKey": { "_enum": { - "CrowdloanContribute": "ContributeCall" + "X25519": "[u8; 32]" } }, - "ContributeCall": { + "DidPublicKey": { "_enum": { - "Contribute": "Contribution" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "WithdrawCall": { + "DidSignature": { "_enum": { - "Withdraw": "Withdraw" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ParachainTransactProxyType": { + "DidError": { "_enum": { - "Primary": 0, - "Derived": 1 + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "ParachainDerivedProxyAccountType": { + "StorageError": { "_enum": { - "Salp": 0, - "Staking": 1 + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" } }, - "Keys": "SessionKeys1", - "ParachainTransactType": { - "_enum": { - "Xcm": 0, - "Proxy": 1 - } + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "RpcContributionStatus": { - "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 - } + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "amount": "BalanceOf", - "remain": "BalanceOf", - "total_price": "BalanceOf", - "order_id": "OrderId", - "order_type": "OrderType", - "remain_price": "BalanceOf" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "submitter": "AccountId" }, - "OrderId": "u64", - "OrderType": { + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "Sell": 0, - "Buy": 1 + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "UnlockId": "U32", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "TokenSymbol": { - "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "KAR": 6, - "ZLK": 7, - "PHA": 8, - "RMRK": 9, - "MOVR": 10, - "GLMR": 11 - } + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", - "ForeignAsset": "u32", - "Token2": "u8", - "VToken2": "u8", - "VSToken2": "u8", - "VSBond2": "u8", - "StableLpToken": "u32", - "Blp": "u32" - } + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "CurrencyIdOf": "CurrencyId", - "TAssetBalance": "Balance", - "AmountOf": "Balance", - "StorageVersion": "Releases", - "ShareWeight": "Balance", - "Currency": "CurrencyIdOf", - "Amount": "AmountOf", - "TransferOriginType": { - "_enum": { - "FromSelf": 0, - "FromRelayChain": 1, - "FromSiblingParaChain": 2 - } + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "TimeUnit": { - "Era": "u32", - "SlashingSpan": "u32", - "Round": "u32", - "Kblock": "u32" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "MinimumsMaximums": { - "delegator_bonded_minimum": "Balance", - "bond_extra_minimum": "Balance", - "unbond_minimum": "Balance", - "rebond_minimum": "Balance", - "unbond_record_maximum": "u32", - "validators_back_maximum": "u32", - "delegator_active_staking_maximum": "Balance", - "validators_reward_maximum": "u32", - "delegation_amount_minimum": "Balance", - "delegators_maximum": "u16", - "validators_maximum": "u16" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "PoolType": { + "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": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "PoolState": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber", - "pending_unlocks": "Vec<(BlockNumber, Balance)>" + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] }, - "RewardData": { + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" + "status": "CandidateStatus" }, - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "MultiLocation": "MultiLocationV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } } }, { "minmax": [ - 902, - null + 2700, + 10409 ], "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" - }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" - }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" - }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" - }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" }, - "DelayedDispatchTime": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" - }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "u8", - "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "redeem_limit_time": "BlockNumber", - "unlock_limit_nums": "u32", - "pending_unlock_nums": "u32" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "Share": "u128", - "OracleValue": "Price", - "BiddingOrderId": "u64", - "EraId": "u32", - "BiddingOrderUnit": { - "bidder_id": "AccountId", - "token_id": "AssetId", - "block_num": "BlockNumber", - "votes": "Balance", - "annual_roi": "Permill", - "validator": "AccountId" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] }, - "BlockchainType": { + "KeyError": { "_enum": [ - "BIFROST", - "EOS", - "IOST" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "Succeeded": { - "tx_id": "Vec" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "TxOut": { - "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" - } + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "TransactionStatus": { + "DelegationStorageVersion": { "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" + "V1", + "V2" ] }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" - }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" - }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" - }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" - }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" - }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" - }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "IostTxOut": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "PalletBalanceOf": "Balance", - "ExtraFeeName": { + "DidStorageVersion": { "_enum": [ - "SalpContribute", - "NoExtraFee" + "V1", + "V2", + "V3" ] }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "ledger": { - "Substrate": "SubstrateLedger" + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] }, - "SubstrateLedger": { - "account": "AccountId", + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "UnlockChunk": { - "value": "Balance", - "unlock_time": "TimeUnit" + "status": "CandidateStatus" }, - "FilecoinLedger": { - "account": "MultiLocationV1", - "initial_pledge": "Balance" + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "FilecoinOwnerByMinerEntry": { - "currency_id": "AccountId", - "miner_id": "MultiLocationV1", - "owner_id": "MultiLocationV1" + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10410, + 10719 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" }, - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" }, - "RedeemStatus": "BalanceOf", - "FundStatus": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Redeemed", - "Unlocked", - "MigratedIdle", - "Contributing" - ] - }, - "CrowdloanContributeCall": { + "DidEncryptionKey": { "_enum": { - "CrowdloanContribute": "ContributeCall" + "X25519": "[u8; 32]" } }, - "ContributeCall": { + "DidPublicKey": { "_enum": { - "Contribute": "Contribution" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "WithdrawCall": { + "DidSignature": { "_enum": { - "Withdraw": "Withdraw" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ParachainTransactProxyType": { + "DidError": { "_enum": { - "Primary": 0, - "Derived": 1 + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" } }, - "ParachainDerivedProxyAccountType": { + "StorageError": { "_enum": { - "Salp": 0, - "Staking": 1 + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" } }, - "Keys": "SessionKeys1", - "ParachainTransactType": { - "_enum": { - "Xcm": 0, - "Proxy": 1 - } + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] }, - "RpcContributionStatus": { - "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 - } + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "amount": "BalanceOf", - "remain": "BalanceOf", - "total_price": "BalanceOf", - "order_id": "OrderId", - "order_type": "OrderType", - "remain_price": "BalanceOf" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "OrderId": "u64", - "OrderType": { - "_enum": { - "Sell": 0, - "Buy": 1 - } + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "UnlockId": "U32", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "TokenSymbol": { - "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "KAR": 6, - "ZLK": 7, - "PHA": 8, - "RMRK": 9, - "MOVR": 10, - "GLMR": 11 - } + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", - "ForeignAsset": "u32", - "Token2": "u8", - "VToken2": "u8", - "VSToken2": "u8", - "VSBond2": "u8", - "StableLpToken": "u32", - "Blp": "u32" - } + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "CurrencyIdOf": "CurrencyId", - "TAssetBalance": "Balance", - "AmountOf": "Balance", - "StorageVersion": "Releases", - "ShareWeight": "Balance", - "Currency": "CurrencyIdOf", - "Amount": "AmountOf", - "TransferOriginType": { - "_enum": { - "FromSelf": 0, - "FromRelayChain": 1, - "FromSiblingParaChain": 2 - } + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "TimeUnit": { - "Era": "u32", - "SlashingSpan": "u32", - "Round": "u32", - "Kblock": "u32" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "MinimumsMaximums": { - "delegator_bonded_minimum": "Balance", - "bond_extra_minimum": "Balance", - "unbond_minimum": "Balance", - "rebond_minimum": "Balance", - "unbond_record_maximum": "u32", - "validators_back_maximum": "u32", - "delegator_active_staking_maximum": "Balance", - "validators_reward_maximum": "u32", - "delegation_amount_minimum": "Balance", - "delegators_maximum": "u16", - "validators_maximum": "u16" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "PoolType": { + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "PoolState": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber", - "pending_unlocks": "Vec<(BlockNumber, Balance)>" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] }, - "RewardData": { + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" + "status": "CandidateStatus" }, - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "MultiLocation": "MultiLocationV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" - } - } - ], - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" - } - } - }, - "bifrost-parachain": { - "rpc": { - "oracle": { - "getValue": { - "description": "Retrieves the oracle value for a given key.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "key", - "type": "OracleKey" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Option", - "isSubscription": false, - "jsonrpc": "oracle_getValue", - "method": "getValue", - "section": "oracle" - }, - "getAllValues": { - "description": "Retrieves all oracle values.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec<(OracleKey, Option)>", - "isSubscription": false, - "jsonrpc": "oracle_getAllValues", - "method": "getAllValues", - "section": "oracle" - } - }, - "farming": { - "getFarmingRewards": { - "description": "Get farming rewards", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "farming_getFarmingRewards", - "method": "getFarmingRewards", - "section": "farming" - }, - "getGaugeRewards": { - "description": "Get gauge rewards", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" } - ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "farming_getGaugeRewards", - "method": "getGaugeRewards", - "section": "farming" + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } } }, - "flexibleFee": { - "getFeeTokenAndAmount": { - "description": "Get charging token type and amount in terms of flexible transaction fee.", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "extrinsic", - "type": "Bytes" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(CurrencyId, U256)", - "isSubscription": false, - "jsonrpc": "flexibleFee_getFeeTokenAndAmount", - "method": "getFeeTokenAndAmount", - "section": "flexibleFee" + { + "minmax": [ + 10720, + 10750 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + } } }, - "salp": { - "getContribution": { - "description": "salp getContribution", - "params": [ - { - "name": "index", - "type": "ParaId" - }, - { - "name": "who", - "type": "AccountIdOf" - } - ], - "type": "(Balance, ContributionStatus)", - "isSubscription": false, - "jsonrpc": "salp_getContribution", - "method": "getContribution", - "section": "salp" - }, - "getLiteContribution": { - "description": "salp getLiteContribution", - "params": [ - { - "name": "index", - "type": "ParaId" - }, - { - "name": "who", - "type": "AccountIdOf" + { + "minmax": [ + 10800, + 10899 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" } - ], - "type": "(Balance, ContributionStatus)", - "isSubscription": false, - "jsonrpc": "salp_getLiteContribution", - "method": "getLiteContribution", - "section": "salp" + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } } }, - "vtokenMint": { - "getVtokenMintRate": { - "description": "Get current vtoken mint rate.", - "params": [ - { - "name": "asset_id", - "type": "CurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + { + "minmax": [ + 10900, + 11199 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "vtokenMint_getVtokenMintRate", - "method": "getVtokenMintRate", - "section": "vtokenMint" + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } } }, - "zenlinkProtocol": { - "getAllAssets": { - "description": "zenlinkProtocol getAllAssets", - "params": [ - { - "name": "at", - "type": "Hash", - "isOptional": true + { + "minmax": [ + 11200, + null + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAllAssets", - "method": "getAllAssets", - "section": "zenlinkProtocol" - }, - "getBalance": { - "description": "zenlinkProtocol getBalance", - "params": [ - { - "name": "asset_id", - "type": "ZenlinkAssetId" - }, - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getBalance", - "method": "getBalance", - "section": "zenlinkProtocol" - }, - "getSovereignsInfo": { - "description": "Get the ownership of a certain currency for each parachain.", - "params": [ - { - "name": "asset_id", - "type": "ZenlinkAssetId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" } - ], - "type": "(u32, AccountId, String)", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getSovereignsInfo", - "method": "getSovereignsInfo", - "section": "zenlinkProtocol" - }, - "getPairByAssetId": { - "description": "Get the detailed information of a particular exchange pair.", - "params": [ - { - "name": "asset_0", - "type": "ZenlinkAssetId" - }, - { - "name": "asset_1", - "type": "ZenlinkAssetId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" } - ], - "type": "PairInfo", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getPairByAssetId", - "method": "getPairByAssetId", - "section": "zenlinkProtocol" - }, - "getAmountInPrice": { - "description": "Get the output token amount for an exact input token amount.", - "params": [ - { - "name": "supply", - "type": "ZenlinkAssetBalance" + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + } + } + } + ] + }, + "mashnet-node": { + "runtime": { + "DidApi": [ + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" }, - { - "name": "path", - "type": "Vec" + "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" }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" } - ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountInPrice", - "method": "getAmountInPrice", - "section": "zenlinkProtocol" + }, + "version": 1 }, - "getAmountOutPrice": { - "description": "Get the input token amount for an exact output token amount.", - "params": [ - { - "name": "supply", - "type": "ZenlinkAssetBalance" + { + "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" }, - { - "name": "path", - "type": "Vec" + "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" }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" } - ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountOutPrice", - "method": "getAmountOutPrice", - "section": "zenlinkProtocol" - }, - "getEstimateLptoken": { - "description": "Get the estimated number of LP token acquired given the desired and minimum amount for both in-token and out-token.", - "params": [ - { - "name": "asset_0", - "type": "ZenlinkAssetId" - }, - { - "name": "asset_1", - "type": "ZenlinkAssetId" - }, - { - "name": "amount_0_desired", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_1_desired", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_0_min", - "type": "ZenlinkAssetBalance" + }, + "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" }, - { - "name": "amount_1_min", - "type": "ZenlinkAssetBalance" + "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" }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" } - ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getEstimateLptoken", - "method": "getEstimateLptoken", - "section": "zenlinkProtocol" - } - }, - "liquidityMining": { - "getRewards": { - "description": "Get the rewards users deserve", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" + }, + "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" }, - { - "name": "pallet_instance", - "type": "U32" + "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" }, - { - "name": "at", - "type": "Hash", - "isOptional": true + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" } - ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "liquidityMining_getRewards", - "method": "getRewards", - "section": "liquidityMining" + }, + "version": 2 } - }, - "stablePool": { - "getSwapOutputAmount": { - "description": "stablePool getSwapOutputAmount", - "params": [ - { - "name": "pool_id", - "type": "U32" - }, - { - "name": "currency_id_in", - "type": "U32" - }, - { - "name": "currency_id_out", - "type": "U32" + ], + "Staking": [ + { + "methods": { + "get_staking_rates": { + "description": "Calculate the current staking and reward rates for collators and delegators", + "params": [], + "type": "StakingRates" }, - { - "name": "amount", + "get_unclaimed_staking_rewards": { + "description": "Calculate the claimable staking rewards for a given account address", + "params": [ + { + "name": "account", + "type": "AccountId32" + } + ], "type": "Balance" + } + }, + "version": 1 + } + ], + "PublicCredentials": [ + { + "methods": { + "get_by_id": { + "description": "Return the public credential with the specified ID, if found.", + "params": [ + { + "name": "credential_id", + "type": "Hash" + } + ], + "type": "Option" }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "get_by_subject": { + "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", + "params": [ + { + "name": "subject", + "type": "Text" + }, + { + "name": "filter", + "type": "Option" + } + ], + "type": "Result, PublicCredentialError>" } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "stablePool_getSwapOutputAmount", - "method": "getSwapOutputAmount", - "section": "stablePool" + }, + "version": 1 } - } + ], + "DipProvider": [ + { + "methods": { + "generate_proof": { + "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", + "params": [ + { + "name": "request", + "type": "DipProofRequest" + } + ], + "type": "Result" + } + }, + "version": 1 + } + ] }, "types": [ { "minmax": [ 0, - 901 + 8 ], "types": { - "CallOf": "Call", - "DispatchTime": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithDualRefCount", + "Address": "AccountId", + "Attestation": { + "ctypeHash": "Hash", + "attester": "AccountId", + "delegationId": "Option", + "revoked": "bool" + }, + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" + }, + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" + }, + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" + }, + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + }, + "ChainId": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "RelayChain": "Null", + "ParaChain": "ParaId" } }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "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 + } }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "ReferendumInfo": { + "_enum": { + "Ongoing": "ReferendumStatus", + "Finished": "ReferendumInfoFinished" + } + } + } + }, + { + "minmax": [ + 9, + 9 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "DidIdentifierOf", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "DidIdentifierOf", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } }, - "DelayedDispatchTime": { + "DidEncryptionKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "X25519": "[u8; 32]" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "u8", - "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "redeem_limit_time": "BlockNumber", - "unlock_limit_nums": "u32", - "pending_unlock_nums": "u32" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } }, - "Share": "u128", - "OracleValue": "Price", - "BiddingOrderId": "u64", - "EraId": "u32", - "BiddingOrderUnit": { - "bidder_id": "AccountId", - "token_id": "AssetId", - "block_num": "BlockNumber", - "votes": "Balance", - "annual_roi": "Permill", - "validator": "AccountId" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" + } }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10, + 11 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "BlockchainType": { + "DidVerificationKeyRelationship": { "_enum": [ - "BIFROST", - "EOS", - "IOST" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" - }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" - }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" - }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "Succeeded": { - "tx_id": "Vec" + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" }, - "TxOut": { + "DidVerificationKeyUpdateAction": { "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] - }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" + "HttpUrl": { + "payload": "Text" }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" + "FtpUrl": { + "payload": "Text" }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" + "IpfsUrl": { + "payload": "Text" }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "IostTxOut": { - "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" - } + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "PalletBalanceOf": "Balance", - "ExtraFeeName": { - "_enum": [ - "SalpContribute", - "NoExtraFee" - ] + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "ledger": { - "Substrate": "SubstrateLedger" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "SubstrateLedger": { - "account": "AccountId", - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "UnlockChunk": { - "value": "Balance", - "unlock_time": "TimeUnit" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "FilecoinLedger": { - "account": "MultiLocationV1", - "initial_pledge": "Balance" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "FilecoinOwnerByMinerEntry": { - "currency_id": "AccountId", - "miner_id": "MultiLocationV1", - "owner_id": "MultiLocationV1" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "RedeemStatus": "BalanceOf", - "FundStatus": { + "CollatorStatus": { "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 + "Active": "Null", + "Leaving": "SessionIndex" } + } + } + }, + { + "minmax": [ + 12, + 16 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Redeemed", - "Unlocked", - "MigratedIdle", - "Contributing" - ] + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "CrowdloanContributeCall": { + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "CrowdloanContribute": "ContributeCall" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ContributeCall": { + "DidEncryptionKey": { "_enum": { - "Contribute": "Contribution" + "X25519": "[u8; 32]" } }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" - }, - "WithdrawCall": { + "DidPublicKey": { "_enum": { - "Withdraw": "Withdraw" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "ParachainTransactProxyType": { + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { "_enum": { - "Primary": 0, - "Derived": 1 + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ParachainDerivedProxyAccountType": { + "DidError": { "_enum": { - "Salp": 0, - "Staking": 1 + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "Keys": "SessionKeys1", - "ParachainTransactType": { + "StorageError": { "_enum": { - "Xcm": 0, - "Proxy": 1 + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "RpcContributionStatus": { + "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": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" + "HttpUrl": { + "payload": "Text" }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" + "FtpUrl": { + "payload": "Text" }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "amount": "BalanceOf", - "remain": "BalanceOf", - "total_price": "BalanceOf", - "order_id": "OrderId", - "order_type": "OrderType", - "remain_price": "BalanceOf" + "IpfsUrl": { + "payload": "Text" }, - "OrderId": "u64", - "OrderType": { + "Url": { "_enum": { - "Sell": 0, - "Buy": 1 + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "UnlockId": "U32", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" - }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "TokenSymbol": { - "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "KAR": 6, - "ZLK": 7, - "PHA": 8, - "RMRK": 9, - "MOVR": 10, - "GLMR": 11 - } + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", - "ForeignAsset": "u32", - "Token2": "u8", - "VToken2": "u8", - "VSToken2": "u8", - "VSBond2": "u8", - "StableLpToken": "u32", - "Blp": "u32" - } + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "CurrencyIdOf": "CurrencyId", - "TAssetBalance": "Balance", - "AmountOf": "Balance", - "StorageVersion": "Releases", - "ShareWeight": "Balance", - "Currency": "CurrencyIdOf", - "Amount": "AmountOf", - "TransferOriginType": { - "_enum": { - "FromSelf": 0, - "FromRelayChain": 1, - "FromSiblingParaChain": 2 - } + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "TimeUnit": { - "Era": "u32", - "SlashingSpan": "u32", - "Round": "u32", - "Kblock": "u32" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "MinimumsMaximums": { - "delegator_bonded_minimum": "Balance", - "bond_extra_minimum": "Balance", - "unbond_minimum": "Balance", - "rebond_minimum": "Balance", - "unbond_record_maximum": "u32", - "validators_back_maximum": "u32", - "delegator_active_staking_maximum": "Balance", - "validators_reward_maximum": "u32", - "delegation_amount_minimum": "Balance", - "delegators_maximum": "u16", - "validators_maximum": "u16" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "PoolType": { - "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 - } + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "PoolState": { + "CollatorStatus": { "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 + "Active": "Null", + "Leaving": "SessionIndex" } }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber", - "pending_unlocks": "Vec<(BlockNumber, Balance)>" - }, - "RewardData": { - "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" - }, - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "MultiLocation": "MultiLocationV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + } } }, { "minmax": [ - 902, - null + 17, + 17 ], "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" - }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" - }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" - }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "DelayedDispatchTime": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" - }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "u8", - "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "redeem_limit_time": "BlockNumber", - "unlock_limit_nums": "u32", - "pending_unlock_nums": "u32" - }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "Share": "u128", - "OracleValue": "Price", - "BiddingOrderId": "u64", - "EraId": "u32", - "BiddingOrderUnit": { - "bidder_id": "AccountId", - "token_id": "AssetId", - "block_num": "BlockNumber", - "votes": "Balance", - "annual_roi": "Permill", - "validator": "AccountId" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "BlockchainType": { + "SignatureError": { "_enum": [ - "BIFROST", - "EOS", - "IOST" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" - }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" + "HttpUrl": { + "payload": "Text" }, - "Succeeded": { - "tx_id": "Vec" + "FtpUrl": { + "payload": "Text" }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" + "IpfsUrl": { + "payload": "Text" }, - "TxOut": { + "Url": { "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "IostTxOut": { + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "PalletBalanceOf": "Balance", - "ExtraFeeName": { - "_enum": [ - "SalpContribute", - "NoExtraFee" - ] - }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "ledger": { - "Substrate": "SubstrateLedger" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "SubstrateLedger": { - "account": "AccountId", - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "UnlockChunk": { - "value": "Balance", - "unlock_time": "TimeUnit" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "FilecoinLedger": { - "account": "MultiLocationV1", - "initial_pledge": "Balance" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 18, + 18 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "FilecoinOwnerByMinerEntry": { - "currency_id": "AccountId", - "miner_id": "MultiLocationV1", - "owner_id": "MultiLocationV1" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "RedeemStatus": "BalanceOf", - "FundStatus": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Redeemed", - "Unlocked", - "MigratedIdle", - "Contributing" - ] - }, - "CrowdloanContributeCall": { + "DidEncryptionKey": { "_enum": { - "CrowdloanContribute": "ContributeCall" + "X25519": "[u8; 32]" } }, - "ContributeCall": { + "DidPublicKey": { "_enum": { - "Contribute": "Contribution" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "WithdrawCall": { + "DidSignature": { "_enum": { - "Withdraw": "Withdraw" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ParachainTransactProxyType": { + "DidError": { "_enum": { - "Primary": 0, - "Derived": 1 + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "ParachainDerivedProxyAccountType": { + "StorageError": { "_enum": { - "Salp": 0, - "Staking": 1 + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "Keys": "SessionKeys1", - "ParachainTransactType": { + "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": { - "Xcm": 0, - "Proxy": 1 + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "RpcContributionStatus": { + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" + "amount": "Balance" }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "amount": "BalanceOf", - "remain": "BalanceOf", - "total_price": "BalanceOf", - "order_id": "OrderId", - "order_type": "OrderType", - "remain_price": "BalanceOf" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "OrderId": "u64", - "OrderType": { + "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": { - "Sell": 0, - "Buy": 1 + "Active": "Null", + "Leaving": "SessionIndex" } }, - "UnlockId": "U32", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" + } + } + }, + { + "minmax": [ + 19, + 19 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "PairStatus": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "TokenSymbol": { + "DidEncryptionKey": { "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "KAR": 6, - "ZLK": 7, - "PHA": 8, - "RMRK": 9, - "MOVR": 10, - "GLMR": 11 + "X25519": "[u8; 32]" } }, - "CurrencyId": { + "DidPublicKey": { "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", - "ForeignAsset": "u32", - "Token2": "u8", - "VToken2": "u8", - "VSToken2": "u8", - "VSBond2": "u8", - "StableLpToken": "u32", - "Blp": "u32" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "CurrencyIdOf": "CurrencyId", - "TAssetBalance": "Balance", - "AmountOf": "Balance", - "StorageVersion": "Releases", - "ShareWeight": "Balance", - "Currency": "CurrencyIdOf", - "Amount": "AmountOf", - "TransferOriginType": { + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { "_enum": { - "FromSelf": 0, - "FromRelayChain": 1, - "FromSiblingParaChain": 2 + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "TimeUnit": { - "Era": "u32", - "SlashingSpan": "u32", - "Round": "u32", - "Kblock": "u32" - }, - "MinimumsMaximums": { - "delegator_bonded_minimum": "Balance", - "bond_extra_minimum": "Balance", - "unbond_minimum": "Balance", - "rebond_minimum": "Balance", - "unbond_record_maximum": "u32", - "validators_back_maximum": "u32", - "delegator_active_staking_maximum": "Balance", - "validators_reward_maximum": "u32", - "delegation_amount_minimum": "Balance", - "delegators_maximum": "u16", - "validators_maximum": "u16" - }, - "PoolType": { + "DidError": { "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "PoolState": { + "StorageError": { "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber", - "pending_unlocks": "Vec<(BlockNumber, Balance)>" - }, - "RewardData": { - "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "MultiLocation": "MultiLocationV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" - } - } - ], - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" - } - } - }, - "bitcountry-node": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "AssetInfo": { - "owner": "AccountId", - "data": "AssetData" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "AssetData": { - "name": "Text", - "description": "Text", - "properties": "Text", - "supporters": "Vec" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "AuctionId": "u64", - "AuctionItem": { - "asset_id": "TokenId", - "class_id": "ClassId", - "recipient": "AccountId", - "initial_amount": "Balance", - "amount": "Balance", - "start_time": "u32", - "end_time": "u32" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "AuctionInfo": { - "bid": "Option<(AccountId,Balance)>", - "start": "BlockNumber", - "end": "Option" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "RentId": "u64", - "RentalInfo": { - "owner": "AccountId", - "start": "BlockNumber", - "end": "Option", - "price_per_block": "Balance" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "CountryId": "u64", - "CountryCurrencyId": "u32", - "CollectionId": "u64", - "ClassId": "u32", - "TokenId": "u64", - "ClassInfoOf": { - "metadata": "Vec", - "total_issuance": "TokenId", - "owner": "AccountId", - "data": "NftClassData" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "TokenInfoOf": { - "metadata": "Vec", - "owner": "AccountId", - "data": "NftAssetData" + "HttpUrl": { + "payload": "Text" }, - "NftCollectionData": { - "name": "Vec", - "owner": "AccountId", - "properties": "Vec" + "FtpUrl": { + "payload": "Text" }, - "CurrencyId": "u32", - "CurrencyIdOf": "CurrencyId", - "BalanceIdOf": "Balance", - "GroupCollectionId": "u64", - "ClassIdOf": "u32", - "TokenIdOf": "u32", - "SpotId": "u32" - } - } - ] - }, - "bitcountry-parachain": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "AssetInfo": { - "owner": "AccountId", - "data": "AssetData" + "IpfsUrl": { + "payload": "Text" }, - "AssetData": { - "name": "Text", - "description": "Text", - "properties": "Text", - "supporters": "Vec" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "AuctionId": "u64", - "AuctionItem": { - "asset_id": "TokenId", - "class_id": "ClassId", - "recipient": "AccountId", - "initial_amount": "Balance", - "amount": "Balance", - "start_time": "u32", - "end_time": "u32" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "AuctionInfo": { - "bid": "Option<(AccountId,Balance)>", - "start": "BlockNumber", - "end": "Option" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "RentId": "u64", - "RentalInfo": { + "OrderedSet": "Vec", + "Stake": { "owner": "AccountId", - "start": "BlockNumber", - "end": "Option", - "price_per_block": "Balance" + "amount": "Balance" }, - "CountryId": "u64", - "CollectionId": "u64", - "ClassId": "u32", - "TokenId": "u64", - "ClassInfoOf": { - "metadata": "Vec", - "total_issuance": "TokenId", - "owner": "AccountId", - "data": "NftClassData" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "TokenInfoOf": { - "metadata": "Vec", - "owner": "AccountId", - "data": "NftAssetData" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "NftCollectionData": { - "name": "Vec", - "owner": "AccountId", - "properties": "Vec" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "TokenType": { - "_enum": [ - "Transferrable", - "BoundToAddress" - ] + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "NftAssetData": { - "name": "Vec", - "description": "Vec", - "properties": "Vec" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "NftClassData": { - "deposit": "Balance", - "properties": "Vec", - "token_type": "TokenType" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "NetworkId": { - "_enum": { - "Any": "Null", - "Named": "Vec", - "Polkadot": "Null", - "Kusama": "Null" - } + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "CurrencyId": { + "CollatorStatus": { "_enum": { - "Token": "TokenSymbol" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "TokenSymbol": { + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { "_enum": [ - "NUUM", - "AUSD", - "ACA", - "DOT" + "V1", + "V2" ] }, - "CountryCurrencyId": "u32", - "CurrencyIdOf": "CurrencyId", - "BalanceIdOf": "Balance", - "ChainId": { - "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" - } - }, - "XCurrencyId": { - "chain_id": "ChainId", - "currency_id": "CurrencyId" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "GroupCollectionId": "u64", - "ClassIdOf": "u32", - "TokenIdOf": "u32", - "SpotId": "u32" - } - } - ] - }, - "centrifuge": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "AnchorData": { - "id": "Hash", - "docRoot": "Hash", - "anchoredBlock": "u64" + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "BTreeSet", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" }, - "ChainId": "u8", - "chainbridge::ChainId": "u8", - "DepositNonce": "u64", - "Fee": { - "key": "Hash", - "price": "Balance" + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "Vec", + "contentType": "ContentType" }, - "ParachainAccountIdOf": "AccountId", - "PreCommitData": { - "signingRoot": "Hash", - "identity": "AccountId", - "expirationBlock": "u64" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "Proof": { - "leafHash": "Hash", - "sortedHashes": "Vec" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "ProxyType": { + "ContentType": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "_Staking", - "NonProxy" + "ApplicationJson", + "ApplicationJsonLd" ] }, - "ResourceId": "[u8; 32]", - "RelayChainAccountId": "AccountId", - "RootHashOf": "Hash" - } - } - ] - }, - "centrifuge-chain": { - "types": [ + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, { "minmax": [ - 0, - null + 20, + 20 ], "types": { - "AnchorData": { - "id": "H256", - "docRoot": "H256", - "anchoredBlock": "u64" + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "Fee": { - "key": "Hash", - "price": "Balance" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "PreCommitData": { - "signingRoot": "H256", - "identity": "H256", - "expirationBlock": "u64" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "Proof": { - "leafHash": "H256", - "sortedHashes": "H256" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "MultiAccountData": { - "threshold": "u16", - "signatories": "Vec", - "deposit": "Balance", - "depositor": "AccountId" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "ChainId": "u8", - "ResourceId": "[u8; 32]", - "chainbridge::ChainId": "u8", - "DepositNonce": "u64", - "RegistryId": "H160", - "TokenId": "U256", - "AssetId": { - "registryId": "RegistryId", - "tokenId": "TokenId" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "RegistryInfo": { - "ownerCanBurn": "bool", - "fields": "Vec" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "AssetInfo": { - "metadata": "Bytes" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "ProofMint": { - "value": "Bytes", - "property": "Bytes", - "salt": "[u8; 32]", - "hashes": "Vec" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "MintInfo": { - "anchorId": "Hash", - "staticHashes": "[Hash; 3]", - "proofs": "Vec" - } - } - } - ] - }, - "chainx": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "AccountId", - "LookupSource": "AccountId", - "Chain": { - "_enum": [ - "ChainX", - "Bitcoin", - "Ethereum", - "Polkadot" - ] + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "NetworkType": { + "SignatureError": { "_enum": [ - "Mainnet", - "Testnet" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AssetType": { + "KeyError": { "_enum": [ - "Usable", - "Locked", - "Reserved", - "ReservedWithdrawal", - "ReservedDexSpot" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "OrderType": { + "UrlError": { "_enum": [ - "Limit", - "Market" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "Side": { + "InputError": { "_enum": [ - "Buy", - "Sell" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "LockedType": { - "_enum": [ - "Bonded", - "BondedWithdrawal" - ] + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "Memo": "Text", - "AssetInfo": { - "token": "String", - "tokenName": "String", - "chain": "Chain", - "decimals": "Decimals", - "desc": "String" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "TradingPairProfile": { - "id": "TradingPairId", - "currencyPair": "CurrencyPair", - "pipDecimals": "u32", - "tickDecimals": "u32", - "tradable": "bool" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "Order": { - "props": "OrderProperty", - "status": "OrderStatus", - "remaining": "Balance", - "executedIndices": "Vec", - "alreadyFilled": "Balance", - "lastUpdateAt": "BlockNumber" + "HttpUrl": { + "payload": "Text" }, - "TradingPairInfo": { - "latestPrice": "Price", - "lastUpdated": "BlockNumber" + "FtpUrl": { + "payload": "Text" }, - "OrderExecutedInfo": { - "tradingHistoryIdx": "TradingHistoryIndex", - "pairId": "TradingPairId", - "price": "Price", - "maker": "AccountId", - "taker": "AccountId", - "makerOrderId": "OrderId", - "takerOrderId": "OrderId", - "turnover": "Balance", - "executedAt": "BlockNumber" + "IpfsUrl": { + "payload": "Text" }, - "BtcHeaderInfo": { - "header": "BtcHeader", - "height": "u32" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "BtcParams": { - "maxBits": "u32", - "blockMaxFuture": "u32", - "targetTimespanSeconds": "u32", - "targetSpacingSeconds": "u32", - "retargetingFactor": "u32", - "retargetingInterval": "u32", - "minTimespan": "u32", - "maxTimespan": "u32" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "MiningAssetInfo": { - "assetId": "AssetId", - "miningPower": "FixedAssetPower", - "rewardPot": "AccountId", - "rewardPotBalance": "RpcBalance", - "lastTotalMiningWeight": "RpcMiningWeight", - "lastTotalMiningWeightUpdate": "BlockNumber" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "MiningDividendInfo": { - "own": "Balance", - "other": "Balance", - "insufficientStake": "Balance" + "OrderedSet": "BoundedVec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "AssetLedger": { - "lastTotalMiningWeight": "MiningWeight", - "lastTotalMiningWeightUpdate": "BlockNumber" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "MinerLedger": { - "lastMiningWeight": "MiningWeight", - "lastMiningWeightUpdate": "BlockNumber", - "lastClaim": "Option" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "ClaimRestriction": { - "stakingRequirement": "StakingRequirement", - "frequencyLimit": "BlockNumber" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "NominatorInfo": { - "lastRebond": "Option" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "BondRequirement": { - "selfBonded": "Balance", + "Delegator": { + "delegations": "OrderedSet", "total": "Balance" }, - "Unbonded": { - "value": "Balance", - "lockedUntil": "BlockNumber" + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" }, - "ValidatorLedger": { - "totalNomination": "Balance", - "lastTotalVoteWeight": "VoteWeight", - "lastTotalVoteWeightUpdate": "BlockNumber" + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "NominatorLedger": { - "nomination": "Balance", - "lastVoteWeight": "VoteWeight", - "lastVoteWeightUpdate": "BlockNumber", - "unbondedChunks": "Vec" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "ValidatorProfile": { - "registeredAt": "BlockNumber", - "isChilled": "bool", - "lastChilled": "Option", - "referralId": "ReferralId" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "GlobalDistribution": { - "treasury": "u32", - "mining": "u32" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "MiningDistribution": { - "asset": "u32", - "staking": "u32" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "InclusionFee": { - "baseFee": "Balance", - "lenFee": "Balance", - "adjustedWeightFee": "Balance" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "DidVerificationKeysToRevoke", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "minmax": [ + 21, + 22 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "FeeDetails": { - "inclusionFee": "Option>", - "extraFee": "Balance", - "tip": "Balance", - "finalFee": "Balance" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "UnbondedIndex": "u32", - "Token": "Text", - "Desc": "Text", - "AddrStr": "Text", - "HandicapInfo": "Handicap", - "Price": "u128", - "OrderId": "u64", - "TradingPairId": "u32", - "TradingHistoryIndex": "u64", - "PriceFluctuation": "u32", - "BtcAddress": "Text", - "FixedAssetPower": "u32", - "StakingRequirement": "u32", - "Decimals": "u8", - "CurrencyPair": { - "base": "AssetId", - "quote": "AssetId" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "OrderStatus": { + "SignatureError": { "_enum": [ - "Created", - "PartialFill", - "Filled", - "PartialFillAndCanceled", - "Canceled" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AssetId": "u32", - "MiningWeight": "u128", - "VoteWeight": "u128", - "ReferralId": "Text", - "AssetRestriction": { + "KeyError": { "_enum": [ - "Move", - "Transfer", - "Deposit", - "Withdraw", - "DestroyWithdrawal", - "DestroyFree" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "AssetRestrictions": { - "bits": "u32" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "BtcHeader": "Vec", - "BtcNetwork": { + "InputError": { "_enum": [ - "Mainnet", - "Testnet" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "OrderInfo": "Order", - "Amount": "i128", - "AmountOf": "Amount", - "CurrencyIdOf": "AssetId", - "CurrencyId": "AssetId", - "Handicap": { - "highestBid": "Price", - "lowestAsk": "Price" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "OrderProperty": { - "id": "OrderId", - "side": "Side", - "price": "Price", - "amount": "Amount", - "pairId": "TradingPairId", - "submitter": "AccountId", - "orderType": "OrderType", - "createdAt": "BlockNumber" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "TotalAssetInfo": { - "info": "AssetInfo", - "balance": "BTreeMap", - "isOnline": "bool", - "restrictions": "AssetRestrictions" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "WithdrawalRecordId": "u32", - "WithdrawalState": { - "_enum": [ - "Applying", - "Processing", - "NormalFinish", - "RootFinish", - "NormalCancel", - "RootCancel" - ] + "HttpUrl": { + "payload": "Text" }, - "WithdrawalRecord": { - "assetId": "AssetId", - "applicant": "AccountId", - "balance": "Balance", - "addr": "AddrStr", - "ext": "Memo", - "height": "BlockNumber" + "FtpUrl": { + "payload": "Text" }, - "WithdrawalLimit": { - "minimalWithdrawal": "Balance", - "fee": "Balance" + "IpfsUrl": { + "payload": "Text" }, - "TrusteeInfoConfig": { - "minTrusteeCount": "u32", - "maxTrusteeCount": "u32" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "GenericTrusteeIntentionProps": { - "about": "Text", - "hotEntity": "Vec", - "coldEntity": "Vec" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "GenericTrusteeSessionInfo": { - "trusteeList": "Vec", - "threshold": "u16", - "hotAddress": "Vec", - "coldAddress": "Vec" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "ChainAddress": "Vec", - "BtcTrusteeType": "Vec", - "BtcTrusteeAddrInfo": { - "addr": "BtcAddress", - "redeemScript": "Vec" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "BtcTrusteeIntentionProps": { - "about": "Text", - "hotEntity": "BtcTrusteeType", - "coldEntity": "BtcTrusteeType" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "BtcTrusteeSessionInfo": { - "trusteeList": "Vec", - "threshold": "u16", - "hotAddress": "BtcTrusteeAddrInfo", - "coldAddress": "BtcTrusteeAddrInfo" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "BtcTransaction": "Vec", - "BtcPartialMerkleTree": "Vec", - "BtcRelayedTxInfo": { - "blockHash": "H256", - "merkleProof": "BtcPartialMerkleTree" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "BtcHeaderIndex": { - "hash": "H256", - "height": "u32" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "BtcTxResult": { - "_enum": [ - "Success", - "Failure" - ] + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "BtcTxState": { - "txType": "BtcTxType", - "result": "BtcTxResult" + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "BtcTxType": { - "_enum": [ - "Withdrawal", - "Deposit", - "HotAndCold", - "TrusteeTransition", - "Irrelevance" - ] + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "BtcDepositCache": { - "txid": "H256", - "balance": "u64" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "BtcVoteResult": { - "_enum": [ - "Unfinish", - "Finish" - ] + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "BtcWithdrawalProposal": { - "sigState": "BtcVoteResult", - "withdrawalIdList": "Vec", - "tx": "BtcTransaction", - "trusteeList": "Vec<(AccountId, bool)>" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "BtcTxVerifier": { + "DelegationStorageVersion": { "_enum": [ - "Recover", - "RuntimeInterface" + "V1", + "V2" ] }, - "RpcTotalAssetInfo": { - "info": "AssetInfo", - "balance": "BTreeMap", - "isOnline": "bool", - "restrictions": "AssetRestrictions" - }, - "RpcOrder": { - "id": "OrderId", - "side": "Side", - "price": "RpcPrice", - "amount": "RpcBalance", - "pairId": "TradingPairId", - "submitter": "AccountId", - "orderType": "OrderType", - "createdAt": "BlockNumber", - "status": "OrderStatus", - "remaining": "RpcBalance", - "executedIndices": "Vec", - "alreadyFilled": "RpcBalance", - "reservedBalance": "RpcBalance", - "lastUpdateAt": "BlockNumber" - }, - "RpcWithdrawalRecord": { - "assetId": "AssetId", - "applicant": "AccountId", - "balance": "RpcBalance", - "addr": "String", - "ext": "String", - "height": "BlockNumber", - "state": "WithdrawalState" - }, - "RpcMiningDividendInfo": { - "own": "RpcBalance", - "other": "RpcBalance", - "insufficientStake": "RpcBalance" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "RpcInclusionFee": { - "baseFee": "RpcBalance", - "lenFee": "RpcBalance", - "adjustedWeightFee": "RpcBalance" + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" }, - "RpcFeeDetails": { - "inclusionFee": "Option", - "tip": "RpcBalance", - "extraFee": "RpcBalance", - "finalFee": "RpcBalance" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "ValidatorInfo": { - "account": "AccountId", - "registeredAt": "BlockNumber", - "isChilled": "bool", - "lastChilled": "Option", - "totalNomination": "RpcBalance", - "lastTotalVoteWeight": "RpcVoteWeight", - "lastTotalVoteWeightUpdate": "BlockNumber", - "isValidating": "bool", - "selfBonded": "RpcBalance", - "referralId": "String", - "rewardPotAccount": "AccountId", - "rewardPotBalance": "RpcBalance" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "FullPairInfo": { - "baseCurrency": "AssetId", - "highestBid": "RpcPrice", - "id": "TradingPairId", - "latestPrice": "RpcPrice", - "latestPriceUpdatedAt": "BlockNumber", - "lowestAsk": "RpcPrice", - "maxValidBid": "RpcPrice", - "minValidAsk": "RpcPrice", - "pipDecimals": "u32", - "quoteCurrency": "AssetId", - "tickDecimals": "u32", - "tradable": "bool" + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] }, - "Depth": { - "asks": "Vec<(RpcPrice, RpcBalance)>", - "bids": "Vec<(RpcPrice, RpcBalance)>" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "Page": { - "pageIndex": "u32", - "pageSize": "u32", - "data": "Vec" + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] }, - "String": "Text", - "Balance": "u128", - "RpcPrice": "String", - "RpcBalance": "String", - "RpcMiningWeight": "String", - "RpcVoteWeight": "String", - "FullIdentification": "ValidatorId", - "WithdrawalRecordOf": "WithdrawalRecord" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1" } - } - ] - }, - "chainx-parachain": { - "types": [ + }, { "minmax": [ - 0, - null + 23, + 24 ], "types": { - "Address": "AccountId", - "LookupSource": "AccountId", - "Chain": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { "_enum": [ - "ChainX", - "Bitcoin", - "Ethereum", - "Polkadot" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "NetworkType": { + "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": [ - "Mainnet", - "Testnet" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AssetType": { + "KeyError": { "_enum": [ - "Usable", - "Locked", - "Reserved", - "ReservedWithdrawal", - "ReservedDexSpot" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "OrderType": { + "UrlError": { "_enum": [ - "Limit", - "Market" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "Side": { + "InputError": { "_enum": [ - "Buy", - "Sell" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "LockedType": { - "_enum": [ - "Bonded", - "BondedWithdrawal" - ] + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "Memo": "Text", - "AssetInfo": { - "token": "String", - "tokenName": "String", - "chain": "Chain", - "decimals": "Decimals", - "desc": "String" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "TradingPairProfile": { - "id": "TradingPairId", - "currencyPair": "CurrencyPair", - "pipDecimals": "u32", - "tickDecimals": "u32", - "tradable": "bool" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "Order": { - "props": "OrderProperty", - "status": "OrderStatus", - "remaining": "Balance", - "executedIndices": "Vec", - "alreadyFilled": "Balance", - "lastUpdateAt": "BlockNumber" + "HttpUrl": { + "payload": "Text" }, - "TradingPairInfo": { - "latestPrice": "Price", - "lastUpdated": "BlockNumber" + "FtpUrl": { + "payload": "Text" }, - "OrderExecutedInfo": { - "tradingHistoryIdx": "TradingHistoryIndex", - "pairId": "TradingPairId", - "price": "Price", - "maker": "AccountId", - "taker": "AccountId", - "makerOrderId": "OrderId", - "takerOrderId": "OrderId", - "turnover": "Balance", - "executedAt": "BlockNumber" + "IpfsUrl": { + "payload": "Text" }, - "BtcHeaderInfo": { - "header": "BtcHeader", - "height": "u32" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "BtcParams": { - "maxBits": "u32", - "blockMaxFuture": "u32", - "targetTimespanSeconds": "u32", - "targetSpacingSeconds": "u32", - "retargetingFactor": "u32", - "retargetingInterval": "u32", - "minTimespan": "u32", - "maxTimespan": "u32" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "MiningAssetInfo": { - "assetId": "AssetId", - "miningPower": "FixedAssetPower", - "rewardPot": "AccountId", - "rewardPotBalance": "RpcBalance", - "lastTotalMiningWeight": "RpcMiningWeight", - "lastTotalMiningWeightUpdate": "BlockNumber" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "MiningDividendInfo": { - "own": "Balance", - "other": "Balance", - "insufficientStake": "Balance" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "AssetLedger": { - "lastTotalMiningWeight": "MiningWeight", - "lastTotalMiningWeightUpdate": "BlockNumber" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "MinerLedger": { - "lastMiningWeight": "MiningWeight", - "lastMiningWeightUpdate": "BlockNumber", - "lastClaim": "Option" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "ClaimRestriction": { - "stakingRequirement": "StakingRequirement", - "frequencyLimit": "BlockNumber" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "NominatorInfo": { - "lastRebond": "Option" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "BondRequirement": { - "selfBonded": "Balance", + "Delegator": { + "delegations": "Vec", "total": "Balance" }, - "Unbonded": { - "value": "Balance", - "lockedUntil": "BlockNumber" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "ValidatorLedger": { - "totalNomination": "Balance", - "lastTotalVoteWeight": "VoteWeight", - "lastTotalVoteWeightUpdate": "BlockNumber" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "NominatorLedger": { - "nomination": "Balance", - "lastVoteWeight": "VoteWeight", - "lastVoteWeightUpdate": "BlockNumber", - "unbondedChunks": "Vec" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "ValidatorProfile": { - "registeredAt": "BlockNumber", - "isChilled": "bool", - "lastChilled": "Option", - "referralId": "ReferralId" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "GlobalDistribution": { - "treasury": "u32", - "mining": "u32" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "MiningDistribution": { - "asset": "u32", - "staking": "u32" + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" }, - "InclusionFee": { - "baseFee": "Balance", - "lenFee": "Balance", - "adjustedWeightFee": "Balance" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "FeeDetails": { - "inclusionFee": "Option>", - "extraFee": "Balance", - "tip": "Balance", - "finalFee": "Balance" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "UnbondedIndex": "u32", - "Token": "Text", - "Desc": "Text", - "AddrStr": "Text", - "HandicapInfo": "Handicap", - "Price": "u128", - "OrderId": "u64", - "TradingPairId": "u32", - "TradingHistoryIndex": "u64", - "PriceFluctuation": "u32", - "BtcAddress": "Text", - "FixedAssetPower": "u32", - "StakingRequirement": "u32", - "Decimals": "u8", - "CurrencyPair": { - "base": "AssetId", - "quote": "AssetId" + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] }, - "OrderStatus": { + "DidStorageVersion": { "_enum": [ - "Created", - "PartialFill", - "Filled", - "PartialFillAndCanceled", - "Canceled" + "V1", + "V2" ] }, - "AssetId": "u32", - "MiningWeight": "u128", - "VoteWeight": "u128", - "ReferralId": "Text", - "AssetRestriction": { + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "Move", - "Transfer", - "Deposit", - "Withdraw", - "DestroyWithdrawal", - "DestroyFree" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" ] }, - "AssetRestrictions": { - "bits": "u32" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" }, - "BtcHeader": "Vec", - "BtcNetwork": { + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 25, + 2699 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { "_enum": [ - "Mainnet", - "Testnet" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "OrderInfo": "Order", - "Amount": "i128", - "AmountOf": "Amount", - "CurrencyIdOf": "AssetId", - "CurrencyId": "AssetId", - "Handicap": { - "highestBid": "Price", - "lowestAsk": "Price" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "OrderProperty": { - "id": "OrderId", - "side": "Side", - "price": "Price", - "amount": "Amount", - "pairId": "TradingPairId", - "submitter": "AccountId", - "orderType": "OrderType", - "createdAt": "BlockNumber" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "TotalAssetInfo": { - "info": "AssetInfo", - "balance": "BTreeMap", - "isOnline": "bool", - "restrictions": "AssetRestrictions" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "WithdrawalRecordId": "u32", - "WithdrawalState": { + "SignatureError": { "_enum": [ - "Applying", - "Processing", - "NormalFinish", - "RootFinish", - "NormalCancel", - "RootCancel" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "WithdrawalRecord": { - "assetId": "AssetId", - "applicant": "AccountId", - "balance": "Balance", - "addr": "AddrStr", - "ext": "Memo", - "height": "BlockNumber" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "WithdrawalLimit": { - "minimalWithdrawal": "Balance", - "fee": "Balance" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "TrusteeInfoConfig": { - "minTrusteeCount": "u32", - "maxTrusteeCount": "u32" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "GenericTrusteeIntentionProps": { - "about": "Text", - "hotEntity": "Vec", - "coldEntity": "Vec" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "GenericTrusteeSessionInfo": { - "trusteeList": "Vec", - "threshold": "u16", - "hotAddress": "Vec", - "coldAddress": "Vec" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "ChainAddress": "Vec", - "BtcTrusteeType": "Vec", - "BtcTrusteeAddrInfo": { - "addr": "BtcAddress", - "redeemScript": "Vec" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "submitter": "AccountId" }, - "BtcTrusteeIntentionProps": { - "about": "Text", - "hotEntity": "BtcTrusteeType", - "coldEntity": "BtcTrusteeType" + "HttpUrl": { + "payload": "Text" }, - "BtcTrusteeSessionInfo": { - "trusteeList": "Vec", - "threshold": "u16", - "hotAddress": "BtcTrusteeAddrInfo", - "coldAddress": "BtcTrusteeAddrInfo" + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" }, - "BtcTransaction": "Vec", - "BtcPartialMerkleTree": "Vec", - "BtcRelayedTxInfo": { - "blockHash": "H256", - "merkleProof": "BtcPartialMerkleTree" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "BtcHeaderIndex": { - "hash": "H256", - "height": "u32" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "BtcTxResult": { - "_enum": [ - "Success", - "Failure" - ] + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "BtcTxState": { - "txType": "BtcTxType", - "result": "BtcTxResult" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "BtcTxType": { - "_enum": [ - "Withdrawal", - "Deposit", - "HotAndCold", - "TrusteeTransition", - "Irrelevance" - ] + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "BtcDepositCache": { - "txid": "H256", - "balance": "u64" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "BtcVoteResult": { - "_enum": [ - "Unfinish", - "Finish" - ] + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "BtcWithdrawalProposal": { - "sigState": "BtcVoteResult", - "withdrawalIdList": "Vec", - "tx": "BtcTransaction", - "trusteeList": "Vec<(AccountId, bool)>" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "BtcTxVerifier": { - "_enum": [ - "Recover", - "RuntimeInterface" - ] + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "RpcTotalAssetInfo": { - "info": "AssetInfo", - "balance": "BTreeMap", - "isOnline": "bool", - "restrictions": "AssetRestrictions" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "RpcOrder": { - "id": "OrderId", - "side": "Side", - "price": "RpcPrice", - "amount": "RpcBalance", - "pairId": "TradingPairId", - "submitter": "AccountId", - "orderType": "OrderType", - "createdAt": "BlockNumber", - "status": "OrderStatus", - "remaining": "RpcBalance", - "executedIndices": "Vec", - "alreadyFilled": "RpcBalance", - "reservedBalance": "RpcBalance", - "lastUpdateAt": "BlockNumber" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "RpcWithdrawalRecord": { - "assetId": "AssetId", - "applicant": "AccountId", - "balance": "RpcBalance", - "addr": "String", - "ext": "String", - "height": "BlockNumber", - "state": "WithdrawalState" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "RpcMiningDividendInfo": { - "own": "RpcBalance", - "other": "RpcBalance", - "insufficientStake": "RpcBalance" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "RpcInclusionFee": { - "baseFee": "RpcBalance", - "lenFee": "RpcBalance", - "adjustedWeightFee": "RpcBalance" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "RpcFeeDetails": { - "inclusionFee": "Option", - "tip": "RpcBalance", - "extraFee": "RpcBalance", - "finalFee": "RpcBalance" + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" }, - "ValidatorInfo": { - "account": "AccountId", - "registeredAt": "BlockNumber", - "isChilled": "bool", - "lastChilled": "Option", - "totalNomination": "RpcBalance", - "lastTotalVoteWeight": "RpcVoteWeight", - "lastTotalVoteWeightUpdate": "BlockNumber", - "isValidating": "bool", - "selfBonded": "RpcBalance", - "referralId": "String", - "rewardPotAccount": "AccountId", - "rewardPotBalance": "RpcBalance" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "FullPairInfo": { - "baseCurrency": "AssetId", - "highestBid": "RpcPrice", - "id": "TradingPairId", - "latestPrice": "RpcPrice", - "latestPriceUpdatedAt": "BlockNumber", - "lowestAsk": "RpcPrice", - "maxValidBid": "RpcPrice", - "minValidAsk": "RpcPrice", - "pipDecimals": "u32", - "quoteCurrency": "AssetId", - "tickDecimals": "u32", - "tradable": "bool" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "Depth": { - "asks": "Vec<(RpcPrice, RpcBalance)>", - "bids": "Vec<(RpcPrice, RpcBalance)>" + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] }, - "Page": { - "pageIndex": "u32", - "pageSize": "u32", - "data": "Vec" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "String": "Text", - "Balance": "u128", - "RpcPrice": "String", - "RpcBalance": "String", - "RpcMiningWeight": "String", - "RpcVoteWeight": "String", - "FullIdentification": "ValidatorId", - "WithdrawalRecordOf": "WithdrawalRecord" - } - } - ] - }, - "clover": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Amount": "i128", - "Keys": "SessionKeys4", - "AmountOf": "Amount", - "Balance": "u128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "EcdsaSignature": "[u8; 65]", - "EvmAddress": "H160", - "EthereumTxHash": "H256", - "BridgeNetworks": { + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "BSC", - "Ethereum", - "CloverPara" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } } } - } - ] - }, - "clover-rococo": { - "types": [ + }, { "minmax": [ - 0, - null + 2700, + 10409 ], "types": { - "Amount": "i128", - "AmountOf": "Amount", + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", "Balance": "u128", - "CurrencyId": { - "_enum": [ - "CLV", - "CUSDT", - "DOT", - "CETH" - ] + "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" }, - "CurrencyIdOf": "CurrencyId", - "CurrencyTypeEnum": { - "_enum": [ - "CLV", - "CUSDT", - "DOT", - "CETH" - ] + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" }, - "PairKey": "u64", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "Share": "u128", - "OracleKey": "CurrencyId", - "CurrencyInfo": { - "id": "CurrencyId", - "name": "CurrencyTypeEnum" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "ExchangeInfo": { - "balance": "Balance", - "routes": "Vec" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "PoolId": { + "DidPublicKey": { "_enum": { - "Swap": "u64" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "EcdsaSignature": "[u8; 65]", - "EvmAddress": "H160", - "ExitSucceed": { + "DidVerificationKeyRelationship": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "ExitError": { + "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": [ - "StackUnderflow", - "StackOverflow", - "InvalidJump", - "InvalidRange", - "DesignatedInvalid", - "CallTooDeep", - "CreateCollision", - "CreateContractLimit", - "OutOfOffset", - "OutOfGas", - "OutOfFund", - "PCUnderflow", - "CreateEmpty", - "Other" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" ] }, - "ExitFatal": { + "KeyError": { "_enum": [ - "NotSupported", - "UnhandledInterrupt", - "CallErrorAsFatal", - "Other" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "ExitReason": { + "InputError": { "_enum": [ - "Succeed", - "Error", - "Revert", - "Fatal" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" ] - } - } - } - ] - }, - "coinversation": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "AccountId", - "LookupSource": "AccountId" - } - } - ] - }, - "communeai": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Balance": "u64", - "NeuronMetadata": { - "version": "u32", - "ip": "u128", - "port": "u16", - "ipType": "u8", - "uid": "u32", - "netuid": "u16", - "modality": "u8", - "hotkey": "AccountId", - "coldkey": "AccountId", - "active": "u32", - "lastUpdate": "u64", - "priority": "u64", - "stake": "u64", - "rank": "u64", - "trust": "u64", - "consensus": "u64", - "incentive": "u64", - "dividends": "u64", - "emission": "u64", - "bonds": "Vec<(u32, u64)>", - "weights": "Vec<(u32, u32)>" - } - } - } - ] - }, - "competitors-club": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "ClassId": "u64", - "ClassInfoOf": "ClassId", - "BalanceOf": "Balance", - "BalanceReservableOf": "BalanceOf", - "Moment": "u64", - "Place": { - "spot": "u32", - "payout": "Balance" }, - "Competitor": { - "vie_id": "[u8;16]", - "staked": "bool", - "submitted_winner": "bool" + "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" }, - "Vie": { - "operator": "AccountId", - "stake": "Balance", - "places": "Vec", - "time": "Moment", - "competitors": "Vec", - "memo": "Vec" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "VieOf": "Vie", - "VieReq": { - "stake": "Balance", - "places": "Vec", - "competitors": "Vec", - "memo": "Vec" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "VieRequestOf": "VieReq", - "Participants": { - "AccountId": "[u8;16]" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "Operators": { - "AccountId": "[u8;16]" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "StandingReq": { - "competitor": "AccountId", - "spot": "u32" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "PodiumReq": { - "champion": "AccountId", - "podium": "Vec" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "PodiumReqOf": "PodiumReq", - "Trophy": { - "trophy": "[u8; 16]", - "competitors": "Vec", - "stake": "Balance", - "memo": "Vec", - "time": "u64", - "podium": "Vec" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "TokenId": "u64", - "TokenInfo": { - "metadata": "Vec", - "owner": "AccountId", - "data": "Trophy" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "TokenInfoOf": "TokenInfo" - } - } - ] - }, - "continuum-runtime": { - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u64", - "AuctionIdOf": "AuctionId", - "BalanceIdOf": "Balance", - "MetaverseId": "u64", - "FungibleTokenId": { - "_enum": { - "NativeToken": "TokenId", - "FungibleToken": "TokenId", - "DEXShare": "(TokenId, TokenId)", - "MiningResource": "TokenId" - } - }, - "CurrencyIdOf": "FungibleTokenId", - "TradingPairStatus": { - "_enum": [ - "NotEnabled", - "Enabled" - ] - }, - "TradingPair": "(FungibleTokenId,FungibleTokenId)", - "TokenId": "u64", - "SpotId": "u32", - "ItemId": { - "_enum": { - "NFT": "AssetId", - "Spot": "(u64, MetaverseId)", - "Metaverse": "MetaverseId", - "Block": "u64" - } - }, - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "AccountInfo": "AccountInfoWithTripleRefCount", - "AssetInfo": { - "owner": "AccountId", - "data": "AssetData" - }, - "AssetId": "u64", - "AssetData": { - "name": "Text", - "description": "Text", - "properties": "Text", - "supporters": "Vec" - }, - "AuctionItem": { - "itemId": "ItemId", - "recipient": "AccountId", - "initialAmount": "Balance", - "amount": "Balance", - "startTime": "u32", - "endTime": "u32", - "auctionType": "AuctionType", - "listingLevel": "ListingLevel", - "currencyId": "FungibleTokenId" - }, - "AuctionInfo": { - "bid": "Option<(AccountId,Balance)>", - "start": "BlockNumber", - "end": "Option" - }, - "AuctionType": { - "_enum": [ - "Auction", - "BuyNow" - ] - }, - "RentId": "u64", - "RentalInfo": { - "owner": "AccountId", - "start": "BlockNumber", - "end": "Option", - "price_per_block": "Balance" - }, - "CountryId": "u64", - "CollectionId": "u64", - "ClassId": "u32", - "ClassInfoOf": { - "metadata": "Vec", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "NftClassData" - }, - "TokenInfoOf": { - "metadata": "Vec", - "owner": "AccountId", - "data": "NftAssetData" - }, - "NftCollectionData": { - "name": "Vec", - "owner": "AccountId", - "properties": "Vec" - }, - "NftGroupCollectionData": { - "name": "Vec", - "properties": "Vec" - }, - "NftAssetData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "NftClassData": { - "deposit": "Balance", - "attributes": "Attributes", - "tokenType": "TokenType", - "collectionType": "CollectionType", - "totalSupply": "u64", - "initialSupply": "u64" - }, - "NetworkId": { - "_enum": { - "Any": "Null", - "Named": "Vec", - "Polkadot": "Null", - "Kusama": "Null" - } - }, - "CollectionType": { - "_enum": [ - "Collectable", - "Wearable", - "Executable" - ] - }, - "CurrencyId": "SocialTokenCurrencyId", - "TokenSymbol": { - "_enum": [ - "NUUM", - "AUSD", - "ACA", - "DOT" - ] - }, - "CountryCurrencyId": "u32", - "ChainId": { - "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" - } - }, - "XCurrencyId": { - "chain_id": "ChainId", - "currency_id": "CurrencyId" - }, - "GroupCollectionId": "u64", - "ClassIdOf": "ClassId", - "TokenIdOf": "TokenId", - "PoolId": "u32", - "SocialTokenCurrencyId": { - "_enum": { - "NativeToken": "TokenId", - "FungibleToken": "TokenId", - "DEXShare": "(TokenId, TokenId)", - "MiningResource": "TokenId" - } - }, - "Country": { - "owner": "AccountId", - "metadata": "Text", - "currency_id": "SocialTokenCurrencyId" - }, - "Ticker": "Vec", - "Token": { - "ticker": "Ticker", - "total_supply": "Balance" - }, - "CountryFund": { - "vault": "AccountId", - "value": "u128", - "backing": "u128", - "currency_id": "SocialTokenCurrencyId" - }, - "LandId": "u64", - "BlindBoxId": "u64", - "BlindBoxType": { - "_enum": [ - "KSM", - "NUUM", - "MainnetNFTHat", - "MainnetNFTJacket", - "MainnetNFTPants", - "MainnetNFTShoes", - "CollectableNFT" - ] - }, - "BlindBoxRewardItem": { - "recipient": "AccountId", - "amount": "u32", - "blindbox_type": "BlindBoxType" - }, - "TokenType": { - "_enum": [ - "Transferable", - "BoundToAddress" - ] - }, - "ListingLevel": { - "_enum": { - "Global": "Null", - "Local": "MetaverseId" - } - }, - "ResourceId": "[u8; 32]", - "VoteThreshold": { - "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "RelativeMajority" - ] - }, - "ProposalId": "u64", - "ReferendumId": "u64", - "CountryParameter": { - "_enum": { - "MaxProposals": "u8", - "SetReferendumJury": "AccountId" - } - }, - "PreimageStatus": { - "_enum": { - "Missing": "BlockNumber", - "Available": { - "data": "Vec", - "provider": "AccountId", - "deposit": "Balance", - "since": "BlockNumber", - "expiry": "Option" - } - } - }, - "ReferendumParameters": { - "voting_threshold": "Option", - "min_proposal_launch_period": "BlockNumber", - "voting_period": "BlockNumber", - "enactment_period": "BlockNumber", - "local_vote_locking_period": "BlockNumber", - "max_proposals_per_metaverse": "u8" - }, - "Vote": { - "aye": "bool" - }, - "Tally": { - "ayes": "Balance", - "nays": "Balance", - "turnout": "Balance" - }, - "VotingRecord": { - "votes": "Vec<(ReferendumId,Vote)>", - "prior": "PriorLock" - }, - "ProposalInfo": { - "proposed_by": "AccountId", - "hash": "Hash", - "description": "Vec", - "referendum_launch_block": "BlockNumber" - }, - "ReferendumStatus": { - "end": "BlockNumber", - "metaverse": "MetaverseId", - "proposal": "ProposalId", - "tally": "Tally", - "threshold": "Option" - }, - "RoundIndex": "u32", - "MetaverseMetadata": "Vec", - "VestingScheduleOf": "VestingSchedule", - "VestingSchedule": { - "token": "FungibleTokenId", - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" - }, - "NFTClassId": "u32", - "Attributes": "BTreeMap,Vec>", - "EstateId": "u64", - "Coordinates": "Vec<(i32,i32)>", - "Coordinate": "(i32,i32)", - "NewBound": "(i32,i32)", - "UndeployedLandBlockId": "u128", - "LandUnits": "Vec<(i32, i32)>", - "UndeployedLandBlockType": { - "_enum": [ - "Transferable", - "BoundToAddress" - ] - }, - "MetaverseInfo": { - "owner": "AccountId", - "metadata": "MetaverseMetadata", - "currencyId": "FungibleTokenId" - }, - "OrmlAccountData": { - "free": "Balance", - "frozen": "Balance", - "reserved": "Balance" - }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" - }, - "OrmlVestingSchedule": { - "token": "FungibleTokenId", - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Balance" - }, - "Candidate": { - "id": "AccountId", - "fee": "Perbill", - "bond": "Balance", - "nominators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Idle": "Null", - "Leaving": "RoundIndex" - } - }, - "RangeBalance": { - "min": "Balance", - "ideal": "Balance", - "max": "Balance" - }, - "RangePerbill": { - "min": "Perbill", - "ideal": "Perbill", - "max": "Perbill" - }, - "InflationInfo": { - "expect": "RangeBalance", - "annual": "RangePerbill", - "round": "RangePerbill" - }, - "OrderedSet": "Vec", - "Collator": { - "id": "AccountId", - "bond": "Balance", - "nominators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorSnapshot": { - "bond": "Balance", - "nominators": "Vec", - "total": "Balance" - }, - "RoundInfo": { - "current": "RoundIndex", - "first": "BlockNumber", - "length": "u32" - }, - "Nominator": { - "nominations": "Vec", - "total": "Balance" - }, - "Bond": { - "owner": "AccountId", - "amount": "Balance" - }, - "ValidatorStatus": { - "_enum": { - "Active": "Null", - "Idle": "Null", - "Leaving": "RoundIndex" - } - }, - "MetaverseToken": { - "ticker": "Ticker", - "totalSupply": "Balance" - }, - "MetaverseParameter": { - "_enum": { - "MaxProposals": "u8", - "SetReferendumJury": "AccountId" - } - }, - "Delegations": { - "votes": "Balance", - "capital": "Balance" - }, - "Conviction": { - "_enum": [ - "None", - "Locked1x", - "Locked2x", - "Locked3x", - "Locked4x", - "Locked5x", - "Locked6x" - ] - }, - "PalletGovernanceVote": { - "aye": "bool", - "balance": "Balance", - "conviction": "Conviction" - }, - "PriorLock": "(BlockNumber, Balance)", - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": { - "passed": "bool", - "end": "BlockNumber" - } - } - }, - "PowerAmount": "u64", - "ElementId": "u32", - "GeneratorNftId": "(ClassId, TokenId)", - "DistributorNftId": "(ClassId, TokenId)" - }, - "contracts": { - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "Address": "AccountId", - "Keys": "SessionKeys2", - "LookupSource": "AccountId", - "Schedule": "ScheduleTo258" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } } }, { "minmax": [ - 9, - null - ], - "types": { - "Keys": "SessionKeys2" - } - } - ] - }, - "crown-sterling": { - "types": [ - { - "minmax": [ - 0, - null + 10410, + 10719 ], "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", "LookupSource": "MultiAddress", - "AccountInfo": { - "nonce": "Index", - "consumers": "RefCount", - "providers": "RefCount", - "data": "AccountData" + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" }, - "Balance": "u128", - "BalanceOf": "Balance", - "AuthorityOf": "AccountId", - "PaymentId": "[u8;16]", - "Payment": { - "id": "PaymentId", - "account_id": "AccountId", - "success_url": "Vec", - "failure_url": "Vec", - "paid": "bool", - "pay_to": "AccountId" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" }, - "PeerId": "(Vec)", - "Amendment": { - "statement": "Vec", - "owners": "Vec" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "BlockNumber": "u32", - "VestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "period_count": "BlockNumber", - "per_period": "Compact" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "VestingScheduleOf": "VestingSchedule" - } - } - ] - }, - "crust": { - "rpc": {}, - "types": [ - { - "minmax": [ - null, - null - ], - "types": { - "AccountInfo": "AccountInfoWithProviders", - "Address": "AccountId", - "AddressInfo": "Vec", - "LookupSource": "AccountId", - "EraBenefits": { - "total_fee_reduction_quota": "Compact", - "total_market_active_funds": "Compact", - "used_fee_reduction_quota": "Compact", - "active_era": "Compact" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "FundsType": { + "DidVerificationKeyRelationship": { "_enum": [ - "SWORK", - "MARKET" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "FundsUnlockChunk": { - "value": "Compact", - "era": "Compact" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "MarketBenefit": { - "total_funds": "Compact", - "active_funds": "Compact", - "used_fee_reduction_quota": "Compact", - "file_reward": "Compact", - "refreshed_at": "Compact", - "unlocking_funds": "Vec>" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "SworkBenefit": { - "total_funds": "Compact", - "active_funds": "Compact", - "total_fee_reduction_count": "u32", - "used_fee_reduction_count": "u32", - "refreshed_at": "Compact", - "unlocking_funds": "Vec>" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } }, - "BridgeChainId": "u8", - "ChainId": "u8", - "ResourceId": "H256", - "DepositNonce": "u64", - "ProposalStatus": { + "SignatureError": { "_enum": [ - "Initiated", - "Approved", - "Rejected" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" ] }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "status": "ProposalStatus", - "expiry": "BlockNumber" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "Erc721Token": { - "id": "TokenId", - "metadata": "Vec" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] }, - "TokenId": "U256", - "ETHAddress": "Vec", - "EthereumTxHash": "H256", - "Lock": { - "total": "Compact", - "last_unlock_at": "BlockNumber", - "lock_type": "LockType" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "LockType": { - "delay": "BlockNumber", - "lock_period": "u32" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" }, - "FileInfo": { - "file_size": "u64", - "spower": "u64", - "expired_at": "BlockNumber", - "calculated_at": "BlockNumber", - "amount": "Compact", - "prepaid": "Compact", - "reported_replica_count": "u32", - "replicas": "Vec>" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" }, - "FileInfoV2": { - "file_size": "u64", - "spower": "u64", - "expired_at": "BlockNumber", - "calculated_at": "BlockNumber", - "amount": "Compact", - "prepaid": "Compact", - "reported_replica_count": "u32", - "remaining_paid_count": "u32", - "replicas": "BTreeMap>" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "Replica": { - "who": "AccountId", - "valid_at": "BlockNumber", - "anchor": "SworkerAnchor", - "is_reported": "bool", - "created_at": "Option" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "Guarantee": { - "targets": "Vec>", - "total": "Compact", - "submitted_in": "EraIndex", - "suppressed": "bool" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "ValidatorPrefs": { - "guarantee_fee": "Compact" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "Group": { - "members": "BTreeSet", - "allowlist": "BTreeSet" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "IASSig": "Vec", - "Identity": { - "anchor": "SworkerAnchor", - "punishment_deadline": "u64", - "group": "Option" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "ISVBody": "Vec", - "MerkleRoot": "Vec", - "ReportSlot": "u64", - "PKInfo": { - "code": "SworkerCode", - "anchor": "Option" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "SworkerAnchor": "Vec", - "SworkerCert": "Vec", - "SworkerCode": "Vec", - "SworkerPubKey": "Vec", - "SworkerSignature": "Vec", - "WorkReport": { - "report_slot": "u64", - "spower": "u64", - "free": "u64", - "reported_files_size": "u64", - "reported_srd_root": "MerkleRoot", - "reported_files_root": "MerkleRoot" + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10720, + 10750 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + } + } + }, + { + "minmax": [ + 10800, + 10899 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" } } - } - ], - "alias": {} - }, - "crust-parachain": { - "rpc": {}, - "types": [ + }, { "minmax": [ - null, - null + 10900, + 11199 ], "types": { - "AccountInfo": "AccountInfoWithProviders", - "Address": "AccountId", - "AddressInfo": "Vec", - "LookupSource": "AccountId", - "EraBenefits": { - "total_fee_reduction_quota": "Compact", - "total_market_active_funds": "Compact", - "used_fee_reduction_quota": "Compact", - "active_era": "Compact" + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" }, - "FundsType": { + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } + }, + "PublicCredentialError": { "_enum": [ - "SWORK", - "MARKET" + "InvalidSubjectId" ] }, - "FundsUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "MarketBenefit": { - "total_funds": "Compact", - "active_funds": "Compact", - "used_fee_reduction_quota": "Compact", - "file_reward": "Compact", - "refreshed_at": "Compact", - "unlocking_funds": "Vec>" + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 11200, + null + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" }, - "SworkBenefit": { - "total_funds": "Compact", - "active_funds": "Compact", - "total_fee_reduction_count": "u32", - "used_fee_reduction_count": "u32", - "refreshed_at": "Compact", - "unlocking_funds": "Vec>" + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" + } }, - "BridgeChainId": "u8", - "ChainId": "u8", - "ResourceId": "H256", - "DepositNonce": "u64", - "ProposalStatus": { + "PublicCredentialError": { "_enum": [ - "Initiated", - "Approved", - "Rejected" + "InvalidSubjectId" ] }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "status": "ProposalStatus", - "expiry": "BlockNumber" + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" }, - "Erc721Token": { - "id": "TokenId", - "metadata": "Vec" + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" }, - "TokenId": "U256", - "ETHAddress": "Vec", - "EthereumTxHash": "H256", - "Lock": { - "total": "Compact", - "last_unlock_at": "BlockNumber", - "lock_type": "LockType" + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" }, - "LockType": { - "delay": "BlockNumber", - "lock_period": "u32" + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" }, - "FileInfo": { - "file_size": "u64", - "spower": "u64", - "expired_at": "BlockNumber", - "calculated_at": "BlockNumber", - "amount": "Compact", - "prepaid": "Compact", - "reported_replica_count": "u32", - "replicas": "Vec>" + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" + } }, - "FileInfoV2": { - "file_size": "u64", - "spower": "u64", - "expired_at": "BlockNumber", - "calculated_at": "BlockNumber", - "amount": "Compact", - "prepaid": "Compact", - "reported_replica_count": "u32", - "remaining_paid_count": "u32", - "replicas": "BTreeMap>" + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" }, - "Replica": { - "who": "AccountId", - "valid_at": "BlockNumber", - "anchor": "SworkerAnchor", - "is_reported": "bool", - "created_at": "Option" + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" + } }, - "Guarantee": { - "targets": "Vec>", - "total": "Compact", - "submitted_in": "EraIndex", - "suppressed": "bool" + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "ValidatorPrefs": { - "guarantee_fee": "Compact" + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" }, - "Group": { - "members": "BTreeSet", - "allowlist": "BTreeSet" + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" + } }, - "IASSig": "Vec", - "Identity": { - "anchor": "SworkerAnchor", - "punishment_deadline": "u64", - "group": "Option" + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] }, - "ISVBody": "Vec", - "MerkleRoot": "Vec", - "ReportSlot": "u64", - "PKInfo": { - "code": "SworkerCode", - "anchor": "Option" + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] }, - "SworkerAnchor": "Vec", - "SworkerCert": "Vec", - "SworkerCode": "Vec", - "SworkerPubKey": "Vec", - "SworkerSignature": "Vec", - "WorkReport": { - "report_slot": "u64", - "spower": "u64", - "free": "u64", - "reported_files_size": "u64", - "reported_srd_root": "MerkleRoot", - "reported_files_root": "MerkleRoot" + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] } } } - ], - "alias": {} - }, - "cumulus-test-parachain": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "AccountId", - "LookupSource": "AccountId" - } - } ] }, - "curio-mainnet": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - } - ], + "kilt-kestrel": { "runtime": { - "Staking": [ + "DidApi": [ { "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" + "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" }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", + "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": "DidApiAccountId" } ], - "type": "Balance" + "type": "Option" }, - "get_sorted_proposed_candidates": { - "description": "Provides a sorted list of collators most suited for given delegator's stake amount determined with some heuristic algorithm", + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", "params": [ { - "name": "balance", - "type": "Balance" + "name": "did", + "type": "AccountId32" } ], - "type": "Vec" + "type": "Option" } }, "version": 1 - } - ] - } - }, - "curio-testnet": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - } - ], - "runtime": { - "Staking": [ + }, { "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" + "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" }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", + "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": "DidApiAccountId" } ], - "type": "Balance" + "type": "Option" }, - "get_sorted_proposed_candidates": { - "description": "Provides a sorted list of collators most suited for given delegator's stake amount determined with some heuristic algorithm", + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", "params": [ { - "name": "balance", - "type": "Balance" + "name": "did", + "type": "AccountId32" } ], - "type": "Vec" + "type": "Option" } }, - "version": 1 + "version": 2 } - ] - } - }, - "data-avail": { - "rpc": { - "kate": { - "blockLength": { - "description": "Get Block Length", - "params": [ - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "BlockLength" - }, - "queryProof": { - "description": "Generate the kate proof for the given `cells`", - "params": [ - { - "name": "cells", - "type": "Vec" + ], + "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" }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec" - }, - "queryAppData": { - "description": "Fetches app data rows for the given app", - "params": [ - { - "name": "app_id", - "type": "AppId" + "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" }, - { - "name": "at", - "type": "Hash", - "isOptional": true + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" } - ], - "type": "Vec>>" + }, + "version": 1 }, - "queryDataProof": { - "description": "Generate the data proof for the given `transaction_index`", - "params": [ - { - "name": "transaction_index", - "type": "u32" + { + "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" }, - { - "name": "at", - "type": "Hash", - "isOptional": true + "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" } - ], - "type": "DataProof" - }, - "queryDataProofV2": { - "description": "Generate the data proof for the given `transaction_index`", - "params": [ - { - "name": "transaction_index", - "type": "u32" + }, + "version": 2 + } + ], + "PublicCredentials": [ + { + "methods": { + "get_by_id": { + "description": "Return the public credential with the specified ID, if found.", + "params": [ + { + "name": "credential_id", + "type": "Hash" + } + ], + "type": "Option" }, - { - "name": "at", - "type": "Hash", - "isOptional": true + "get_by_subject": { + "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", + "params": [ + { + "name": "subject", + "type": "Text" + }, + { + "name": "filter", + "type": "Option" + } + ], + "type": "Result, PublicCredentialError>" } - ], - "type": "ProofResponse" + }, + "version": 1 } - } + ] }, "types": [ { "minmax": [ 0, - null + 8 ], "types": { - "AppId": "Compact", - "DataLookupIndexItem": { - "appId": "AppId", - "start": "Compact" - }, - "DataLookup": { - "size": "Compact", - "index": "Vec" - }, - "KateCommitment": { - "rows": "Compact", - "cols": "Compact", - "commitment": "Vec", - "dataRoot": "H256" + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithDualRefCount", + "Address": "AccountId", + "Attestation": { + "ctypeHash": "Hash", + "attester": "AccountId", + "delegationId": "Option", + "revoked": "bool" }, - "V1HeaderExtension": { - "appLookup": "DataLookup", - "commitment": "KateCommitment" + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" }, - "V2HeaderExtension": { - "appLookup": "DataLookup", - "commitment": "KateCommitment" + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" }, - "V3HeaderExtension": { - "appLookup": "DataLookup", - "commitment": "KateCommitment" + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" }, - "VTHeaderExtension": { - "newField": "Vec", - "commitment": "KateCommitment", - "appLookup": "DataLookup" + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" }, - "HeaderExtension": { + "ChainId": { "_enum": { - "V1": "V1HeaderExtension", - "V2": "V2HeaderExtension", - "V3": "V3HeaderExtension", - "VTest": "VTHeaderExtension" + "RelayChain": "Null", + "ParaChain": "ParaId" } }, - "DaHeader": { - "parentHash": "Hash", - "number": "Compact", - "stateRoot": "Hash", - "extrinsicsRoot": "Hash", - "digest": "Digest", - "extension": "HeaderExtension" - }, - "Header": "DaHeader", - "CheckAppIdExtra": { - "appId": "AppId" - }, - "CheckAppIdTypes": {}, - "CheckAppId": { - "extra": "CheckAppIdExtra", - "types": "CheckAppIdTypes" - }, - "BlockLengthColumns": "Compact", - "BlockLengthRows": "Compact", - "BlockLength": { - "max": "PerDispatchClass", - "cols": "BlockLengthColumns", - "rows": "BlockLengthRows", - "chunkSize": "Compact" - }, - "PerDispatchClass": { - "normal": "u32", - "operational": "u32", - "mandatory": "u32" - }, - "DataProof": { - "root": "H256", - "proof": "Vec", - "numberOfLeaves": "Compact", - "leafIndex": "Compact", - "leaf": "H256" - }, - "DataProofV2": { - "dataRoot": "H256", - "blobRoot": "H256", - "bridgeRoot": "H256", - "proof": "Vec", - "numberOfLeaves": "Compact", - "leafIndex": "Compact", - "leaf": "H256" - }, - "ProofResponse": { - "dataProof": "DataProofV2", - "message": "Option" - }, - "Message": { - "messageType": "MessageType", - "from": "H256", - "to": "H256", - "originDomain": "u32", - "destinationDomain": "u32", - "data": "Vec", - "id": "u64" + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } }, - "MessageType": { - "_enum": [ - "ArbitraryMessage", - "FungibleToken" - ] + "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 + } }, - "Cell": { - "row": "BlockLengthRows", - "col": "BlockLengthColumns" + "ReferendumInfo": { + "_enum": { + "Ongoing": "ReferendumStatus", + "Finished": "ReferendumInfoFinished" + } } } - } - ], - "signedExtensions": { - "CheckAppId": { - "extrinsic": { - "appId": "AppId" - }, - "payload": {} - } - } - }, - "datahighway": { - "types": [ + }, { "minmax": [ - 0, - null + 9, + 9 ], "types": { - "AccountInfo": "AccountInfoWithDualRefCount", - "Date": "i64", - "Keys": "SessionKeys2", + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", "LookupSource": "MultiAddress", - "RoamingOperator": "[u8; 16]", - "RoamingOperatorIndex": "u64", - "RoamingNetwork": "[u8; 16]", - "RoamingNetworkIndex": "u64", - "RoamingOrganization": "[u8; 16]", - "RoamingOrganizationIndex": "u64", - "RoamingNetworkServer": "[u8; 16]", - "RoamingNetworkServerIndex": "u64", - "RoamingDevice": "[u8; 16]", - "RoamingDeviceIndex": "u64", - "RoamingRoutingProfile": "[u8; 16]", - "RoamingRoutingProfileIndex": "u64", - "RoamingRoutingProfileAppServer": "Text", - "RoamingServiceProfile": "[u8; 16]", - "RoamingServiceProfileIndex": "u64", - "RoamingServiceProfileUplinkRate": "u32", - "RoamingServiceProfileDownlinkRate": "u32", - "RoamingAccountingPolicy": "[u8; 16]", - "RoamingAccountingPolicyIndex": "u64", - "RoamingAccountingPolicyType": "Text", - "RoamingAccountingPolicyUplinkFeeFactor": "u32", - "RoamingAccountingPolicyDownlinkFeeFactor": "u32", - "RoamingAccountingPolicySetting": { - "policy_type": "Text", - "subscription_fee": "Balance", - "uplink_fee_factor": "u32", - "downlink_fee_factor": "u32" - }, - "RoamingAgreementPolicy": "[u8; 16]", - "RoamingAgreementPolicyIndex": "u64", - "RoamingAgreementPolicyActivationType": "Text", - "RoamingAgreementPolicySetting": { - "policy_activation_type": "Text", - "policy_expiry_block": "Moment" - }, - "RoamingNetworkProfile": "[u8; 16]", - "RoamingNetworkProfileIndex": "u64", - "RoamingDeviceProfile": "[u8; 16]", - "RoamingDeviceProfileIndex": "u64", - "RoamingDeviceProfileDevAddr": "Text", - "RoamingDeviceProfileDevEUI": "Text", - "RoamingDeviceProfileJoinEUI": "Text", - "RoamingDeviceProfileVendorID": "Text", - "RoamingDeviceProfileSetting": { - "device_profile_devaddr": "Text", - "device_profile_deveui": "Text", - "device_profile_joineui": "Text", - "device_profile_vendorid": "Text" - }, - "RoamingSession": "[u8; 16]", - "RoamingSessionIndex": "u64", - "RoamingSessionJoinRequest": { - "session_network_server_id": "Moment", - "session_join_requested_at_block": "Moment" - }, - "RoamingSessionJoinAccept": { - "session_join_request_accept_expiry": "Moment", - "session_join_request_accept_accepted_at_block": "Moment" - }, - "RoamingBillingPolicy": "[u8; 16]", - "RoamingBillingPolicyIndex": "u64", - "RoamingBillingPolicySetting": { - "policy_next_billing_at_block": "Moment", - "policy_frequency_in_blocks": "Moment" - }, - "RoamingChargingPolicy": "[u8; 16]", - "RoamingChargingPolicyIndex": "u64", - "RoamingChargingPolicySetting": { - "policy_next_charging_at_block": "Moment", - "policy_delay_after_billing_in_blocks": "u64" - }, - "RoamingPacketBundle": "[u8; 16]", - "RoamingPacketBundleIndex": "u64", - "RoamingPacketBundleReceivedAtHome": "bool", - "RoamingPacketBundleReceivedPacketsCount": "u64", - "RoamingPacketBundleReceivedPacketsOkCount": "u64", - "RoamingPacketBundleExternalDataStorageHash": "Hash", - "RoamingPacketBundleReceiver": { - "packet_bundle_received_at_home": "bool", - "packet_bundle_received_packets_count": "u64", - "packet_bundle_received_packets_ok_count": "u64", - "packet_bundle_received_started_at_block": "Moment", - "packet_bundle_received_ended_at_block": "Moment", - "packet_bundle_external_data_storage_hash": "Hash" + "CtypeCreatorOf": "DidIdentifierOf", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "DidIdentifierOf", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "MiningRatesToken": "[u8; 16]", - "MiningRatesTokenIndex": "u64", - "MiningRatesTokenTokenDOT": "u32", - "MiningRatesTokenTokenMXC": "u32", - "MiningRatesTokenTokenIOTA": "u32", - "MiningRatesTokenMaxToken": "u32", - "MiningRatesTokenMaxLoyalty": "u32", - "MiningRatesTokenSetting": { - "token_token_mxc": "u32", - "token_token_iota": "u32", - "token_token_dot": "u32", - "token_max_token": "u32", - "token_max_loyalty": "u32" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "MiningRatesHardware": "[u8; 16]", - "MiningRatesHardwareIndex": "u64", - "MiningRatesHardwareSecure": "u32", - "MiningRatesHardwareInsecure": "u32", - "MiningRatesHardwareMaxHardware": "u32", - "MiningRatesHardwareCategory1MaxTokenBonusPerGateway": "u32", - "MiningRatesHardwareCategory2MaxTokenBonusPerGateway": "u32", - "MiningRatesHardwareCategory3MaxTokenBonusPerGateway": "u32", - "MiningRatesHardwareSetting": { - "hardware_hardware_secure": "u32", - "hardware_hardware_insecure": "u32", - "hardware_max_hardware": "u32", - "hardware_category_1_max_token_bonus_per_gateway": "u32", - "hardware_category_2_max_token_bonus_per_gateway": "u32", - "hardware_category_3_max_token_bonus_per_gateway": "u32" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "MiningSettingToken": "[u8; 16]", - "MiningSettingTokenIndex": "u64", - "MiningSettingTokenType": "Text", - "MiningSettingTokenLockAmount": "u64", - "MiningSettingTokenSetting": { - "token_type": "Text", - "token_lock_amount": "u64", - "token_lock_start_block": "Moment", - "token_lock_interval_blocks": "Moment" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } }, - "MiningSettingTokenRequirementsSetting": { - "token_type": "Text", - "token_lock_min_amount": "u64", - "token_lock_min_blocks": "u32" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "MiningSettingHardware": "[u8; 16]", - "MiningSettingHardwareIndex": "u64", - "MiningSettingHardwareSecure": "bool", - "MiningSettingHardwareType": "Text", - "MiningSettingHardwareID": "u64", - "MiningSettingHardwareDevEUI": "u64", - "MiningSettingHardwareSetting": { - "hardware_secure": "bool", - "hardware_type": "Text", - "hardware_id": "u64", - "hardware_dev_eui": "u64", - "hardware_lock_start_block": "Moment", - "hardware_lock_interval_blocks": "Moment" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "MiningSamplingToken": "[u8; 16]", - "MiningSamplingTokenIndex": "u64", - "MiningSamplingTokenSampleLockedAmount": "u64", - "MiningSamplingTokenSetting": { - "token_sample_block": "Moment", - "token_sample_locked_amount": "u64" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "MiningSamplingHardware": "[u8; 16]", - "MiningSamplingHardwareIndex": "u64", - "MiningSamplingHardwareSampleHardwareOnline": "u64", - "MiningSamplingHardwareSetting": { - "hardware_sample_block": "Moment", - "hardware_sample_hardware_online": "bool" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } }, - "MiningEligibilityToken": "[u8; 16]", - "MiningEligibilityTokenIndex": "u64", - "MiningEligibilityTokenCalculatedEligibility": "u64", - "MiningEligibilityTokenLockedPercentage": "u32", - "MiningEligibilityTokenAuditorAccountID": "u64", - "MiningEligibilityTokenResult": { - "token_calculated_eligibility": "u64", - "token_token_locked_percentage": "u32", - "token_date_audited": "Moment", - "token_auditor_account_id": "u64" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" + } }, - "MiningEligibilityHardware": "[u8; 16]", - "MiningEligibilityHardwareIndex": "u64", - "MiningEligibilityHardwareCalculatedEligibility": "u64", - "MiningEligibilityHardwareUptimePercentage": "u32", - "MiningEligibilityHardwareAuditorAccountID": "u64", - "MiningEligibilityHardwareResult": { - "hardware_calculated_eligibility": "u64", - "hardware_uptime_percentage": "u32", - "hardware_block_audited": "Moment", - "hardware_auditor_account_id": "u64" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "MiningEligibilityProxy": "[u8; 16]", - "MiningEligibilityProxyIndex": "u64", - "MiningEligibilityProxyRewardRequest": { - "proxy_claim_requestor_account_id": "AccountId", - "proxy_claim_total_reward_amount": "Balance", - "proxy_claim_timestamp_redeemed": "Moment" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "MiningEligibilityProxyClaimRewardeeData": { - "proxy_claim_rewardee_account_id": "AccountId", - "proxy_claim_reward_amount": "Balance", - "proxy_claim_start_date": "Date", - "proxy_claim_end_date": "Date" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "RewardeeData": { - "proxy_claim_rewardee_account_id": "AccountId", - "proxy_claim_reward_amount": "Balance", - "proxy_claim_start_date": "Date", - "proxy_claim_end_date": "Date" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "RewardRequestorData": { - "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", - "total_amt": "Balance", - "rewardee_count": "u64", - "member_kind": "u32", - "requested_date": "Moment" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "RequestorData": { - "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", - "total_amt": "Balance", - "rewardee_count": "u64", - "member_kind": "u32", - "requested_date": "Moment" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "RewardTransferData": { - "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", - "is_sent": "bool", - "total_amt": "Balance", - "rewardee_count": "u64", - "member_kind": "u32", - "requested_date": "Moment" + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "TransferData": { - "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", - "is_sent": "bool", - "total_amt": "Balance", - "rewardee_count": "u64", - "member_kind": "u32", - "requested_date": "Moment" + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" }, - "RewardDailyData": { - "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", - "total_amt": "Balance", - "proxy_claim_requestor_account_id": "AccountId", - "member_kind": "u32", - "rewarded_date": "Date" + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "DailyData": { - "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", - "total_amt": "Balance", - "proxy_claim_requestor_account_id": "AccountId", - "member_kind": "u32", - "rewarded_date": "Date" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "MiningClaimsToken": "[u8; 16]", - "MiningClaimsTokenIndex": "u64", - "MiningClaimsTokenClaimAmount": "u64", - "MiningClaimsTokenClaimResult": { - "token_claim_amount": "u64", - "token_claim_block_redeemed": "u64" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "MiningClaimsHardware": "[u8; 16]", - "MiningClaimsHardwareIndex": "u64", - "MiningClaimsHardwareClaimAmount": "u64", - "MiningClaimsHardwareClaimResult": { - "hardware_claim_amount": "u64", - "hardware_claim_block_redeemed": "u64" + "HttpUrl": { + "payload": "Text" }, - "MiningExecutionToken": "[u8; 16]", - "MiningExecutionTokenIndex": "u64", - "MiningExecutionTokenExecutorAccountID": "u64", - "MiningExecutionTokenExecutionResult": { - "token_execution_exector_account_id": "u64", - "token_execution_started_block": "Moment", - "token_execution_ended_block": "Moment" + "FtpUrl": { + "payload": "Text" }, - "ExchangeRateIndex": "u64", - "ExchangeRateSetting": { - "hbtc": "u64", - "dot": "u64", - "iota": "u64", - "fil": "u64", - "decimals_after_point": "u32" + "IpfsUrl": { + "payload": "Text" }, - "HBTCRate": "u64", - "DOTRate": "u64", - "IOTARate": "u64", - "FILRate": "u64", - "DecimalsAfterPoint": "u32" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + } } - } - ] - }, - "datahighway-parachain": { - "types": [ + }, { "minmax": [ - 0, - null + 10, + 11 ], "types": { - "Keys": "SessionKeys2", + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", "LookupSource": "MultiAddress", - "RoamingOperator": "[u8; 16]", - "RoamingOperatorIndex": "u64", - "RoamingNetwork": "[u8; 16]", - "RoamingNetworkIndex": "u64", - "RoamingOrganization": "[u8; 16]", - "RoamingOrganizationIndex": "u64", - "RoamingNetworkServer": "[u8; 16]", - "RoamingNetworkServerIndex": "u64", - "RoamingDevice": "[u8; 16]", - "RoamingDeviceIndex": "u64", - "RoamingRoutingProfile": "[u8; 16]", - "RoamingRoutingProfileIndex": "u64", - "RoamingRoutingProfileAppServer": "Text", - "RoamingServiceProfile": "[u8; 16]", - "RoamingServiceProfileIndex": "u64", - "RoamingServiceProfileUplinkRate": "u32", - "RoamingServiceProfileDownlinkRate": "u32", - "RoamingAccountingPolicy": "[u8; 16]", - "RoamingAccountingPolicyIndex": "u64", - "RoamingAccountingPolicyType": "Text", - "RoamingAccountingPolicyUplinkFeeFactor": "u32", - "RoamingAccountingPolicyDownlinkFeeFactor": "u32", - "RoamingAccountingPolicyConfig": { - "policy_type": "Text", - "subscription_fee": "Balance", - "uplink_fee_factor": "u32", - "downlink_fee_factor": "u32" + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "RoamingAgreementPolicy": "[u8; 16]", - "RoamingAgreementPolicyIndex": "u64", - "RoamingAgreementPolicyActivationType": "Text", - "RoamingAgreementPolicyConfig": { - "policy_activation_type": "Text", - "policy_expiry_block": "Moment" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "RoamingNetworkProfile": "[u8; 16]", - "RoamingNetworkProfileIndex": "u64", - "RoamingDeviceProfile": "[u8; 16]", - "RoamingDeviceProfileIndex": "u64", - "RoamingDeviceProfileDevAddr": "Text", - "RoamingDeviceProfileDevEUI": "Text", - "RoamingDeviceProfileJoinEUI": "Text", - "RoamingDeviceProfileVendorID": "Text", - "RoamingDeviceProfileConfig": { - "device_profile_devaddr": "Text", - "device_profile_deveui": "Text", - "device_profile_joineui": "Text", - "device_profile_vendorid": "Text" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "RoamingSession": "[u8; 16]", - "RoamingSessionIndex": "u64", - "RoamingSessionJoinRequest": { - "session_network_server_id": "Moment", - "session_join_requested_at_block": "Moment" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } }, - "RoamingSessionJoinAccept": { - "session_join_request_accept_expiry": "Moment", - "session_join_request_accept_accepted_at_block": "Moment" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "RoamingBillingPolicy": "[u8; 16]", - "RoamingBillingPolicyIndex": "u64", - "RoamingBillingPolicyConfig": { - "policy_next_billing_at_block": "Moment", - "policy_frequency_in_blocks": "Moment" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "RoamingChargingPolicy": "[u8; 16]", - "RoamingChargingPolicyIndex": "u64", - "RoamingChargingPolicyConfig": { - "policy_next_charging_at_block": "Moment", - "policy_delay_after_billing_in_blocks": "u64" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "RoamingPacketBundle": "[u8; 16]", - "RoamingPacketBundleIndex": "u64", - "RoamingPacketBundleReceivedAtHome": "bool", - "RoamingPacketBundleReceivedPacketsCount": "u64", - "RoamingPacketBundleReceivedPacketsOkCount": "u64", - "RoamingPacketBundleExternalDataStorageHash": "Hash", - "RoamingPacketBundleReceiver": { - "packet_bundle_received_at_home": "bool", - "packet_bundle_received_packets_count": "u64", - "packet_bundle_received_packets_ok_count": "u64", - "packet_bundle_received_started_at_block": "Moment", - "packet_bundle_received_ended_at_block": "Moment", - "packet_bundle_external_data_storage_hash": "Hash" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } }, - "MiningRatesToken": "[u8; 16]", - "MiningRatesTokenIndex": "u64", - "MiningRatesTokenTokenDOT": "u32", - "MiningRatesTokenTokenMXC": "u32", - "MiningRatesTokenTokenIOTA": "u32", - "MiningRatesTokenMaxToken": "u32", - "MiningRatesTokenMaxLoyalty": "u32", - "MiningRatesTokenConfig": { - "token_token_mxc": "u32", - "token_token_iota": "u32", - "token_token_dot": "u32", - "token_max_token": "u32", - "token_max_loyalty": "u32" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "MiningRatesHardware": "[u8; 16]", - "MiningRatesHardwareIndex": "u64", - "MiningRatesHardwareSecure": "u32", - "MiningRatesHardwareInsecure": "u32", - "MiningRatesHardwareMaxHardware": "u32", - "MiningRatesHardwareCategory1MaxTokenBonusPerGateway": "u32", - "MiningRatesHardwareCategory2MaxTokenBonusPerGateway": "u32", - "MiningRatesHardwareCategory3MaxTokenBonusPerGateway": "u32", - "MiningRatesHardwareConfig": { - "hardware_hardware_secure": "u32", - "hardware_hardware_insecure": "u32", - "hardware_max_hardware": "u32", - "hardware_category_1_max_token_bonus_per_gateway": "u32", - "hardware_category_2_max_token_bonus_per_gateway": "u32", - "hardware_category_3_max_token_bonus_per_gateway": "u32" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "MiningConfigToken": "[u8; 16]", - "MiningConfigTokenIndex": "u64", - "MiningConfigTokenType": "Text", - "MiningConfigTokenLockAmount": "u64", - "MiningConfigTokenConfig": { - "token_type": "Text", - "token_lock_amount": "u64", - "token_lock_start_block": "Moment", - "token_lock_interval_blocks": "Moment" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "MiningConfigTokenRequirementsConfig": { - "token_type": "Text", - "token_lock_min_amount": "u64", - "token_lock_min_blocks": "u32" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "MiningConfigHardware": "[u8; 16]", - "MiningConfigHardwareIndex": "u64", - "MiningConfigHardwareSecure": "bool", - "MiningConfigHardwareType": "Text", - "MiningConfigHardwareID": "u64", - "MiningConfigHardwareDevEUI": "u64", - "MiningConfigHardwareConfig": { - "hardware_secure": "bool", - "hardware_type": "Text", - "hardware_id": "u64", - "hardware_dev_eui": "u64", - "hardware_lock_start_block": "Moment", - "hardware_lock_interval_blocks": "Moment" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "MiningSamplingToken": "[u8; 16]", - "MiningSamplingTokenIndex": "u64", - "MiningSamplingTokenSampleLockedAmount": "u64", - "MiningSamplingTokenConfig": { - "token_sample_block": "Moment", - "token_sample_locked_amount": "u64" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "MiningSamplingHardware": "[u8; 16]", - "MiningSamplingHardwareIndex": "u64", - "MiningSamplingHardwareSampleHardwareOnline": "u64", - "MiningSamplingHardwareConfig": { - "hardware_sample_block": "Moment", - "hardware_sample_hardware_online": "bool" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "MiningEligibilityToken": "[u8; 16]", - "MiningEligibilityTokenIndex": "u64", - "MiningEligibilityTokenCalculatedEligibility": "u64", - "MiningEligibilityTokenLockedPercentage": "u32", - "MiningEligibilityTokenAuditorAccountID": "u64", - "MiningEligibilityTokenResult": { - "token_calculated_eligibility": "u64", - "token_token_locked_percentage": "u32", - "token_date_audited": "Moment", - "token_auditor_account_id": "u64" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "MiningEligibilityHardware": "[u8; 16]", - "MiningEligibilityHardwareIndex": "u64", - "MiningEligibilityHardwareCalculatedEligibility": "u64", - "MiningEligibilityHardwareUptimePercentage": "u32", - "MiningEligibilityHardwareAuditorAccountID": "u64", - "MiningEligibilityHardwareResult": { - "hardware_calculated_eligibility": "u64", - "hardware_uptime_percentage": "u32", - "hardware_block_audited": "Moment", - "hardware_auditor_account_id": "u64" + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "MiningClaimsToken": "[u8; 16]", - "MiningClaimsTokenIndex": "u64", - "MiningClaimsTokenClaimAmount": "u64", - "MiningClaimsTokenClaimResult": { - "token_claim_amount": "u64", - "token_claim_block_redeemed": "u64" + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" }, - "MiningClaimsHardware": "[u8; 16]", - "MiningClaimsHardwareIndex": "u64", - "MiningClaimsHardwareClaimAmount": "u64", - "MiningClaimsHardwareClaimResult": { - "hardware_claim_amount": "u64", - "hardware_claim_block_redeemed": "u64" + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "MiningExecutionToken": "[u8; 16]", - "MiningExecutionTokenIndex": "u64", - "MiningExecutionTokenExecutorAccountID": "u64", - "MiningExecutionTokenExecutionResult": { - "token_execution_exector_account_id": "u64", - "token_execution_started_block": "Moment", - "token_execution_ended_block": "Moment" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "ExchangeRateIndex": "u64", - "ExchangeRateConfig": { - "hbtc": "u64", - "dot": "u64", - "iota": "u64", - "fil": "u64", - "decimals_after_point": "u32" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "HBTCRate": "u64", - "DOTRate": "u64", - "IOTARate": "u64", - "FILRate": "u64", - "DecimalsAfterPoint": "u32" + "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" + } + } } - } - ] - }, - "dawn": { - "types": [ + }, { "minmax": [ - 0, - null + 12, + 16 ], "types": { - "AccountIdOf": "AccountId", + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", - "AirDropCurrencyId": { - "_enum": [ - "ICE", - "EAVE" - ] - }, - "Amount": "i128", - "AmountOf": "Amount", - "AsOriginId": "AuthoritysOriginId", - "AssetId": "u64", - "AssetIdOf": "AssetId", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "EaveTreasury", - "CdpTreasury", - "ElpTreasury", - "DSWF" - ] - }, - "BalanceInfo": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "BalanceWrapper": { - "amount": "Balance" + "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" }, - "BondingLedger": { - "total": "Compact", - "active": "Compact", - "unlocking": "Vec" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "CID": "Vec", - "CallOf": "Call", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "ChainId": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ChangeBalance": { + "DidEncryptionKey": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "X25519": "[u8; 32]" } }, - "ChangeOptionRate": { + "DidPublicKey": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "ChangeOptionRatio": { + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ChangeRate": { + "DidError": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "ChangeRatio": { + "StorageError": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties" - }, - "ClassId": "u32", - "ClassIdOf": "ClassId", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" - } + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "CurrencyIdOf": "CurrencyId", - "DataProviderId": { + "InputError": { "_enum": [ - "Aggregated", - "Eave", - "Band" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "DelayedDispatchTime": { + "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": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "DestAddress": "Vec", - "DispatchId": "u32", - "DispatchTime": { + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "ElpUnlockChunk": { - "value": "Compact", - "era": "Compact" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option", - "developerDeposit": "Option" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "EvmAddress": "H160", - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "ExchangeRate": "FixedU128", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "Keys": "SessionKeys2", - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "LiquidityPool": { - "currency_ids": "Vec", - "lp_token_id": "AssetId", - "pool_config_id": "u32", - "pool_reserves": "Vec" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "LiquidityPoolConfig_": "PoolConfig", - "LiquidityPool_": "LiquidityPool", + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + } + } + }, + { + "minmax": [ + 17, + 17 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", "LookupSource": "MultiAddress", - "NomineeId": "AccountId", - "NFTBalance": "u128", - "OptionRate": "Option", - "OptionRatio": "Option", - "OracleKey": "CurrencyId", - "OracleValue": "Price", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "frozen": "Balance", - "reserved": "Balance" + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "PalletBalanceOf": "Balance", - "PalletsOrigin": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "System": "SystemOrigin", - "Timestamp": "Null", - "RandomnessCollectiveFlip": "Null", - "Balances": "Null", - "Accounts": "Null", - "Currencies": "Null", - "Tokens": "Null", - "Vesting": "Null", - "EaveTreasury": "Null", - "Utility": "Null", - "Multisig": "Null", - "Recovery": "Null", - "Proxy": "Null", - "Scheduler": "Null", - "Indices": "Null", - "GraduallyUpdate": "Null", - "Authorship": "Null", - "Babe": "Null", - "Grandpa": "Null", - "Staking": "Null", - "Session": "Null", - "Historical": "Null", - "GeneralCouncil": "CollectiveOrigin", - "GeneralCouncilMembership": "Null", - "EYECouncil": "CollectiveOrigin", - "EYECouncilMembership": "Null", - "ElpCouncil": "CollectiveOrigin", - "ElpCouncilMembership": "Null", - "TechnicalCommittee": "CollectiveOrigin", - "TechnicalCommitteeMembership": "Null", - "Authority": "DelayedOrigin", - "ElectionsPhragmen": "Null", - "EaveOracle": "Null", - "BandOracle": "Null", - "OperatorMembershipEave": "Null", - "OperatorMembershipBand": "Null", - "Auction": "Null", - "Rewards": "Null", - "OrmlNFT": "Null", - "Prices": "Null", - "Dex": "Null", - "AuctionManager": "Null", - "Loans": "Null", - "EYE": "Null", - "CdpTreasury": "Null", - "CdpEngine": "Null", - "EmergencyShutdown": "Null", - "Elp": "Null", - "NomineesElection": "Null", - "StakingPool": "Null", - "PolkadotBridge": "Null", - "Incentives": "Null", - "AirDrop": "Null", - "NFT": "Null", - "RenVmBridge": "Null", - "Contracts": "Null", - "EVM": "Null", - "Sudo": "Null", - "TransactionPayment": "Null" + "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" } }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "PoolId": { + "StorageError": { "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Elp": "Null" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "Price": "FixedU128", - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2 - } + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "PublicKey": "[u8; 20]", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "RedeemStrategy": { + "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": { - "Immediately": "Null", - "Target": "EraIndex", - "WaitForUnbonding": "Null" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "RelaychainAccountId": "AccountId", - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "stabilityFee": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "RpcDataProviderId": "Text", - "ScheduleTaskIndex": "u32", - "Share": "u128", - "StorageKeyBytes": "Vec", - "StorageValue": "Vec", - "StorageValueBytes": "Vec", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "HttpUrl": { + "payload": "Text" }, - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "FtpUrl": { + "payload": "Text" }, - "TimestampedValueOf": "TimestampedValue", - "TokenBalanceOf": "Balance", - "TokenData": { - "deposit": "Balance" + "IpfsUrl": { + "payload": "Text" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "TokenInfo": { - "name": "Text", - "symbol": "Text", - "decimals": "u8", - "owner": "AccountId" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "TokenInfoOf": { - "metadata": "CID", + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { "owner": "AccountId", - "data": "TokenData" + "amount": "Balance" }, - "TokenSymbol": { - "_enum": { - "EAVE": 0, - "EUSD": 1, - "DOT": 2, - "LDOT": 3, - "XBTC": 4, - "RENBTC": 5, - "INTERBTC": 6, - "PLM": 7, - "PHA": 8, - "HDT": 9, - "ICE": 128, - "IUSD": 129, - "KSM": 130, - "LKSM": 131, - "SDN": 135, - "KILT": 138 - } + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "TradingPairStatus": { + "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": { - "NotEnabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "VestingScheduleOf": "OrmlVestingSchedule", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] } } - } - ] - }, - "dev-parachain": { - "types": [ + }, { "minmax": [ - 0, - null + 18, + 18 ], "types": { - "PairId": "u32", - "Pair": { - "token_0": "AssetId", - "token_1": "AssetId", - "account": "AccountId", - "total_liquidity": "TokenBalance", - "lp_asset_id": "AssetId" + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "PairInfo": { - "token_0": "AssetId", - "token_1": "AssetId", - "account": "AccountId", - "total_liquidity": "TokenBalance", - "holding_liquidity": "TokenBalance", - "reserve_0": "TokenBalance", - "reserve_1": "TokenBalance", - "lp_asset_id": "AssetId" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "AssetId": { - "chain_id": "u32", - "module_index": "u8", - "asset_index": "u32" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "TokenId": "u32", - "AssetProperty": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "FOREIGN": null, - "LP": "LpProperty" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "LpProperty": { - "token_0": "AssetId", - "token_1": "AssetId" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "TokenBalance": "u128" - } - } - ] - }, - "dock-pos-main-runtime": { - "types": [ - { - "minmax": [ - 0, - 23 - ], - "types": { - "Address": "AccountId", - "LookupSource": "AccountId", - "Keys": "SessionKeys2", - "Did": "[u8;32]", - "Bytes32": { - "value": "[u8;32]" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "Bytes33": { - "value": "[u8;33]" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "Bytes64": { - "value": "[u8;64]" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "Bytes65": { - "value": "[u8;65]" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "PublicKey": { + "StorageError": { "_enum": { - "Sr25519": "Bytes32", - "Ed25519": "Bytes32", - "Secp256k1": "Bytes33" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "DidSignature": { + "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": { - "Sr25519": "Bytes64", - "Ed25519": "Bytes64", - "Secp256k1": "Bytes65" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "KeyDetail": { - "controller": "Did", - "public_key": "PublicKey" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "KeyUpdate": { - "did": "Did", - "public_key": "PublicKey", - "controller": "Option", - "last_modified_in_block": "BlockNumber" + "HttpUrl": { + "payload": "Text" }, - "DidRemoval": { - "did": "Did", - "last_modified_in_block": "BlockNumber" + "FtpUrl": { + "payload": "Text" }, - "RegistryId": "[u8;32]", - "RevokeId": "[u8;32]", - "Registry": { - "policy": "Policy", - "add_only": "bool" + "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" }, - "Revoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "UnRevoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "RemoveRegistry": { - "registry_id": "RegistryId", - "last_modified": "BlockNumber" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "PAuth": "BTreeMap", - "Policy": { + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { "_enum": { - "OneOf": "BTreeSet" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "BlobId": "[u8;32]", - "Blob": { - "id": "BlobId", - "blob": "Vec", - "author": "Did" - }, - "EpochNo": "u32", - "EpochLen": "u32", - "SlotNo": "u64", - "Balance": "u64", - "EpochDetail": { - "validator_count": "u8", - "starting_slot": "SlotNo", - "expected_ending_slot": "SlotNo", - "ending_slot": "Option", - "emission_for_validators": "Option", - "emission_for_treasury": "Option" - }, - "ValidatorStatsPerEpoch": { - "block_count": "EpochLen", - "locked_reward": "Option", - "unlocked_reward": "Option" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "Payload": { - "proposal": "Vec", - "round_no": "u64" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "Membership": { - "members": "BTreeSet", - "vote_requirement": "u64" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "PMAuth": "BTreeMap", - "Bonus": { - "swap_bonuses": "Vec<(Balance, BlockNumber)>", - "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "Attestation": { - "priority": "Compact", - "iri": "Option>" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "StateChange": { - "_enum": { - "KeyUpdate": "KeyUpdate", - "DidRemoval": "DidRemoval", - "Revoke": "Revoke", - "UnRevoke": "UnRevoke", - "RemoveRegistry": "RemoveRegistry", - "Blob": "Blob", - "MasterVote": "Payload", - "Attestation": "(Did, Attestation)" - } + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" } } }, { "minmax": [ - 23 + 19, + 19 ], "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", "LookupSource": "MultiAddress", - "PerDispatchClassU32": { - "normal": "u32", - "operational": "u32", - "mandatory": "u32" - }, - "BlockLength": { - "max": "PerDispatchClassU32" - }, - "Keys": "SessionKeys2", - "Did": "[u8;32]", - "Bytes32": { - "value": "[u8;32]" - }, - "Bytes33": { - "value": "[u8;33]" + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "Bytes64": { - "value": "[u8;64]" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "Bytes65": { - "value": "[u8;65]" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "PublicKey": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Sr25519": "Bytes32", - "Ed25519": "Bytes32", - "Secp256k1": "Bytes33" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "DidSignature": { + "DidEncryptionKey": { "_enum": { - "Sr25519": "Bytes64", - "Ed25519": "Bytes64", - "Secp256k1": "Bytes65" + "X25519": "[u8; 32]" } }, - "KeyDetail": { - "controller": "Did", - "public_key": "PublicKey" - }, - "KeyUpdate": { - "did": "Did", - "public_key": "PublicKey", - "controller": "Option", - "last_modified_in_block": "BlockNumber" - }, - "DidRemoval": { - "did": "Did", - "last_modified_in_block": "BlockNumber" - }, - "RegistryId": "[u8;32]", - "RevokeId": "[u8;32]", - "Registry": { - "policy": "Policy", - "add_only": "bool" - }, - "Revoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" - }, - "UnRevoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "RemoveRegistry": { - "registry_id": "RegistryId", - "last_modified": "BlockNumber" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "PAuth": "BTreeMap", - "Policy": { + "DidSignature": { "_enum": { - "OneOf": "BTreeSet" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "BlobId": "[u8;32]", - "Blob": { - "id": "BlobId", - "blob": "Vec", - "author": "Did" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "EpochNo": "u32", - "EpochLen": "u32", - "SlotNo": "u64", - "Balance": "u64", - "EpochDetail": { - "validator_count": "u8", - "starting_slot": "SlotNo", - "expected_ending_slot": "SlotNo", - "ending_slot": "Option", - "emission_for_validators": "Option", - "emission_for_treasury": "Option" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "ValidatorStatsPerEpoch": { - "block_count": "EpochLen", - "locked_reward": "Option", - "unlocked_reward": "Option" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "Payload": { - "proposal": "Vec", - "round_no": "u64" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "Membership": { - "members": "BTreeSet", - "vote_requirement": "u64" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "PMAuth": "BTreeMap", - "Bonus": { - "swap_bonuses": "Vec<(Balance, BlockNumber)>", - "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "Attestation": { - "priority": "Compact", - "iri": "Option>" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "Account": { - "nonce": "U256", - "balance": "U256" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "Transaction": { - "nonce": "U256", - "action": "String", - "gas_price": "u64", - "gas_limit": "u64", - "value": "U256", - "input": "Vec", - "signature": "Signature" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "Signature": { - "v": "u64", - "r": "H256", - "s": "H256" + "HttpUrl": { + "payload": "Text" }, - "ParamType": { - "_enum": { - "Address": null, - "Int": "u16", - "Uint": "u16" - } + "FtpUrl": { + "payload": "Text" }, - "ContractConfig": { - "address": "H160", - "query_aggregator_call_encoded": "Vec", - "query_price_abi_encoded": "Vec", - "return_val_abi": "Vec" + "IpfsUrl": { + "payload": "Text" }, - "StateChange": { + "Url": { "_enum": { - "KeyUpdate": "KeyUpdate", - "DidRemoval": "DidRemoval", - "Revoke": "Revoke", - "UnRevoke": "UnRevoke", - "RemoveRegistry": "RemoveRegistry", - "Blob": "Blob", - "MasterVote": "Payload", - "Attestation": "(Did, Attestation)" - } - } - } - } - ], - "rpc": { - "poa": { - "treasuryAccount": { - "description": "Return account address of treasury. The account address can then be used to query the chain for balance", - "params": [], - "type": "AccountId" - }, - "treasuryBalance": { - "description": "Return free balance of treasury account. In the context of PoA, only free balance makes sense for treasury. But just in case, to check all kinds of balance (locked, reserved, etc), get the account address with above call and query the chain.", - "params": [], - "type": "Balance" - }, - "getTotalEmissionInEpoch": { - "description": "Return total (validators + treasury) emission rewards for given epoch", - "params": [ - "EpochNo" - ], - "type": "Balance" - } - }, - "price_feed": { - "tokenUsdPrice": { - "description": "Gets the price of Dock/USD from pallet's storage", - "params": [], - "type": "Option" - }, - "tokenUsdPriceFromContract": { - "description": "Gets the price of Dock/USD from EVM contract", - "params": [], - "type": "Option" - } - }, - "fiat_filter": { - "getCallFeeDock": { - "description": "Accepts a scale-encoded extrinsic, returns fee in µDOCK as Balance (u64)", - "params": [ - "Bytes" - ], - "type": "Balance" - } - }, - "core_mods": { - "psPublicKeyWithParams": { - "description": "Return PS public key with params", - "params": [ - { - "name": "id", - "type": "(Did, IncId)" - } - ], - "type": "Option<(PsPublicKey, Option)>" - }, - "psParamsByDid": { - "description": "Return all PS params by a DID", - "params": [ - { - "name": "did", - "type": "Did" - } - ], - "type": "BTreeMap" - }, - "psPublicKeysByDid": { - "description": "Return all PS key with params by a DID", - "params": [ - { - "name": "did", - "type": "Did" - } - ], - "type": "BTreeMap)>" - }, - "bbsPublicKeyWithParams": { - "description": "Return BBS public key with params", - "params": [ - { - "name": "id", - "type": "(Did, IncId)" - } - ], - "type": "Option<(BbsPublicKey, Option)>" - }, - "bbsParamsByDid": { - "description": "Return all BBS params by a DID", - "params": [ - { - "name": "did", - "type": "Did" - } - ], - "type": "BTreeMap" - }, - "bbsPublicKeysByDid": { - "description": "Return all BBS key with params by a DID", - "params": [ - { - "name": "did", - "type": "Did" - } - ], - "type": "BTreeMap)>" - }, - "bbsPlusPublicKeyWithParams": { - "description": "Return BBS+ public key with params", - "params": [ - { - "name": "id", - "type": "(Did, IncId)" - } - ], - "type": "Option<(BbsPlusPublicKey, Option)>" - }, - "bbsPlusParamsByDid": { - "description": "Return all BBS+ params by a DID", - "params": [ - { - "name": "did", - "type": "Did" - } - ], - "type": "BTreeMap" - }, - "bbsPlusPublicKeysByDid": { - "description": "Return all BBS+ key with params by a DID", - "params": [ - { - "name": "did", - "type": "Did" - } - ], - "type": "BTreeMap)>" - }, - "accumulatorPublicKeyWithParams": { - "description": "Return Accumulator public key with params", - "params": [ - { - "name": "id", - "type": "AccumPublicKeyStorageKey" - } - ], - "type": "Option" - }, - "accumulatorWithPublicKeyAndParams": { - "description": "Return Accumulator public key with params", - "params": [ - { - "name": "id", - "type": "AccumulatorId" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } - ], - "type": "Option<(Vec, Option)>" - }, - "didDetails": { - "description": "Get all keys, controllers and service endpoints of the DID", - "params": [ - { - "name": "did", - "type": "Did" - }, - { - "name": "params", - "type": "u8", - "isOptional": true + }, + "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" } - ], - "type": "Option" - }, - "didListDetails": { - "description": "Get all keys, controllers and service endpoints of the DID", - "params": [ - { - "name": "dids", - "type": "Vec" - }, - { - "name": "params", - "type": "u8", - "isOptional": true + }, + "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" } - ], - "type": "Vec>" - } - }, - "staking_rewards": { - "yearlyEmission": { - "description": "", - "params": [ - { - "name": "total_staked", - "type": "Balance" - }, - { - "name": "total_issuance", - "type": "Balance" + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } - ], - "type": "Balance" - }, - "maxYearlyEmission": { - "description": "", - "params": [], - "type": "Balance" + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } } - } - } - }, - "dock-pos-test-runtime": { - "types": [ + }, { "minmax": [ - 0, - 23 + 20, + 20 ], "types": { - "Address": "AccountId", - "LookupSource": "AccountId", - "Keys": "SessionKeys2", - "Did": "[u8;32]", - "Bytes32": { - "value": "[u8;32]" + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "Bytes33": { - "value": "[u8;33]" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "Bytes64": { - "value": "[u8;64]" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "Bytes65": { - "value": "[u8;65]" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "PublicKey": { + "DidEncryptionKey": { "_enum": { - "Sr25519": "Bytes32", - "Ed25519": "Bytes32", - "Secp256k1": "Bytes33" + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, "DidSignature": { "_enum": { - "Sr25519": "Bytes64", - "Ed25519": "Bytes64", - "Secp256k1": "Bytes65" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "KeyDetail": { - "controller": "Did", - "public_key": "PublicKey" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "KeyUpdate": { - "did": "Did", - "public_key": "PublicKey", - "controller": "Option", - "last_modified_in_block": "BlockNumber" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "DidRemoval": { - "did": "Did", - "last_modified_in_block": "BlockNumber" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "RegistryId": "[u8;32]", - "RevokeId": "[u8;32]", - "Registry": { - "policy": "Policy", - "add_only": "bool" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "Revoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "UnRevoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "RemoveRegistry": { - "registry_id": "RegistryId", - "last_modified": "BlockNumber" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "PAuth": "BTreeMap", - "Policy": { + "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": { - "OneOf": "BTreeSet" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "BlobId": "[u8;32]", - "Blob": { - "id": "BlobId", - "blob": "Vec", - "author": "Did" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "EpochNo": "u32", - "EpochLen": "u32", - "SlotNo": "u64", - "Balance": "u64", - "EpochDetail": { - "validator_count": "u8", - "starting_slot": "SlotNo", - "expected_ending_slot": "SlotNo", - "ending_slot": "Option", - "emission_for_validators": "Option", - "emission_for_treasury": "Option" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "ValidatorStatsPerEpoch": { - "block_count": "EpochLen", - "locked_reward": "Option", - "unlocked_reward": "Option" + "OrderedSet": "BoundedVec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "Payload": { - "proposal": "Vec", - "round_no": "u64" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "Membership": { - "members": "BTreeSet", - "vote_requirement": "u64" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "PMAuth": "BTreeMap", - "Bonus": { - "swap_bonuses": "Vec<(Balance, BlockNumber)>", - "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "Attestation": { - "priority": "Compact", - "iri": "Option>" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "StateChange": { + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { "_enum": { - "KeyUpdate": "KeyUpdate", - "DidRemoval": "DidRemoval", - "Revoke": "Revoke", - "UnRevoke": "UnRevoke", - "RemoveRegistry": "RemoveRegistry", - "Blob": "Blob", - "MasterVote": "Payload", - "Attestation": "(Did, Attestation)" + "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": [ - 23 + 21, + 22 ], "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", "LookupSource": "MultiAddress", - "PerDispatchClassU32": { - "normal": "u32", - "operational": "u32", - "mandatory": "u32" - }, - "BlockLength": { - "max": "PerDispatchClassU32" - }, - "Keys": "SessionKeys2", - "Did": "[u8;32]", - "Bytes32": { - "value": "[u8;32]" - }, - "Bytes33": { - "value": "[u8;33]" + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "Bytes64": { - "value": "[u8;64]" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "Bytes65": { - "value": "[u8;65]" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "PublicKey": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Sr25519": "Bytes32", - "Ed25519": "Bytes32", - "Secp256k1": "Bytes33" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "DidSignature": { + "DidEncryptionKey": { "_enum": { - "Sr25519": "Bytes64", - "Ed25519": "Bytes64", - "Secp256k1": "Bytes65" + "X25519": "[u8; 32]" } }, - "KeyDetail": { - "controller": "Did", - "public_key": "PublicKey" - }, - "KeyUpdate": { - "did": "Did", - "public_key": "PublicKey", - "controller": "Option", - "last_modified_in_block": "BlockNumber" - }, - "DidRemoval": { - "did": "Did", - "last_modified_in_block": "BlockNumber" - }, - "RegistryId": "[u8;32]", - "RevokeId": "[u8;32]", - "Registry": { - "policy": "Policy", - "add_only": "bool" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "Revoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "UnRevoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "RemoveRegistry": { - "registry_id": "RegistryId", - "last_modified": "BlockNumber" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "PAuth": "BTreeMap", - "Policy": { + "StorageError": { "_enum": { - "OneOf": "BTreeSet" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" } }, - "BlobId": "[u8;32]", - "Blob": { - "id": "BlobId", - "blob": "Vec", - "author": "Did" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "EpochNo": "u32", - "EpochLen": "u32", - "SlotNo": "u64", - "Balance": "u64", - "EpochDetail": { - "validator_count": "u8", - "starting_slot": "SlotNo", - "expected_ending_slot": "SlotNo", - "ending_slot": "Option", - "emission_for_validators": "Option", - "emission_for_treasury": "Option" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "ValidatorStatsPerEpoch": { - "block_count": "EpochLen", - "locked_reward": "Option", - "unlocked_reward": "Option" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "Payload": { - "proposal": "Vec", - "round_no": "u64" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "Membership": { - "members": "BTreeSet", - "vote_requirement": "u64" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "PMAuth": "BTreeMap", - "Bonus": { - "swap_bonuses": "Vec<(Balance, BlockNumber)>", - "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "Attestation": { - "priority": "Compact", - "iri": "Option>" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "Account": { - "nonce": "U256", - "balance": "U256" + "HttpUrl": { + "payload": "Text" }, - "Transaction": { - "nonce": "U256", - "action": "String", - "gas_price": "u64", - "gas_limit": "u64", - "value": "U256", - "input": "Vec", - "signature": "Signature" + "FtpUrl": { + "payload": "Text" }, - "Signature": { - "v": "u64", - "r": "H256", - "s": "H256" + "IpfsUrl": { + "payload": "Text" }, - "ParamType": { + "Url": { "_enum": { - "Address": null, - "Int": "u16", - "Uint": "u16" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "ContractConfig": { - "address": "H160", - "query_aggregator_call_encoded": "Vec", - "query_price_abi_encoded": "Vec", - "return_val_abi": "Vec" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "StateChange": { - "_enum": { - "KeyUpdate": "KeyUpdate", - "DidRemoval": "DidRemoval", - "Revoke": "Revoke", - "UnRevoke": "UnRevoke", - "RemoveRegistry": "RemoveRegistry", - "Blob": "Blob", - "MasterVote": "Payload", - "Attestation": "(Did, Attestation)" - } - } - } - } - ], - "rpc": { - "poa": { - "treasuryAccount": { - "description": "Return account address of treasury. The account address can then be used to query the chain for balance", - "params": [], - "type": "AccountId" - }, - "treasuryBalance": { - "description": "Return free balance of treasury account. In the context of PoA, only free balance makes sense for treasury. But just in case, to check all kinds of balance (locked, reserved, etc), get the account address with above call and query the chain.", - "params": [], - "type": "Balance" - }, - "getTotalEmissionInEpoch": { - "description": "Return total (validators + treasury) emission rewards for given epoch", - "params": [ - "EpochNo" - ], - "type": "Balance" - } - }, - "price_feed": { - "tokenUsdPrice": { - "description": "Gets the price of Dock/USD from pallet's storage", - "params": [], - "type": "Option" - }, - "tokenUsdPriceFromContract": { - "description": "Gets the price of Dock/USD from EVM contract", - "params": [], - "type": "Option" - } - }, - "fiat_filter": { - "getCallFeeDock": { - "description": "Accepts a scale-encoded extrinsic, returns fee in µDOCK as Balance (u64)", - "params": [ - "Bytes" - ], - "type": "Balance" - } - }, - "core_mods": { - "psPublicKeyWithParams": { - "description": "Return PS public key with params", - "params": [ - { - "name": "id", - "type": "(Did, IncId)" - } - ], - "type": "Option<(PsPublicKey, Option)>" - }, - "psParamsByDid": { - "description": "Return all PS params by a DID", - "params": [ - { - "name": "did", - "type": "Did" - } - ], - "type": "BTreeMap" - }, - "psPublicKeysByDid": { - "description": "Return all PS key with params by a DID", - "params": [ - { - "name": "did", - "type": "Did" - } - ], - "type": "BTreeMap)>" - }, - "bbsPublicKeyWithParams": { - "description": "Return BBS public key with params", - "params": [ - { - "name": "id", - "type": "(Did, IncId)" - } - ], - "type": "Option<(BbsPublicKey, Option)>" - }, - "bbsParamsByDid": { - "description": "Return all BBS params by a DID", - "params": [ - { - "name": "did", - "type": "Did" - } - ], - "type": "BTreeMap" - }, - "bbsPublicKeysByDid": { - "description": "Return all BBS key with params by a DID", - "params": [ - { - "name": "did", - "type": "Did" - } - ], - "type": "BTreeMap)>" - }, - "bbsPlusPublicKeyWithParams": { - "description": "Return BBS+ public key with params", - "params": [ - { - "name": "id", - "type": "(Did, IncId)" - } - ], - "type": "Option<(BbsPlusPublicKey, Option)>" - }, - "bbsPlusParamsByDid": { - "description": "Return all BBS+ params by a DID", - "params": [ - { - "name": "did", - "type": "Did" - } - ], - "type": "BTreeMap" - }, - "bbsPlusPublicKeysByDid": { - "description": "Return all BBS+ key with params by a DID", - "params": [ - { - "name": "did", - "type": "Did" - } - ], - "type": "BTreeMap)>" - }, - "accumulatorPublicKeyWithParams": { - "description": "Return Accumulator public key with params", - "params": [ - { - "name": "id", - "type": "AccumPublicKeyStorageKey" - } - ], - "type": "Option" - }, - "accumulatorWithPublicKeyAndParams": { - "description": "Return Accumulator public key with params", - "params": [ - { - "name": "id", - "type": "AccumulatorId" - } - ], - "type": "Option<(Vec, Option)>" - }, - "didDetails": { - "description": "Get all keys, controllers and service endpoints of the DID", - "params": [ - { - "name": "did", - "type": "Did" - }, - { - "name": "params", - "type": "u8", - "isOptional": true - } - ], - "type": "Option" - }, - "didListDetails": { - "description": "Get all keys, controllers and service endpoints of the DID", - "params": [ - { - "name": "dids", - "type": "Vec" - }, - { - "name": "params", - "type": "u8", - "isOptional": true - } - ], - "type": "Vec>" - } - }, - "staking_rewards": { - "yearlyEmission": { - "description": "", - "params": [ - { - "name": "total_staked", - "type": "Balance" - }, - { - "name": "total_issuance", - "type": "Balance" - } - ], - "type": "Balance" - }, - "maxYearlyEmission": { - "description": "", - "params": [], - "type": "Balance" - } - } - } - }, - "dotmog-node": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "MogwaiStruct": { - "id": "Hash", - "dna": "Hash", - "genesis": "BlockNumber", - "price": "Balance", - "gen": "u32", - "rarity": "RarityType" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "MogwaiBios": { - "mogwai_id": "Hash", - "state": "u32", - "metaxy": "Vec<[u8;16]>", - "intrinsic": "Balance", - "level": "u8", - "phases": "Vec", - "adaptations": "Vec" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "GameEvent": { - "id": "Hash", - "begin": "BlockNumber", - "duration": "u16", - "event_type": "GameEventType", - "hashes": "Vec", - "value": "u64" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "GameEventType": { - "_enum": [ - "Default", - "Hatch" - ] + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "RarityType": { - "_enum": [ - "Minor", - "Normal", - "Rare", - "Epic", - "Legendary" - ] + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "MogwaicoinAddress": { - "address": "Vec", - "account": "AccountId", - "signature": "Vec", - "state": "ClaimState", - "balance": "Balance" + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "ClaimState": { + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { "_enum": [ - "None", - "Registred", - "Verified", - "Secured", - "Processed", - "Holded", - "Failed", - "Cancelled" + "V1", + "V2" ] - } - } - } - ] - }, - "edgeware": { - "alias": { - "voting": { - "Tally": "VotingTally" - } - }, - "types": [ - { - "minmax": [ - 0, - 31 - ], - "types": { - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "Balance2": "u128", - "VoteStage": { + "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": [ - "PreVoting", - "Commit", - "Voting", - "Completed" + "application/json", + "application/ld+json" ] }, - "VoteType": { + "DidStorageVersion": { "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" + "V1", + "V2" ] }, - "TallyType": { + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "OnePerson", - "OneCoin" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" ] }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" - }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" - }, - "voting::VoteType": "VoteType", - "voting::TallyType": "TallyType", - "voting::Tally": "VotingTally", - "Keys": "SessionKeys4", - "StakingLedger": "StakingLedgerTo240", - "Votes": "VotesTo230", - "ReferendumInfo": "ReferendumInfoTo239", - "Weight": "u32", - "DispatchInfo": "DispatchInfoTo244", - "OpenTip": "OpenTipTo225", - "ContractExecResult": "ContractExecResultTo255", - "CompactAssignments": "CompactAssignmentsTo257", - "RewardDestination": "RewardDestinationTo257", - "RefCount": "RefCountTo259", - "AccountInfo": "AccountInfoWithRefCount", - "Address": "IndicesLookupSource", - "LookupSource": "IndicesLookupSource" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1" } }, { "minmax": [ - 32, - 38 + 23, + 24 ], "types": { - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "Balance2": "u128", - "VoteStage": { - "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" - ] + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "VoteType": { - "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" - ] + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "TallyType": { + "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": [ - "OnePerson", - "OneCoin" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "voting::VoteType": "VoteType", - "voting::TallyType": "TallyType", - "voting::Tally": "VotingTally", - "CompactAssignments": "CompactAssignmentsTo257", - "ContractExecResult": "ContractExecResultTo255", - "RewardDestination": "RewardDestinationTo257", - "RefCount": "u32", - "AccountInfo": "AccountInfoWithRefCount", - "Address": "IndicesLookupSource", - "LookupSource": "IndicesLookupSource" - } - }, - { - "minmax": [ - 39, - 41 - ], - "types": { - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "Balance2": "u128", - "VoteStage": { + "SignatureError": { "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "VoteType": { + "KeyError": { "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "TallyType": { + "UrlError": { "_enum": [ - "OnePerson", - "OneCoin" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "voting::VoteType": "VoteType", - "voting::TallyType": "TallyType", - "voting::Tally": "VotingTally", - "RefCount": "u32", - "AccountInfo": "AccountInfoWithRefCount", - "Address": "IndicesLookupSource", - "LookupSource": "IndicesLookupSource" - } - }, - { - "minmax": [ - 42, - 46 - ], - "types": { - "Balance2": "u128", - "ChainId": "u8", - "DepositNonce": "u64", - "ResourceId": "[u8; 32]", - "ProposalStatus": { + "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": [ - "Initiated", - "Approved", - "Rejected" + "V1", + "V2" ] }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "staus": "ProposalStatus", - "expiry": "BlockNumber" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "VoteStage": { + "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": [ - "PreVoting", - "Commit", - "Voting", - "Completed" + "application/json", + "application/ld+json" ] }, - "VoteType": { + "DidStorageVersion": { "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" + "V1", + "V2" ] }, - "TallyType": { + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "OnePerson", - "OneCoin" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" ] }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" - }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" - }, - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "AccountInfo": "AccountInfoWithRefCount", - "Address": "MultiAddress", - "LookupSource": "MultiAddress" + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } } }, { "minmax": [ - 47, - null + 25, + 2699 ], "types": { - "Balance2": "u128", - "DepositNonce": "u64", - "ResourceId": "[u8; 32]", - "ProposalStatus": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { "_enum": [ - "Initiated", - "Approved", - "Rejected" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "staus": "ProposalStatus", - "expiry": "BlockNumber" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "VoteStage": { + "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": [ - "PreVoting", - "Commit", - "Voting", - "Completed" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "VoteType": { + "KeyError": { "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "TallyType": { + "UrlError": { "_enum": [ - "OnePerson", - "OneCoin" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "CID": "Vec", - "Properties": { - "_set": { - "Transferable": 1, - "Burnable": 2 + "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" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "TokenData": { - "deposit": "Balance" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "ClassInfo": { - "metadata": "Vec", - "total_issuance": "TokenId", + "Stake": { "owner": "AccountId", - "data": "ClassData" + "amount": "Balance" }, - "ClassInfoOf": "ClassInfo", - "TokenInfo": { - "metadata": "Vec", - "owner": "AccountId", - "data": "TokenData" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "TokenInfoOf": "TokenInfo", - "TokenId": "u64", - "ClassIdOf": "ClassId", - "TokenIdOf": "TokenId", - "Amount": "i128", - "AmountOf": "Amount", - "Approval": { - "amount": "Balance", - "deposit": "Balance" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "ApprovalKey": { - "owner": "AccountId", - "delegate": "AccountId" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "Commitment": "ScalarData", - "CurrencyId": "u64", - "CurrencyIdOf": "CurrencyId", - "DustHandlerType": { - "_enum": { - "Burn": "Null", - "Transfer": "AccountId" - } + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "HashFunction": { + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { "_enum": [ - "PoseidonDefault", - "PoseidonExp3", - "PoseidonExp5", - "PoseidonExp17", - "MiMC", - "Blake2", - "Sha256" + "V1", + "V2" ] }, - "Manager": { - "accountId": "AccountId", - "required": "bool" - }, - "MerkleTree": { - "leaf_count": "u32", - "max_leaves": "u32", - "depth": "u8", - "root_hash": "ScalarData", - "edge_nodes": "Vec", - "hasher": "HashFunction", - "should_store_leaves": "bool" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "MixerInfo": { - "minimum_deposit_length_for_reward": "BlockNumber", - "fixed_deposit_size": "Balance", - "currency_id": "CurrencyIdOf" + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" }, - "Nullifier": "ScalarData", - "ScalarData": "[u8; 32]", - "TokenDetails": { - "owner": "AccountId", - "issuer": "AccountId", - "admin": "AccountId", - "freezer": "AccountId", - "supply": "Balance", - "deposit": "Balance", - "min_balance": "Balance", - "approvals": "u32", - "is_frozen": "bool", - "dust_type": "DustHandlerType" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "TokenMetadata": { - "deposit": "Balance", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "is_frozen": "bool" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "TreeId": "u32", - "WithdrawProof": { - "mixer_id": "TreeId", - "cached_block": "BlockNumber", - "cached_root": "ScalarData", - "comms": "Vec", - "nullifier_hash": "ScalarData", - "proof_bytes": "Vec", - "leaf_index_commitments": "Vec", - "proof_commitments": "Vec", - "recipient": "Option", - "relayer": "Option" + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] }, - "ETHBlock": { - "inner": "Block" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "ETHReceipts": { - "inner": "Vec" + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] }, - "ETHTxStatuses": { - "inner": "Vec" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" }, - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "LookupSource": "MultiAddress" + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } } - } - ] - }, - "elysium": { - "types": [ + }, { "minmax": [ - 0, - null + 2700, + 10409 ], "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", "LookupSource": "MultiAddress", - "Account": { - "nonce": "U256", - "balance": "U256" - }, - "Transaction": { - "nonce": "U256", - "action": "String", - "gas_price": "u64", - "gas_limit": "u64", - "value": "U256", - "input": "Vec", - "signature": "Signature" + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" }, - "Signature": { - "v": "u64", - "r": "H256", - "s": "H256" - } - } - } - ] - }, - "encointer-node-notee": { - "types": [ - { - "minmax": [ - 9, - null - ], - "types": { - "CommunityIdentifier": { - "geohash": "GeoHash", - "digest": "CidDigest" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" }, - "GeoHash": "[u8; 5]", - "CidDigest": "[u8; 4]" - } - }, - { - "minmax": [ - 0, - 8 - ], - "types": { - "ShardIdentifier": "Hash", - "GetterArgs": "(AccountId, CommunityIdentifier)", - "Enclave": { - "pubkey": "AccountId", - "mrenclave": "Hash", - "timestamp": "u64", - "url": "Text" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "PublicGetter": { + "DidEncryptionKey": { "_enum": { - "total_issuance": "CommunityIdentifier", - "participant_count": "CommunityIdentifier", - "meetup_count": "CommunityIdentifier", - "ceremony_reward": "CommunityIdentifier", - "location_tolerance": "CommunityIdentifier", - "time_tolerance": "CommunityIdentifier", - "scheduler_state": "CommunityIdentifier" + "X25519": "[u8; 32]" } }, - "TrustedGetter": { + "DidPublicKey": { "_enum": { - "balance": "(AccountId, CommunityIdentifier)", - "participant_index": "(AccountId, CommunityIdentifier)", - "meetup_index": "(AccountId, CommunityIdentifier)", - "attestations": "(AccountId, CommunityIdentifier)", - "meetup_registry": "(AccountId, CommunityIdentifier)" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "TrustedGetterSigned": { - "getter": "TrustedGetter", - "signature": "Signature" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "Getter": { + "DidSignature": { "_enum": { - "public": "PublicGetter", - "trusted": "TrustedGetterSigned" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ClientRequest": { + "DidError": { "_enum": { - "PubKeyWorker": null, - "MuRaPortWorker": null, - "StfState": "(Getter, ShardIdentifier)" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" } }, - "WorkerEncoded": "Vec", - "Request": { - "shard": "ShardIdentifier", - "cyphertext": "WorkerEncoded" - }, - "TrustedCallSigned": { - "call": "TrustedCall", - "nonce": "u32", - "signature": "Signature" - }, - "TrustedCall": { + "StorageError": { "_enum": { - "balance_transfer": "BalanceTransferArgs", - "ceremonies_register_participant": "RegisterParticipantArgs", - "ceremonies_register_attestations": "RegisterAttestationsArgs", - "ceremonies_grant_reputation": "GrantReputationArgs" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" } }, - "BalanceTransferArgs": "(AccountId, AccountId, CommunityIdentifier, BalanceType)", - "RegisterParticipantArgs": "(AccountId, CommunityIdentifier, Option>)", - "RegisterAttestationsArgs": "(AccountId, Vec>)", - "GrantReputationArgs": "(AccountId, CommunityIdentifier, AccountId)", - "BalanceType": "i128", - "BalanceEntry": { - "principal": "BalanceType", - "lastUpdate": "BlockNumber" - }, - "Demurrage": "BalanceType", - "BusinessIdentifier": { - "communityIdentifier": "CommunityIdentifier", - "controller": "AccountId" - }, - "OfferingIdentifier": "u32", - "BusinessData": { - "url": "PalletString", - "last_oid": "u32" - }, - "OfferingData": { - "url": "PalletString" - }, - "PalletString": "Text", - "IpfsCid": "Text", - "FixedI64F64": { - "bits": "i128" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] }, - "CeremonyIndexType": "u32", - "CeremonyPhaseType": { + "KeyError": { "_enum": [ - "Registering", - "Assigning", - "Attesting" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "ParticipantIndexType": "u64", - "MeetupIndexType": "u64", - "AttestationIndexType": "u64", - "MeetupAssignment": "(MeetupIndexType, Option)", - "MeetupTimeOffsetType": "i32", - "Reputation": { + "InputError": { "_enum": [ - "Unverified", - "UnverifiedReputable", - "VerifiedUnlinked", - "VerifiedLinked" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" ] }, - "CommunityReputation": { - "communityIdentifier": "CommunityIdentifier", - "reputation": "Reputation" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "ClaimOfAttendance": { - "claimantPublic": "AccountId", - "ceremonyIndex": "CeremonyIndexType", - "communityIdentifier": "CommunityIdentifier", - "meetupIndex": "MeetupIndexType", - "location": "Location", - "timestamp": "Moment", - "numberOfParticipantsConfirmed": "u32", - "claimantSignature": "Option" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" }, - "ClaimOfAttendanceSigningPayload": { - "claimantPublic": "AccountId", - "ceremonyIndex": "CeremonyIndexType", - "communityIdentifier": "CommunityIdentifier", - "meetupIndex": "MeetupIndexType", - "location": "Location", - "timestamp": "Moment", - "numberOfParticipantsConfirmed": "u32" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" }, - "AssignmentCount": { - "bootstrappers": "ParticipantIndexType", - "reputables": "ParticipantIndexType", - "endorsees": "ParticipantIndexType", - "newbies": "ParticipantIndexType" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "Assignment": { - "bootstrappersReputables": "AssignmentParams", - "endorsees": "AssignmentParams", - "newbies": "AssignmentParams", - "locations": "AssignmentParams" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "AssignmentParams": { - "m": "u64", - "s1": "u64", - "s2": "u64" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "CommunityCeremonyStats": { - "communityCeremony": "(CommunityIdentifier, CeremonyIndexType)", - "assignment": "Assignment", - "assignmentCount": "AssignmentCount", - "meetupCount": "MeetupIndexType", - "meetups": "Vec" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "Meetup": { - "index": "MeetupIndexType", - "location": "LocationRpc", - "time": "Moment", - "registrations": "Vec<(AccountId, ParticipantRegistration)>" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "ParticipantRegistration": { - "index": "ParticipantIndexType", - "registrationType": "RegistrationType" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "RegistrationType": { - "_enum": [ - "Bootstrapper", - "Reputable", - "Endorsee", - "Newbie" - ] + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "Attestation": { - "claim": "ClaimOfAttendance", - "signature": "MultiSignature", - "public": "AccountId" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "ProofOfAttendance": { - "proverPublic": "AccountId", - "ceremonyIndex": "CeremonyIndexType", - "communityIdentifier": "CommunityIdentifier", - "attendeePublic": "AccountId", - "attendeeSignature": "MultiSignature" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "CommunityIdentifier": { - "geohash": "GeoHash", - "digest": "CidDigest" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "GeoHash": "[u8; 5]", - "CidDigest": "[u8; 4]", - "CommunityCeremony": "(CommunityIdentifier,CeremonyIndexType)", - "NominalIncomeType": "BalanceType", - "DegreeRpc": "Text", - "DegreeFixed": "i128", - "Location": { - "lat": "DegreeFixed", - "lon": "DegreeFixed" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "LocationRpc": { - "lat": "DegreeRpc", - "lon": "DegreeRpc" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "CidName": { - "cid": "CommunityIdentifier", - "name": "Text" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" }, - "CommunityMetadataType": { - "name": "Text", - "symbol": "Text", - "assets": "Text", - "theme": "Option", - "url": "Option" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "SystemNumber": "u32", - "SchedulerState": "(CeremonyIndexType, CeremonyPhaseType, SystemNumber)" - } - } - ], - "signedExtensions": { - "ChargeAssetTxPayment": { - "extrinsic": { - "tip": "Compact", - "assetId": "Option" - }, - "payload": {} - } - } - }, - "encointer-node-teeproxy": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "CeremonyPhaseType": { + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { "_enum": [ - "Registering", - "Assigning", - "Attesting" + "V1", + "V2", + "V3" ] }, - "CeremonyIndexType": "u32", - "CurrencyIdentifier": "Hash", - "CurrencyCeremony": { - "cid": "CurrencyIdentifier", - "cindex": "CeremonyIndexType" - }, - "Location": { - "lat": "i64", - "lon": "i64" + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] }, - "CurrencyPropertiesType": { - "name_utf8": "Text", - "demurrage_per_block": "i128" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" }, - "ShardIdentifier": "Hash", - "Request": { - "shard": "ShardIdentifier", - "cyphertext": "Vec" + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "Enclave": { - "pubkey": "AccountId", - "mrenclave": "Hash", - "timestamp": "u64", - "url": "Text" + "Deposit": { + "owner": "AccountId", + "amount": "Balance" } } - } - ] - }, - "encointer-parachain": { - "types": [ - { - "minmax": [ - 3, - null - ], - "types": { - "CommunityIdentifier": { - "geohash": "GeoHash", - "digest": "CidDigest" - }, - "GeoHash": "[u8; 5]", - "CidDigest": "[u8; 4]" - } }, { "minmax": [ - 0, - 2 + 10410, + 10719 ], "types": { - "ShardIdentifier": "Hash", - "GetterArgs": "(AccountId, CommunityIdentifier)", - "Enclave": { - "pubkey": "AccountId", - "mrenclave": "Hash", - "timestamp": "u64", - "url": "Text" + "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" }, - "PublicGetter": { - "_enum": { - "total_issuance": "CommunityIdentifier", - "participant_count": "CommunityIdentifier", - "meetup_count": "CommunityIdentifier", - "ceremony_reward": "CommunityIdentifier", - "location_tolerance": "CommunityIdentifier", - "time_tolerance": "CommunityIdentifier", - "scheduler_state": "CommunityIdentifier" - } + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" }, - "TrustedGetter": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "balance": "(AccountId, CommunityIdentifier)", - "participant_index": "(AccountId, CommunityIdentifier)", - "meetup_index": "(AccountId, CommunityIdentifier)", - "attestations": "(AccountId, CommunityIdentifier)", - "meetup_registry": "(AccountId, CommunityIdentifier)" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "TrustedGetterSigned": { - "getter": "TrustedGetter", - "signature": "Signature" - }, - "Getter": { + "DidEncryptionKey": { "_enum": { - "public": "PublicGetter", - "trusted": "TrustedGetterSigned" + "X25519": "[u8; 32]" } }, - "ClientRequest": { + "DidPublicKey": { "_enum": { - "PubKeyWorker": null, - "MuRaPortWorker": null, - "StfState": "(Getter, ShardIdentifier)" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "WorkerEncoded": "Vec", - "Request": { - "shard": "ShardIdentifier", - "cyphertext": "WorkerEncoded" - }, - "TrustedCallSigned": { - "call": "TrustedCall", - "nonce": "u32", - "signature": "Signature" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "TrustedCall": { + "DidSignature": { "_enum": { - "balance_transfer": "BalanceTransferArgs", - "ceremonies_register_participant": "RegisterParticipantArgs", - "ceremonies_register_attestations": "RegisterAttestationsArgs", - "ceremonies_grant_reputation": "GrantReputationArgs" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "BalanceTransferArgs": "(AccountId, AccountId, CommunityIdentifier, BalanceType)", - "RegisterParticipantArgs": "(AccountId, CommunityIdentifier, Option>)", - "RegisterAttestationsArgs": "(AccountId, Vec>)", - "GrantReputationArgs": "(AccountId, CommunityIdentifier, AccountId)", - "BalanceType": "i128", - "BalanceEntry": { - "principal": "BalanceType", - "lastUpdate": "BlockNumber" - }, - "Demurrage": "BalanceType", - "BusinessIdentifier": { - "communityIdentifier": "CommunityIdentifier", - "controller": "AccountId" - }, - "OfferingIdentifier": "u32", - "BusinessData": { - "url": "PalletString", - "last_oid": "u32" - }, - "OfferingData": { - "url": "PalletString" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "PalletString": "Text", - "IpfsCid": "Text", - "FixedI64F64": { - "bits": "i128" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } }, - "CeremonyIndexType": "u32", - "CeremonyPhaseType": { + "SignatureError": { "_enum": [ - "Registering", - "Assigning", - "Attesting" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" ] }, - "ParticipantIndexType": "u64", - "MeetupIndexType": "u64", - "AttestationIndexType": "u64", - "MeetupAssignment": "(MeetupIndexType, Option)", - "MeetupTimeOffsetType": "i32", - "Reputation": { + "KeyError": { "_enum": [ - "Unverified", - "UnverifiedReputable", - "VerifiedUnlinked", - "VerifiedLinked" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "CommunityReputation": { - "communityIdentifier": "CommunityIdentifier", - "reputation": "Reputation" - }, - "ClaimOfAttendance": { - "claimantPublic": "AccountId", - "ceremonyIndex": "CeremonyIndexType", - "communityIdentifier": "CommunityIdentifier", - "meetupIndex": "MeetupIndexType", - "location": "Location", - "timestamp": "Moment", - "numberOfParticipantsConfirmed": "u32", - "claimantSignature": "Option" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] }, - "ClaimOfAttendanceSigningPayload": { - "claimantPublic": "AccountId", - "ceremonyIndex": "CeremonyIndexType", - "communityIdentifier": "CommunityIdentifier", - "meetupIndex": "MeetupIndexType", - "location": "Location", - "timestamp": "Moment", - "numberOfParticipantsConfirmed": "u32" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "AssignmentCount": { - "bootstrappers": "ParticipantIndexType", - "reputables": "ParticipantIndexType", - "endorsees": "ParticipantIndexType", - "newbies": "ParticipantIndexType" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" }, - "Assignment": { - "bootstrappersReputables": "AssignmentParams", - "endorsees": "AssignmentParams", - "newbies": "AssignmentParams", - "locations": "AssignmentParams" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" }, - "AssignmentParams": { - "m": "u64", - "s1": "u64", - "s2": "u64" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "CommunityCeremonyStats": { - "communityCeremony": "(CommunityIdentifier, CeremonyIndexType)", - "assignment": "Assignment", - "assignmentCount": "AssignmentCount", - "meetupCount": "MeetupIndexType", - "meetups": "Vec" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "Meetup": { - "index": "MeetupIndexType", - "location": "LocationRpc", - "time": "Moment", - "registrations": "Vec<(AccountId, ParticipantRegistration)>" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "ParticipantRegistration": { - "index": "ParticipantIndexType", - "registrationType": "RegistrationType" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "RegistrationType": { - "_enum": [ - "Bootstrapper", - "Reputable", - "Endorsee", - "Newbie" - ] + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "Attestation": { - "claim": "ClaimOfAttendance", - "signature": "MultiSignature", - "public": "AccountId" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "ProofOfAttendance": { - "proverPublic": "AccountId", - "ceremonyIndex": "CeremonyIndexType", - "communityIdentifier": "CommunityIdentifier", - "attendeePublic": "AccountId", - "attendeeSignature": "MultiSignature" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "CommunityIdentifier": { - "geohash": "GeoHash", - "digest": "CidDigest" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "GeoHash": "[u8; 5]", - "CidDigest": "[u8; 4]", - "CommunityCeremony": "(CommunityIdentifier,CeremonyIndexType)", - "NominalIncomeType": "BalanceType", - "DegreeRpc": "Text", - "DegreeFixed": "i128", - "Location": { - "lat": "DegreeFixed", - "lon": "DegreeFixed" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "LocationRpc": { - "lat": "DegreeRpc", - "lon": "DegreeRpc" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "CidName": { - "cid": "CommunityIdentifier", - "name": "Text" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "CommunityMetadataType": { - "name": "Text", - "symbol": "Text", - "assets": "Text", - "theme": "Option", - "url": "Option" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "SystemNumber": "u32", - "SchedulerState": "(CeremonyIndexType, CeremonyPhaseType, SystemNumber)" - } - } - ], - "signedExtensions": { - "ChargeAssetTxPayment": { - "extrinsic": { - "tip": "Compact", - "assetId": "Option" - }, - "payload": {} - } - } - }, - "fantour": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Properties": "u8", - "NFTMetadata": "Vec", - "BlockNumber": "u32", - "BlockNumberOf": "BlockNumber", - "OrderData": { - "currencyId": "Compact", - "price": "Compact", - "deposit": "Compact", - "deadline": "Compact", - "categoryId": "Compact" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" }, - "CategoryId": "u32", - "CategoryIdOf": "CategoryId", - "CategoryData": { - "metadata": "NFTMetadata", - "nftCount": "Compact" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "CurrencyId": "u32", - "CurrencyIdOf": "CurrencyId", - "Amount": "i128", - "AmountOf": "Amount", - "ClassId": "u32", - "ClassIdOf": "ClassId", - "ClassInfoOf": { - "metadata": "NFTMetadata", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "ClassData": { - "deposit": "Compact", - "properties": "Properties", - "name": "Vec", - "description": "Vec", - "createBlock": "Compact" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "TokenInfoOf": { - "metadata": "NFTMetadata", - "owner": "AccountId", - "data": "TokenData" + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] }, - "TokenData": { - "deposit": "Compact", - "createBlock": "Compact" - } - } - } - ] - }, - "ferrum-parachain": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "AccountId": "EthereumAccountId", - "AccountId20": "EthereumAccountId", - "Address": "AccountId", - "LookupSource": "AccountId", - "Lookup0": "AccountId", - "EthereumSignature": { - "r": "H256", - "s": "H256", - "v": "U8" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" }, - "ExtrinsicSignature": "EthereumSignature" - } - } - ] - }, - "foucoco": { - "rpc": { - "issue": { - "getIssueRequests": { - "description": "Get all issue requests for a particular account", - "params": [ - { - "name": "accountId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "issue_getIssueRequests", - "method": "getIssueRequests", - "section": "issue" - }, - "getVaultIssueRequests": { - "description": "Get all issue requests for a particular vault", - "params": [ - { - "name": "vaultId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "issue_getVaultIssueRequests", - "method": "getVaultIssueRequests", - "section": "issue" + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } } }, - "redeem": { - "getRedeemRequests": { - "description": "Get all redeem requests for a particular account", - "params": [ - { - "name": "accountId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "redeem_getRedeemRequests", - "method": "getRedeemRequests", - "section": "redeem" - }, - "getVaultRedeemRequests": { - "description": "Get all redeem requests for a particular vault", - "params": [ - { - "name": "vaultId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "redeem_getVaultRedeemRequests", - "method": "getVaultRedeemRequests", - "section": "redeem" + { + "minmax": [ + 10720, + 10750 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + } } }, - "replace": { - "getOldVaultReplaceRequests": { - "description": "Get all replace requests from a particular vault", - "params": [ - { - "name": "accountId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "replace_getOldVaultReplaceRequests", - "method": "getOldVaultReplaceRequests", - "section": "replace" - }, - "getNewVaultReplaceRequests": { - "description": "Get all replace requests to a particular vault", - "params": [ - { - "name": "vaultId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + { + "minmax": [ + 10800, + 10899 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "replace_getNewVaultReplaceRequests", - "method": "getNewVaultReplaceRequests", - "section": "replace" + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } } }, - "oracle": { - "currencyToUsd": { - "description": "Get the USD value of a currency", - "params": [ - { - "name": "amount", - "type": "BalanceWrapper" - }, - { - "name": "currencyId", - "type": "SpacewalkPrimitivesCurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "oracle_currencyToUsd", - "method": "currencyToUsd", - "section": "oracle" - }, - "usdToCurrency": { - "description": "Get the currency value of a USD amount", - "params": [ - { - "name": "amount", - "type": "BalanceWrapper" - }, - { - "name": "currencyId", - "type": "SpacewalkPrimitivesCurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "oracle_usdToCurrency", - "method": "usdToCurrency", - "section": "oracle" - }, - "getExchangeRate": { - "description": "Get the exchange rate of the given currencyId to USD", - "params": [ - { - "name": "currencyId", - "type": "SpacewalkPrimitivesCurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + { + "minmax": [ + 10900, + 11199 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" } - ], - "type": "UnsignedFixedPoint", - "isSubscription": false, - "jsonrpc": "oracle_getExchangeRate", - "method": "getExchangeRate", - "section": "oracle" + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } } }, - "vaultRegistry": { - "getVaultCollateral": { - "description": "Get the vault's collateral (excluding nomination)", - "params": [ - { - "name": "vaultId", - "type": "SpacewalkPrimitivesVaultId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getVaultCollateral", - "method": "getVaultCollateral", - "section": "vaultRegistry" - }, - "getVaultsByAccountId": { - "description": "Get all the vaultIds registered by a vault's accountId", - "params": [ - { - "name": "accountId", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getVaultsByAccountId", - "method": "getVaultsByAccountId", - "section": "vaultRegistry" - }, - "getVaultTotalCollateral": { - "description": "Get the vault's collateral (including nomination)", - "params": [ - { - "name": "vaultId", - "type": "SpacewalkPrimitivesVaultId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getVaultTotalCollateral", - "method": "getVaultTotalCollateral", - "section": "vaultRegistry" - }, - "getPremiumRedeemVaults": { - "description": "Get all vaults below the premium redeem threshold, ordered in descending order of this amount", - "params": [ - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec<(SpacewalkPrimitivesVaultId, BalanceWrapper)>", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getPremiumRedeemVaults", - "method": "getPremiumRedeemVaults", - "section": "vaultRegistry" - }, - "getVaultsWithIssuableTokens": { - "description": "Get all vaults with non-zero issuable tokens, ordered in descending order of this amount", - "params": [ - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec<(SpacewalkPrimitivesVaultId, BalanceWrapper)>", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getVaultsWithIssuableTokens", - "method": "getVaultsWithIssuableTokens", - "section": "vaultRegistry" - }, - "getVaultsWithRedeemableTokens": { - "description": "Get all vaults with non-zero redeemable tokens, ordered in descending order of this amount", - "params": [ - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + { + "minmax": [ + 11200, + null + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { + "_enum": { + "ctypeHash": "Hash", + "attester": "AccountId32" } - ], - "type": "Vec<(SpacewalkPrimitivesVaultId, BalanceWrapper)>", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getVaultsWithRedeemableTokens", - "method": "getVaultsWithRedeemableTokens", - "section": "vaultRegistry" - }, - "getIssueableTokensFromVault": { - "description": "Get the amount of tokens a vault can issue", - "params": [ - { - "name": "vaultId", - "type": "SpacewalkPrimitivesVaultId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] + }, + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + }, + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" + }, + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" + }, + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" + }, + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { + "_enum": { + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getIssueableTokensFromVault", - "method": "getIssueableTokensFromVault", - "section": "vaultRegistry" - }, - "getCollateralizationFromVault": { - "description": "Get the collateralization rate of a vault", - "params": [ - { - "name": "vaultId", - "type": "SpacewalkPrimitivesVaultId" - }, - { - "name": "onlyIssued", - "type": "bool" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" + }, + "KeyRelationship": { + "_enum": { + "Encryption": "Null", + "Verification": "VerificationRelationship" } - ], - "type": "FixedU128", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getCollateralizationFromVault", - "method": "getCollateralizationFromVault", - "section": "vaultRegistry" - }, - "getCollateralizationFromVaultAndCollateral": { - "description": "Get the collateralization rate of a vault and collateral", - "params": [ - { - "name": "vaultId", - "type": "SpacewalkPrimitivesVaultId" - }, - { - "name": "collateral", - "type": "BalanceWrapper" - }, - { - "name": "onlyIssued", - "type": "bool" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" + }, + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { + "_enum": { + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" } - ], - "type": "FixedU128", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getCollateralizationFromVaultAndCollateral", - "method": "getCollateralizationFromVaultAndCollateral", - "section": "vaultRegistry" - }, - "getRequiredCollateralForWrapped": { - "description": "Get the minimum amount of collateral required for the given amount of token with the current threshold and exchange rate", - "params": [ - { - "name": "amount", - "type": "BalanceWrapper" + }, + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] + }, + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] + }, + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] + } + } + } + ] + }, + "dip-provider-runtime-template": { + "runtime": { + "DidApi": [ + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option" }, - { - "name": "currencyId", - "type": "SpacewalkPrimitivesCurrencyId" + "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" }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getRequiredCollateralForWrapped", - "method": "getRequiredCollateralForWrapped", - "section": "vaultRegistry" + }, + "version": 1 }, - "getRequiredCollateralForVault": { - "description": "Get the amount of collateral required for the given vault to be at the current SecureCollateralThreshold with the current exchange rate", - "params": [ - { - "name": "vaultId", - "type": "SpacewalkPrimitivesVaultId" + { + "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" }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "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" } - ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "vaultRegistry_getRequiredCollateralForVault", - "method": "getRequiredCollateralForVault", - "section": "vaultRegistry" + }, + "version": 2 } - }, - "farming": { - "getFarmingRewards": { - "description": "Get farming rewards", - "params": [ - { - "name": "who", - "type": "AccountId" + ], + "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" }, - { - "name": "pid", - "type": "PoolId" + "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" }, - { - "name": "at", - "type": "Hash", - "isOptional": true + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" } - ], - "type": "Vec<(SpacewalkPrimitivesCurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "farming_getFarmingRewards", - "method": "getFarmingRewards", - "section": "farming" + }, + "version": 1 }, - "getGaugeRewards": { - "description": "Get gauge rewards", - "params": [ - { - "name": "who", - "type": "AccountId" + { + "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" }, - { - "name": "pid", - "type": "PoolId" + "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" }, - { - "name": "at", - "type": "Hash", - "isOptional": true + "query": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option" } - ], - "type": "Vec<(SpacewalkPrimitivesCurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "farming_getGaugeRewards", - "method": "getGaugeRewards", - "section": "farming" + }, + "version": 2 + } + ], + "DipProvider": [ + { + "methods": { + "generate_proof": { + "description": "Generate a Merkle proof for the DIP protocol for the specified request parameters.", + "params": [ + { + "name": "request", + "type": "DipProofRequest" + } + ], + "type": "Result" + } + }, + "version": 1 } - } - }, - "instances": { - "council": [ - "generalCouncil" ] }, "types": [ { "minmax": [ 0, - null + 8 ], "types": { - "OracleKey": {}, - "CurrencyId": {}, - "NumberOrHex": "u128", - "BalanceWrapper": { - "amount": "String" + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithDualRefCount", + "Address": "AccountId", + "Attestation": { + "ctypeHash": "Hash", + "attester": "AccountId", + "delegationId": "Option", + "revoked": "bool" + }, + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" + }, + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" + }, + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" + }, + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + }, + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } + }, + "XcmError": { + "_enum": { + "Undefined": 0, + "Unimplemented": 1, + "UnhandledXcmVersion": 2, + "UnhandledXcmMessage": 3, + "UnhandledEffect": 4, + "EscalationOfPrivilege": 5, + "UntrustedReserveLocation": 6, + "UntrustedTeleportLocation": 7, + "DestinationBufferOverflow": 8, + "CannotReachDestination": 9, + "MultiLocationFull": 10, + "FailedToDecode": 11, + "BadOrigin": 12, + "ExceedsMaxMessageSize": 13, + "FailedToTransactAsset": 14 + } + }, + "ReferendumInfo": { + "_enum": { + "Ongoing": "ReferendumStatus", + "Finished": "ReferendumInfoFinished" + } + } + } + }, + { + "minmax": [ + 9, + 9 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "DidIdentifierOf", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "DidIdentifierOf", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10, + 11 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "UnsignedFixedPoint": "u128", - "SpacewalkPrimitivesCurrencyId": { + "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": { - "Native": "Null", - "XCM": "u8", - "Stellar": "SpacewalkPrimitivesAsset", - "ZenlinkLPToken": "(u8,u8,u8,u8)" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" } }, - "SpacewalkPrimitivesAsset": { + "DidEncryptionKey": { "_enum": { - "StellarNative": "Null", - "AlphaNum4": { - "code": "[u8;4]", - "issuer": "[u8;32]" - }, - "AlphaNum12": { - "code": "[u8;12]", - "issuer": "[u8;32]" - } + "X25519": "[u8; 32]" } }, - "SpacewalkPrimitivesVaultId": { - "accountId": "AccountId32", - "currencies": "SpacewalkPrimitivesVaultCurrencyPair" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "SpacewalkPrimitivesVaultCurrencyPair": { - "collateral": "SpacewalkPrimitivesCurrencyId", - "wrapped": "SpacewalkPrimitivesCurrencyId" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "PoolId": "u32" - } - } - ], - "alias": {} - }, - "frequency": { - "rpc": { - "frequency": { - "getEvents": { - "description": "Get block Events", - "params": [ - { - "name": "at", - "type": "H256" - } - ], - "type": "Vec" - } - }, - "frequencyTxPayment": { - "computeCapacityFeeDetails": { - "description": "Compute the capacity fee details for a given transaction", - "params": [ - { - "name": "encoded_xt", - "type": "Vec" - }, - { - "name": "at", - "type": "Option" - } - ], - "type": "FeeDetails" - } - }, - "handles": { - "getHandleForMsa": { - "description": "Get handle for a given msa_id", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - } - ], - "type": "Option" - }, - "getMsaForHandle": { - "description": "Get msa_id for a given handle", - "params": [ - { - "name": "display_handle", - "type": "String" - } - ], - "type": "Option" - }, - "getNextSuffixes": { - "description": "Get next suffixes for a given handle and count", - "params": [ - { - "name": "base_handle", - "type": "String" - }, - { - "name": "count", - "type": "u16" - } - ], - "type": "PresumptiveSuffixesResponse" - }, - "validateHandle": { - "description": "Check whether the supplied handle passes all the checks performed by claim_handle call.", - "params": [ - { - "name": "base_handle", - "type": "String" - } - ], - "type": "bool" - } - }, - "messages": { - "getBySchemaId": { - "description": "Get messages by schemaId paginated", - "params": [ - { - "name": "schema_id", - "type": "SchemaId" - }, - { - "name": "pagination", - "type": "BlockPaginationRequest" - } - ], - "type": "BlockPaginationResponseMessage" - } - }, - "msa": { - "checkDelegations": { - "description": "Test a list of MSAs to see if they have delegated to the provider MSA", - "params": [ - { - "name": "delegator_msa_ids", - "type": "Vec" - }, - { - "name": "provider_msa_id", - "type": "ProviderId" - }, - { - "name": "block_number", - "type": "BlockNumber" - }, - { - "name": "schema_id", - "type": "Option" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" } - ], - "type": "Vec<(DelegatorId, bool)>" - }, - "grantedSchemaIdsByMsaId": { - "description": "Fetch the list of schema ids that a delegator has granted to provider", - "params": [ - { - "name": "delegator_msa_id", - "type": "DelegatorId" - }, - { - "name": "provider_msa_id", - "type": "ProviderId" + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } - ], - "type": "Option>" - }, - "getKeysByMsaId": { - "description": "Fetch Keys for an MSA Id", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } - ], - "type": "Option" - } - }, - "schemas": { - "getBySchemaId": { - "description": "Get a Schema by Id", - "params": [ - { - "name": "schema_id", - "type": "SchemaId" + }, + "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" } - ], - "type": "Option" - }, - "checkSchemaValidity": { - "description": "", - "params": [ - { - "name": "model", - "type": "SchemaModel" - }, - { - "name": "at", - "type": "BlockHash", - "isOptional": true + }, + "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" } - ], - "type": "bool" - }, - "getVersions": { - "description": "Get different versions and schema ids for a complete schema name or only a namespace", - "params": [ - { - "name": "schema_name", - "type": "String" + }, + "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" } - ], - "type": "Option>" + } } }, - "statefulStorage": { - "getPaginatedStorage": { - "description": "Gets pages of stateful storage", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - }, - { - "name": "schema_id", - "type": "SchemaId" - } - ], - "type": "Vec" - }, - "getItemizedStorage": { - "description": "Gets itemized of stateful storage", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - }, - { - "name": "schema_id", - "type": "SchemaId" + { + "minmax": [ + 12, + 16 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } - ], - "type": "ItemizedStoragePageResponse" - } - } - }, - "runtime": { - "AdditionalRuntimeApi": [ - { - "methods": { - "get_events": { - "description": "Get the events with simple SCALE decoding", - "params": [], - "type": "Vec" + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" } }, - "version": 1 - } - ], - "CapacityTransactionPaymentRuntimeApi": [ - { - "methods": { - "compute_capacity_fee": { - "description": "Compute the capacity fee for a given transaction", - "params": [ - { - "name": "encoded_xt", - "type": "Vec" - }, - { - "name": "at", - "type": "Option" - } - ], - "type": "FeeDetails" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } - } - } - ], - "HandlesRuntimeApi": [ - { - "methods": { - "get_handle_for_msa": { - "description": "Get handle for a given msa_id", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - } - ], - "type": "Option" - }, - "get_msa_for_handle": { - "description": "Get msa_id for a given handle", - "params": [ - { - "name": "display_handle", - "type": "Vec" - } - ], - "type": "Option" - }, - "get_next_suffixes": { - "description": "Get next suffixes for a given handle and count", - "params": [ - { - "name": "base_handle", - "type": "Vec" - }, - { - "name": "count", - "type": "u16" - } - ], - "type": "PresumptiveSuffixesResponse" - }, - "validate_handle": { - "description": "Check whether the supplied handle passes all the checks performed by claim_handle call.", - "params": [ - { - "name": "base_handle", - "type": "String" - } - ], - "type": "bool" + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "version": 2 - } - ], - "MessagesRuntimeApi": [ - { - "methods": { - "get_messages_by_schema_and_block": { - "description": "Retrieve the messages for a particular schema and block number", - "params": [ - { - "name": "schema_id", - "type": "SchemaId" - }, - { - "name": "schema_payload_location", - "type": "PayloadLocation" - }, - { - "name": "block_number", - "type": "BlockNumber" - } - ], - "type": "Vec" - }, - "get_schema_by_id": { - "description": "Retrieve a schema by id", - "params": [ - { - "name": "schema_id", - "type": "SchemaId" - } - ], - "type": "Option" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "version": 1 - } - ], - "MsaRuntimeApi": [ - { - "methods": { - "has_delegation": { - "description": "Check to see if a delegation existed between the given delegator and provider at a given block", - "params": [ - { - "name": "delegator_id", - "type": "DelegatorId" - }, - { - "name": "provider_id", - "type": "ProviderId" - }, - { - "name": "block_number", - "type": "BlockNumber" - }, - { - "name": "schema_id", - "type": "Option" - } - ], - "type": "bool" - }, - "get_granted_schemas_by_msa_id": { - "description": "Get the list of schema ids (if any) that exist in any delegation between the delegator and provider", - "params": [ - { - "name": "delegator_id", - "type": "DelegatorId" - }, - { - "name": "provider_id", - "type": "ProviderId" - } - ], - "type": "Option>" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "version": 1 - }, - { - "methods": { - "has_delegation": { - "description": "Check to see if a delegation existed between the given delegator and provider at a given block", - "params": [ - { - "name": "delegator_id", - "type": "DelegatorId" - }, - { - "name": "provider_id", - "type": "ProviderId" - }, - { - "name": "block_number", - "type": "BlockNumber" - }, - { - "name": "schema_id", - "type": "Option" - } - ], - "type": "bool" - }, - "get_granted_schemas_by_msa_id": { - "description": "Get the list of schema ids (if any) that exist in any delegation between the delegator and provider", - "params": [ - { - "name": "delegator_id", - "type": "DelegatorId" - }, - { - "name": "provider_id", - "type": "ProviderId" - } - ], - "type": "Option>" + "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" } }, - "version": 2 - } - ], - "SchemasRuntimeApi": [ - { - "methods": { - "get_schema_by_id": { - "description": "Fetch the schema by id", - "params": [ - { - "name": "schema_id", - "type": "SchemaId" - } - ], - "type": "Option" - }, - "get_schema_versions_by_name": { - "description": "Fetch the schema versions by name", - "params": [ - { - "name": "schema_name", - "type": "Vec" - } - ], - "type": "Option>" + "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" } }, - "version": 2 - } - ], - "StatefulStorageRuntimeApi": [ - { - "methods": { - "get_paginated_storage": { - "description": "Fetch the stateful paginated storage by msa_id and schema_id", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - }, - { - "name": "schema_id", - "type": "SchemaId" - } - ], - "type": "Result, SpRuntimeDispatchError>" - }, - "get_itemized_storage": { - "description": "Fetch the stateful itemized storage by msa_id and schema_id", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - }, - { - "name": "schema_id", - "type": "SchemaId" - } - ], - "type": "Result" + "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" } }, - "version": 1 + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + } } - ] - }, - "signedExtensions": { - "CheckFreeExtrinsicUse": { - "extrinsic": {}, - "payload": {} }, - "HandlesSignedExtension": { - "extrinsic": {}, - "payload": {} - } - }, - "types": [ { "minmax": [ - 0, - null + 17, + 17 ], "types": { - "RpcEvent": { - "phase": "Option", - "pallet": "u8", - "event": "u8", - "data": "Vec" + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "HandleSuffix": "u16", - "HandleResponse": { - "base_handle": "String", - "canonical_base": "String", - "suffix": "u16" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "PresumptiveSuffixesResponse": { - "suffixes": "Vec", - "base_handle": "String" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "BlockPaginationRequest": { - "from_block": "BlockNumber", - "from_index": "u32", - "to_block": "BlockNumber", - "page_size": "u32" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "MessageResponse": { - "payload": "Option>", - "cid": "Option>", - "provider_msa_id": "MessageSourceId", - "msa_id": "Option", - "index": "u16", - "block_number": "BlockNumber", - "payload_length": "Option" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "BlockPaginationResponseMessage": { - "content": "Vec", - "has_next": "bool", - "next_block": "Option", - "next_index": "Option" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "MessageSourceId": "u64", - "DelegatorId": "MessageSourceId", - "ProviderId": "MessageSourceId", - "KeyInfoResponse": { - "msa_keys": "Vec", - "msa_id": "MessageSourceId" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "SchemaGrantResponse": { - "schema_id": "SchemaId", - "revoked_at": "BlockNumber" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "SchemaId": "u16", - "SchemaModel": "Vec", - "SchemaVersion": "u8", - "SchemaResponse": { - "schema_id": "SchemaId", - "model": "SchemaModel", - "model_type": "ModelType", - "payload_location": "PayloadLocation", - "settings": "Vec" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "ModelType": { + "SignatureError": { "_enum": [ - "AvroBinary", - "Parquet" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "PayloadLocation": { + "KeyError": { "_enum": [ - "OnChain", - "IPFS", - "Itemized", - "Paginated" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "SchemaSetting": { + "UrlError": { "_enum": [ - "AppendOnly", - "SignatureRequired" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "SchemaVersionResponse": { - "schema_name": "String", - "schema_version": "SchemaVersion", - "schema_id": "SchemaId" - }, - "PageId": "u16", - "PageHash": "u32", - "PageNonce": "u16", - "ItemizedStorageResponse": { - "index": "u16", - "payload": "Vec" - }, - "PaginatedStorageResponse": { - "page_id": "PageId", - "msa_id": "MessageSourceId", - "schema_id": "SchemaId", - "content_hash": "PageHash", - "nonce": "PageNonce", - "payload": "Vec" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "ItemizedStoragePageResponse": { - "msa_id": "MessageSourceId", - "schema_id": "SchemaId", - "content_hash": "PageHash", - "nonce": "PageNonce", - "items": "Vec" - } - } - } - ] - }, - "frequency-testnet": { - "rpc": { - "frequency": { - "getEvents": { - "description": "Get block Events", - "params": [ - { - "name": "at", - "type": "H256" - } - ], - "type": "Vec" - } - }, - "frequencyTxPayment": { - "computeCapacityFeeDetails": { - "description": "Compute the capacity fee details for a given transaction", - "params": [ - { - "name": "encoded_xt", - "type": "Vec" - }, - { - "name": "at", - "type": "Option" - } - ], - "type": "FeeDetails" - } - }, - "handles": { - "getHandleForMsa": { - "description": "Get handle for a given msa_id", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - } - ], - "type": "Option" - }, - "getMsaForHandle": { - "description": "Get msa_id for a given handle", - "params": [ - { - "name": "display_handle", - "type": "String" - } - ], - "type": "Option" - }, - "getNextSuffixes": { - "description": "Get next suffixes for a given handle and count", - "params": [ - { - "name": "base_handle", - "type": "String" - }, - { - "name": "count", - "type": "u16" - } - ], - "type": "PresumptiveSuffixesResponse" - }, - "validateHandle": { - "description": "Check whether the supplied handle passes all the checks performed by claim_handle call.", - "params": [ - { - "name": "base_handle", - "type": "String" - } - ], - "type": "bool" - } - }, - "messages": { - "getBySchemaId": { - "description": "Get messages by schemaId paginated", - "params": [ - { - "name": "schema_id", - "type": "SchemaId" - }, - { - "name": "pagination", - "type": "BlockPaginationRequest" - } - ], - "type": "BlockPaginationResponseMessage" - } - }, - "msa": { - "checkDelegations": { - "description": "Test a list of MSAs to see if they have delegated to the provider MSA", - "params": [ - { - "name": "delegator_msa_ids", - "type": "Vec" - }, - { - "name": "provider_msa_id", - "type": "ProviderId" - }, - { - "name": "block_number", - "type": "BlockNumber" - }, - { - "name": "schema_id", - "type": "Option" - } - ], - "type": "Vec<(DelegatorId, bool)>" - }, - "grantedSchemaIdsByMsaId": { - "description": "Fetch the list of schema ids that a delegator has granted to provider", - "params": [ - { - "name": "delegator_msa_id", - "type": "DelegatorId" - }, - { - "name": "provider_msa_id", - "type": "ProviderId" - } - ], - "type": "Option>" - }, - "getKeysByMsaId": { - "description": "Fetch Keys for an MSA Id", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - } - ], - "type": "Option" - } - }, - "schemas": { - "getBySchemaId": { - "description": "Get a Schema by Id", - "params": [ - { - "name": "schema_id", - "type": "SchemaId" - } - ], - "type": "Option" - }, - "checkSchemaValidity": { - "description": "", - "params": [ - { - "name": "model", - "type": "SchemaModel" - }, - { - "name": "at", - "type": "BlockHash", - "isOptional": true - } - ], - "type": "bool" - }, - "getVersions": { - "description": "Get different versions and schema ids for a complete schema name or only a namespace", - "params": [ - { - "name": "schema_name", - "type": "String" - } - ], - "type": "Option>" - } - }, - "statefulStorage": { - "getPaginatedStorage": { - "description": "Gets pages of stateful storage", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - }, - { - "name": "schema_id", - "type": "SchemaId" - } - ], - "type": "Vec" - }, - "getItemizedStorage": { - "description": "Gets itemized of stateful storage", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - }, - { - "name": "schema_id", - "type": "SchemaId" - } - ], - "type": "ItemizedStoragePageResponse" - } - } - }, - "runtime": { - "AdditionalRuntimeApi": [ - { - "methods": { - "get_events": { - "description": "Get the events with simple SCALE decoding", - "params": [], - "type": "Vec" - } + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "version": 1 - } - ], - "CapacityTransactionPaymentRuntimeApi": [ - { - "methods": { - "compute_capacity_fee": { - "description": "Compute the capacity fee for a given transaction", - "params": [ - { - "name": "encoded_xt", - "type": "Vec" - }, - { - "name": "at", - "type": "Option" - } - ], - "type": "FeeDetails" - } - } - } - ], - "HandlesRuntimeApi": [ - { - "methods": { - "get_handle_for_msa": { - "description": "Get handle for a given msa_id", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - } - ], - "type": "Option" - }, - "get_msa_for_handle": { - "description": "Get msa_id for a given handle", - "params": [ - { - "name": "display_handle", - "type": "Vec" - } - ], - "type": "Option" - }, - "get_next_suffixes": { - "description": "Get next suffixes for a given handle and count", - "params": [ - { - "name": "base_handle", - "type": "Vec" - }, - { - "name": "count", - "type": "u16" - } - ], - "type": "PresumptiveSuffixesResponse" - }, - "validate_handle": { - "description": "Check whether the supplied handle passes all the checks performed by claim_handle call.", - "params": [ - { - "name": "base_handle", - "type": "String" - } - ], - "type": "bool" - } + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "version": 2 - } - ], - "MessagesRuntimeApi": [ - { - "methods": { - "get_messages_by_schema_and_block": { - "description": "Retrieve the messages for a particular schema and block number", - "params": [ - { - "name": "schema_id", - "type": "SchemaId" - }, - { - "name": "schema_payload_location", - "type": "PayloadLocation" - }, - { - "name": "block_number", - "type": "BlockNumber" - } - ], - "type": "Vec" - }, - "get_schema_by_id": { - "description": "Retrieve a schema by id", - "params": [ - { - "name": "schema_id", - "type": "SchemaId" - } - ], - "type": "Option" - } + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "version": 1 - } - ], - "MsaRuntimeApi": [ - { - "methods": { - "has_delegation": { - "description": "Check to see if a delegation existed between the given delegator and provider at a given block", - "params": [ - { - "name": "delegator_id", - "type": "DelegatorId" - }, - { - "name": "provider_id", - "type": "ProviderId" - }, - { - "name": "block_number", - "type": "BlockNumber" - }, - { - "name": "schema_id", - "type": "Option" - } - ], - "type": "bool" - }, - "get_granted_schemas_by_msa_id": { - "description": "Get the list of schema ids (if any) that exist in any delegation between the delegator and provider", - "params": [ - { - "name": "delegator_id", - "type": "DelegatorId" - }, - { - "name": "provider_id", - "type": "ProviderId" - } - ], - "type": "Option>" - } + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" }, - "version": 1 - }, - { - "methods": { - "has_delegation": { - "description": "Check to see if a delegation existed between the given delegator and provider at a given block", - "params": [ - { - "name": "delegator_id", - "type": "DelegatorId" - }, - { - "name": "provider_id", - "type": "ProviderId" - }, - { - "name": "block_number", - "type": "BlockNumber" - }, - { - "name": "schema_id", - "type": "Option" - } - ], - "type": "bool" - }, - "get_granted_schemas_by_msa_id": { - "description": "Get the list of schema ids (if any) that exist in any delegation between the delegator and provider", - "params": [ - { - "name": "delegator_id", - "type": "DelegatorId" - }, - { - "name": "provider_id", - "type": "ProviderId" - } - ], - "type": "Option>" + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "version": 2 - } - ], - "SchemasRuntimeApi": [ - { - "methods": { - "get_schema_by_id": { - "description": "Fetch the schema by id", - "params": [ - { - "name": "schema_id", - "type": "SchemaId" - } - ], - "type": "Option" - }, - "get_schema_versions_by_name": { - "description": "Fetch the schema versions by name", - "params": [ - { - "name": "schema_name", - "type": "Vec" - } - ], - "type": "Option>" + "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" } }, - "version": 2 - } - ], - "StatefulStorageRuntimeApi": [ - { - "methods": { - "get_paginated_storage": { - "description": "Fetch the stateful paginated storage by msa_id and schema_id", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - }, - { - "name": "schema_id", - "type": "SchemaId" - } - ], - "type": "Result, SpRuntimeDispatchError>" - }, - "get_itemized_storage": { - "description": "Fetch the stateful itemized storage by msa_id and schema_id", - "params": [ - { - "name": "msa_id", - "type": "MessageSourceId" - }, - { - "name": "schema_id", - "type": "SchemaId" - } - ], - "type": "Result" + "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" } }, - "version": 1 + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } } - ] - }, - "signedExtensions": { - "CheckFreeExtrinsicUse": { - "extrinsic": {}, - "payload": {} }, - "HandlesSignedExtension": { - "extrinsic": {}, - "payload": {} - } - }, - "types": [ { "minmax": [ - 0, - null + 18, + 18 ], "types": { - "RpcEvent": { - "phase": "Option", - "pallet": "u8", - "event": "u8", - "data": "Vec" + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "HandleSuffix": "u16", - "HandleResponse": { - "base_handle": "String", - "canonical_base": "String", - "suffix": "u16" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "PresumptiveSuffixesResponse": { - "suffixes": "Vec", - "base_handle": "String" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "BlockPaginationRequest": { - "from_block": "BlockNumber", - "from_index": "u32", - "to_block": "BlockNumber", - "page_size": "u32" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "MessageResponse": { - "payload": "Option>", - "cid": "Option>", - "provider_msa_id": "MessageSourceId", - "msa_id": "Option", - "index": "u16", - "block_number": "BlockNumber", - "payload_length": "Option" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "BlockPaginationResponseMessage": { - "content": "Vec", - "has_next": "bool", - "next_block": "Option", - "next_index": "Option" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "MessageSourceId": "u64", - "DelegatorId": "MessageSourceId", - "ProviderId": "MessageSourceId", - "KeyInfoResponse": { - "msa_keys": "Vec", - "msa_id": "MessageSourceId" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "SchemaGrantResponse": { - "schema_id": "SchemaId", - "revoked_at": "BlockNumber" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "SchemaId": "u16", - "SchemaModel": "Vec", - "SchemaVersion": "u8", - "SchemaResponse": { - "schema_id": "SchemaId", - "model": "SchemaModel", - "model_type": "ModelType", - "payload_location": "PayloadLocation", - "settings": "Vec" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "ModelType": { + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { "_enum": [ - "AvroBinary", - "Parquet" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "PayloadLocation": { + "KeyError": { "_enum": [ - "OnChain", - "IPFS", - "Itemized", - "Paginated" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "SchemaSetting": { + "UrlError": { "_enum": [ - "AppendOnly", - "SignatureRequired" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "SchemaVersionResponse": { - "schema_name": "String", - "schema_version": "SchemaVersion", - "schema_id": "SchemaId" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "PageId": "u16", - "PageHash": "u32", - "PageNonce": "u16", - "ItemizedStorageResponse": { - "index": "u16", - "payload": "Vec" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "PaginatedStorageResponse": { - "page_id": "PageId", - "msa_id": "MessageSourceId", - "schema_id": "SchemaId", - "content_hash": "PageHash", - "nonce": "PageNonce", - "payload": "Vec" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "ItemizedStoragePageResponse": { - "msa_id": "MessageSourceId", - "schema_id": "SchemaId", - "content_hash": "PageHash", - "nonce": "PageNonce", - "items": "Vec" - } - } - } - ] - }, - "galital": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Account": { - "nonce": "U256", - "balance": "U256" + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "Transaction": { - "nonce": "U256", - "action": "String", - "gas_price": "u64", - "gas_limit": "u64", - "value": "U256", - "input": "Vec", - "signature": "Signature" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "ChainId": "u8", - "ResourceId": "[u8; 32]", - "DepositNonce": "u64", - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "status": "u8", - "expiry": "U256" + "HttpUrl": { + "payload": "Text" }, - "ClassId": "u64", - "TokenId": "u64", - "ClassData": "Vec", - "TokenData": "Vec", - "ReportReason": { - "_enum": [ - "None", - "Illigal", - "Plagiarism", - "Duplicate", - "Reported" - ] + "FtpUrl": { + "payload": "Text" }, - "ClassInfoOf": { - "metadata": "Vec", - "total_issuance": "TokenId", - "owner": "AccountId", - "class_data": "ClassData" + "IpfsUrl": { + "payload": "Text" }, - "ExtendedInfo": { - "display_flag": "bool", - "report": "ReportReason", - "frozen": "bool" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "TokenInfoOf": { - "metadata": "Vec", + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { "owner": "AccountId", - "class_data": "ClassData" - } - } - } - ] - }, - "galital-collator": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "AccountId", - "LookupSource": "AccountId", - "Account": { - "nonce": "U256", - "balance": "U256" + "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" + } }, - "Transaction": { - "nonce": "U256", - "action": "String", - "gas_price": "u64", - "gas_limit": "u64", - "value": "U256", - "input": "Vec", - "signature": "Signature" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "Signature": { - "v": "u64", - "r": "H256", - "s": "H256" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "ClassId": "u64", - "TokenId": "u64", - "ClassData": "Vec", - "TokenData": "Vec", - "ReportReason": { + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { "_enum": [ - "None", - "Illigal", - "Plagiarism", - "Duplicate", - "Reported" + "V1", + "V2" ] }, - "ClassInfoOf": { - "metadata": "Vec", - "total_issuance": "TokenId", - "owner": "AccountId", - "class_data": "ClassData" - }, - "ExtendedInfo": { - "display_flag": "bool", - "report": "ReportReason", - "frozen": "bool" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "TokenInfoOf": { - "metadata": "Vec", - "owner": "AccountId", - "class_data": "ClassData" + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" } } - } - ] - }, - "gamepower": { - "types": [ + }, { "minmax": [ - 0, - null + 19, + 19 ], "types": { - "AccountInfo": "AccountInfoWithDualRefCount", - "AssetId": "u64", - "SeriesId": "u64", - "ClassId": "u32", - "ClassIdOf": "ClassId", - "ClassInfoOf": "ClassInfo", - "TokenId": "u64", - "TokenIdOf": "TokenId", - "TokenInfoOf": "TokenInfo", - "ClassInfo": { - "metadata": "Vec", - "total_issuance": "TokenId", - "owner": "AccountId", - "data": "NftClassData" + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "TokenInfo": { - "metadata": "Vec", - "owner": "AccountId", - "data": "NftAssetData" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "NftSeriesData": { - "name": "Vec", - "owner": "AccountId", - "properties": "Vec" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "NftClassData": { - "deposit": "Balance", - "properties": "Vec", - "token_type": "TokenType", - "collection_type": "CollectionType", - "total_supply": "u64", - "initial_supply": "u64" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "NftAssetData": { - "deposit": "Balance", - "name": "Vec", - "description": "Vec", - "properties": "Vec" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "TokenType": { - "_enum": [ - "Transferrable", - "BoundToAddress" - ] + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "CollectionType": { + "DidVerificationKeyRelationship": { "_enum": [ - "Collectable", - "Wearable", - "Executable" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "ClassProperties": { - "Transferrable": "bool", - "Burnable": "bool" - } - } - } - ] - }, - "gargantua": {}, - "hack-hydra-dx": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "Address": "AccountId", - "OrmlAccountData": { - "free": "Balance", - "frozen": "Balance", - "reserved": "Balance" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "Fee": { - "numerator": "u32", - "denominator": "u32" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "BalanceInfo": { - "amount": "Balance", - "assetId": "AssetId" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "CurrencyId": "AssetId", - "CurrencyIdOf": "AssetId", - "Intention": { - "who": "AccountId", - "asset_sell": "AssetId", - "asset_buy": "AssetId", - "amount": "Balance", - "discount": "bool", - "sell_or_buy": "IntentionType" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "IntentionId": "u128", - "IntentionType": { + "KeyError": { "_enum": [ - "SELL", - "BUY" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "LookupSource": "AccountId", - "OrderedSet": "Vec", - "Price": "Balance", - "Chain": { - "genesisHash": "Vec", - "lastBlockHash": "Vec" - } - } - } - ] - }, - "halongbay": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "RelayChainAccountId": "H256", - "RoundIndex": "u32", - "SettingStruct": { - "bond_duration": "u32", - "blocks_per_round": "u32", - "desired_target": "u32" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "Bond": { + "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" }, - "UnBondChunk": { - "value": "Balance", - "round": "u32" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "StakingNominators": { - "nominations": "Vec", - "total": "Balance", - "unbonding": "Vec", - "claimed_rewards": "Vec" - } - } - } - ] - }, - "hanonycash": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Difficulty": "U256", - "DifficultyAndTimestamp": { - "difficulty": "Difficulty", - "timestamp": "Moment" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "Era": { - "genesisBlockHash": "H256", - "finalBlockHash": "H256", - "finalStateRoot": "H256" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "RefCount": "u8" - } - } - ] - }, - "heiko": { - "rpc": { - "oracle": { - "getValue": { - "description": "Retrieves the oracle value for a given key.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "key", - "type": "OracleKey" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Option", - "isSubscription": false, - "jsonrpc": "oracle_getValue", - "method": "getValue", - "section": "oracle" - }, - "getAllValues": { - "description": "Retrieves all oracle values.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec<(OracleKey, Option)>", - "isSubscription": false, - "jsonrpc": "oracle_getAllValues", - "method": "getAllValues", - "section": "oracle" - } - }, - "tokens": { - "queryExistentialDeposit": { - "description": "Query Existential Deposit for a given currency.", - "params": [ - { - "name": "currencyId", - "type": "CurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "NumberOrHex", - "isSubscription": false, - "jsonrpc": "tokens_queryExistentialDeposit", - "method": "queryExistentialDeposit", - "section": "tokens" - } - }, - "loans": { - "getCollateralLiquidity": { - "description": "Retrieves collateral liquidity for the given user.", - "params": [ - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "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" } - ], - "type": "(Liquidity, Shortfall, Liquidity, Shortfall)", - "isSubscription": false, - "jsonrpc": "loans_getCollateralLiquidity", - "method": "getCollateralLiquidity", - "section": "loans" - }, - "getLiquidationThresholdLiquidity": { - "description": "Retrieves liquidation threshold liquidity for the given user.", - "params": [ - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "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" } - ], - "type": "(Liquidity, Shortfall, Liquidity, Shortfall)", - "isSubscription": false, - "jsonrpc": "loans_getLiquidationThresholdLiquidity", - "method": "getLiquidationThresholdLiquidity", - "section": "loans" - }, - "getMarketStatus": { - "description": "Retrieves market status data for a given asset id.", - "params": [ - { - "name": "asset_id", - "type": "CurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } - ], - "type": "(Rate, Rate, Rate, Ratio, Balance, Balance, FixedU128)", - "isSubscription": false, - "jsonrpc": "loans_getMarketStatus", - "method": "getMarketStatus", - "section": "loans" + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } } }, - "router": { - "getBestRoute": { - "description": "Returns the route that results in the largest amount out for amount in", - "params": [ - { - "name": "amount", - "type": "Balance" - }, - { - "name": "token_in", - "type": "CurrencyId" - }, - { - "name": "token_out", - "type": "CurrencyId" - }, - { - "name": "reversed", - "type": "bool" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Vec, FixedU128)", - "isSubscription": false, - "jsonrpc": "router_getBestRoute", - "method": "getBestRoute", - "section": "router" - } - } - }, - "instances": { - "council": [ - "generalCouncil" - ] - }, - "types": [ { "minmax": [ - 0, - null + 20, + 20 ], "types": { - "CallOf": "Call", - "DispatchTime": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" - }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "DelayedDispatchTime": { + "StorageError": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "u8", - "PoolInfo": { - "isActive": "bool", - "totalDeposited": "Balance", - "unlockHeight": "BlockNumber", - "coolDownDuration": "BlockNumber", - "rewardDuration": "BlockNumber", - "periodFinish": "BlockNumber", - "lastUpdateBlock": "BlockNumber", - "rewardRate": "Balance", - "rewardPerShareStored": "Balance" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "Share": "u128", - "OracleValue": "Price", - "Deposits": { - "voucherBalance": "Balance", - "isCollateral": "bool" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "BorrowSnapshot": { - "principal": "Balance", - "borrowIndex": "u128" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "EarnedSnapshot": { - "totalEarnedPrior": "Balance", - "exchangeRatePrior": "u128" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "JumpModel": { - "baseRate": "Rate", - "jumpRate": "Rate", - "fullRate": "Rate", - "jumpUtilization": "Ratio" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "CurveModel": { - "baseRate": "Rate" + "HttpUrl": { + "payload": "Text" }, - "InterestRateModel": { + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "JumpModel": "JumpModel", - "CurveModel": "CurveModel" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "Market": { - "collateralFactor": "Ratio", - "liquidationThreshold": "Ratio", - "reserveFactor": "Ratio", - "closeFactor": "Ratio", - "liquidateIncentive": "Rate", - "liquidateIncentiveReservedFactor": "Ratio", - "rateModel": "InterestRateModel", - "state": "MarketState", - "supplyCap": "Balance", - "borrowCap": "Balance", - "ptokenId": "CurrencyId" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "MarketState": { - "_enum": [ - "Active", - "Pending", - "Supervision" - ] + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "RewardMarketState": { - "index": "Balance", - "block": "BlockNumber" + "OrderedSet": "BoundedVec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "Liquidity": "FixedU128", - "Shortfall": "FixedU128", - "ReservableAmount": { - "total": "Balance", - "reserved": "Balance" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "MatchingLedger": { - "totalStakeAmount": "ReservableAmount", - "totalUnstakeAmount": "ReservableAmount" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "UnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "StakingLedger": { - "stash": "AccountId", + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", "total": "Balance", - "active": "Balance", - "unlocking": "Vec", - "claimedRewards": "Vec" + "state": "CollatorStatus" }, - "DerivativeIndex": "u16", - "Pool": { - "baseAmount": "Balance", - "quoteAmount": "Balance", - "baseAmountLast": "Balance", - "quoteAmountLast": "Balance", - "lpTokenId": "AssetId", - "blockTimestampLast": "BlockNumber", - "price0CumulativeLast": "Balance", - "price1CumulativeLast": "Balance" + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "Amount": "i128", - "AmountOf": "Amount", - "Rate": "FixedU128", - "Ratio": "Permill", - "Timestamp": "u64", - "PriceDetail": "(Price, Timestamp)", - "CurrencyId": "AssetId", - "CurrencyIdOf": "CurrencyId", - "Currency": "CurrencyId", - "AssetIdOf": "AssetId", - "OracleKey": "AssetId", - "BoundedBalance": "BoundedVec<(Balance, BlockNumber), u32>", - "UserPosition": { - "depositBalance": "Balance", - "lockBalanceItems": "BoundedBalance", - "rewardAmount": "Balance", - "rewardPerSharePaid": "Balance" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "Route": "Vec<(AssetId, AssetId)>", - "VaultPhase": { - "_enum": [ - "Pending", - "Contributing", - "Closed", - "Failed", - "Succeeded", - "Expired" - ] + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "ContributionStrategy": { - "_enum": [ - "XCM", - "XCMPROXY" - ] + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "ChildStorageKind": { + "DelegationStorageVersion": { "_enum": [ - "Pending", - "Flying", - "Contributed" + "V1", + "V2" ] }, - "TrieIndex": "u32", - "LeasePeriod": "BlockNumber", - "Vault": { - "ctoken": "AssetId", - "phase": "VaultPhase", - "contributed": "Balance", - "pending": "Balance", - "flying": "Balance", - "contributionStrategy": "ContributionStrategy", - "cap": "Balance", - "endBlock": "BlockNumber", - "trieIndex": "TrieIndex", - "leaseStart": "LeasePeriod", - "leaseEnd": "LeasePeriod" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "XcmWeightFeeMisc": { - "weight": "Weight", - "fee": "Balance" + "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" + } }, - "XcmCall": { + "ContentType": { "_enum": [ - "Bond", - "BondExtra", - "Unbond", - "Rebond", - "WithdrawUnbonded", - "Nominate", - "Contribute", - "Withdraw", - "AddMemo" + "ApplicationJson", + "ApplicationJsonLd" ] }, - "BridgeToken": { - "id": "CurrencyId", - "external": "bool", - "fee": "Balance" - }, - "ProposalStatus": { + "DidStorageVersion": { "_enum": [ - "Initiated", - "Approved", - "Rejected" + "V1", + "V2" ] }, - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "TAssetBalance": "u128" - } - } - ], - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" - } - } - }, - "hydra-dx": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Amount": "i128", - "AmountOf": "Amount", - "Address": "AccountId", - "OrmlAccountData": { - "free": "Balance", - "frozen": "Balance", - "reserved": "Balance" - }, - "Fee": { - "numerator": "u32", - "denominator": "u32" - }, - "BalanceInfo": { - "amount": "Balance", - "assetId": "AssetId" - }, - "CurrencyId": "AssetId", - "CurrencyIdOf": "AssetId", - "Intention": { - "who": "AccountId", - "asset_sell": "AssetId", - "asset_buy": "AssetId", - "amount": "Balance", - "discount": "bool", - "sell_or_buy": "IntentionType" - }, - "IntentionId": "u128", - "IntentionType": { + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "SELL", - "BUY" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" ] }, - "LookupSource": "AccountId", - "OrderedSet": "Vec", - "Price": "Balance", - "Chain": { - "genesisHash": "Vec", - "lastBlockHash": "Vec" - } - } - } - ] - }, - "hyperbridge": {}, - "idavoll": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "AccountId", - "LookupSource": "AccountId" - } - } - ] - }, - "imbue": { - "rpc": { - "proposals": { - "getProjectKitty": { - "description": "Get the escrow address associated with a project", - "params": [ - { - "name": "project_id", - "type": "u32" - } - ], - "type": "AccountId" - } - } - }, - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress" + "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" } - } - ] - }, - "integritee-parachain": { - "types": [ + }, { "minmax": [ - 0, - null + 21, + 22 ], "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", - "Enclave": { - "mrenclave": "Hash", - "pubkey": "AccountId", - "timestamp": "u64", - "url": "Text" - }, + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", "LookupSource": "MultiAddress", - "Request": { - "cyphertext": "Vec", - "shard": "ShardIdentifier" + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "ShardIdentifier": "Hash" - } - } - ] - }, - "interbtc-parachain": { - "default": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "BalanceWrapper": { - "amount": "String" - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "ForeignAsset": "ForeignAssetId", - "LendToken": "LendTokenId", - "LpToken": "(LpToken, LpToken)", - "StableLpToken": "StablePoolId" - } - }, - "LpToken": { - "_enum": { - "Token": "TokenSymbol", - "ForeignAsset": "ForeignAssetId", - "StableLpToken": "StablePoolId" - } - }, - "InterbtcPrimitivesCurrencyId": { - "_enum": { - "Token": "InterbtcPrimitivesTokenSymbol", - "ForeignAsset": "InterbtcForeignAssetId", - "LendToken": "InterbtcLendTokenId", - "LpToken": "(InterbtcLpToken, InterbtcLpToken)", - "StableLpToken": "InterbtcStablePoolId" - } - }, - "InterbtcLpToken": { - "_enum": { - "Token": "InterbtcPrimitivesTokenSymbol", - "ForeignAsset": "InterbtcForeignAssetId", - "StableLpToken": "InterbtcStablePoolId" - } - }, - "InterbtcForeignAssetId": "u32", - "ForeignAssetId": "u32", - "InterbtcLendTokenId": "u32", - "InterbtcStablePoolId": "u32", - "LendTokenId": "u32", - "StablePoolId": "u32", - "NumberOrHex": { - "_enum": { - "Number": "u64", - "Hex": "U256" - } - }, - "Rate": "FixedU128", - "Ratio": "Permill", - "Liquidity": "FixedU128", - "Shortfall": "FixedU128", - "FundAccountJsonRpcRequest": { - "account_id": "AccountId", - "currency_id": "InterbtcPrimitivesCurrencyId" - }, - "H256Le": "H256", - "SignedFixedPoint": "FixedU128", - "TokenSymbol": { - "_enum": { - "DOT": 0, - "IBTC": 1, - "INTR": 2, - "KSM": 10, - "KBTC": 11, - "KINT": 12 - } - }, - "InterbtcPrimitivesTokenSymbol": { - "_enum": { - "DOT": 0, - "IBTC": 1, - "INTR": 2, - "KSM": 10, - "KBTC": 11, - "KINT": 12 - } - }, - "UnsignedFixedPoint": "FixedU128", - "VaultCurrencyPair": { - "collateral": "CurrencyId", - "wrapped": "CurrencyId" - }, - "VaultId": { - "account_id": "AccountId", - "currencies": "VaultCurrencyPair" + "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]" } - } - } - ], - "rpc": { - "btcRelay": { - "verifyBlockHeaderInclusion": { - "description": "Verify that the block with the given hash is included", - "params": [ - { - "name": "block_hash", - "type": "H256Le" - } - ], - "type": "void" - } - }, - "escrow": { - "balanceAt": { - "description": "Get a given user's escrowed balance", - "params": [ - { - "name": "account_id", - "type": "AccountId" - }, - { - "name": "height", - "type": "Option" - } - ], - "type": "BalanceWrapper" }, - "totalSupply": { - "description": "Get the total voting supply in the system", - "params": [ - { - "name": "height", - "type": "Option" - } - ], - "type": "BalanceWrapper" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "freeStakable": { - "description": "Amount of kint/intr that account can lock, taking into consideration the Limits.", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "BalanceWrapper" - } - }, - "loans": { - "getCollateralLiquidity": { - "description": "Retrieves collateral liquidity for the given user.", - "params": [ - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Liquidity, Shortfall)", - "isSubscription": false, - "jsonrpc": "loans_getCollateralLiquidity", - "method": "getCollateralLiquidity", - "section": "loans" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "getLiquidationThresholdLiquidity": { - "description": "Retrieves liquidation threshold liquidity for the given user.", - "params": [ - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Liquidity, Shortfall)", - "isSubscription": false, - "jsonrpc": "loans_getLiquidationThresholdLiquidity", - "method": "getLiquidationThresholdLiquidity", - "section": "loans" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "getMarketStatus": { - "description": "Retrieves market status data for a given asset id.", - "params": [ - { - "name": "asset_id", - "type": "CurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Rate, Rate, Rate, Ratio, Balance, Balance, FixedU128)", - "isSubscription": false, - "jsonrpc": "loans_getMarketStatus", - "method": "getMarketStatus", - "section": "loans" - } - }, - "issue": { - "getIssueRequests": { - "description": "Get all issue request IDs for a particular account", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "getVaultIssueRequests": { - "description": "Get all issue request IDs for a particular vault", - "params": [ - { - "name": "vault_id", - "type": "AccountId" - } - ], - "type": "Vec" - } - }, - "oracle": { - "collateralToWrapped": { - "description": "Collateral to Wrapped exchange rate", - "params": [ - { - "name": "amount", - "type": "BalanceWrapper" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "wrappedToCollateral": { - "description": "Wrapped to Collateral exchange rate", - "params": [ - { - "name": "amount", - "type": "BalanceWrapper" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" - } - }, - "redeem": { - "getRedeemRequests": { - "description": "Get all redeem request IDs for a particular account", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "getVaultRedeemRequests": { - "description": "Get all redeem request IDs for a particular vault", - "params": [ - { - "name": "vault_id", - "type": "AccountId" - } - ], - "type": "Vec" - } - }, - "refund": { - "getRefundRequests": { - "description": "Get all refund request IDs for a particular account", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "getRefundRequestsByIssueId": { - "description": "Get all refund request IDs for a particular issue ID", - "params": [ - { - "name": "issue_id", - "type": "H256" - } - ], - "type": "H256" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "getVaultRefundRequests": { - "description": "Get all refund request IDs for a particular vault", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" - } - }, - "replace": { - "getNewVaultReplaceRequests": { - "description": "Get all replace request IDs to a particular vault", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "getOldVaultReplaceRequests": { - "description": "Get all replace request IDs from a particular vault", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" - } - }, - "reward": { - "estimateEscrowRewardRate": { - "description": "Estimate the escrow reward rate for a given account", - "params": [ - { - "name": "account_id", - "type": "AccountId" - }, - { - "name": "amount", - "type": "Option" - }, - { - "name": "lock_time", - "type": "Option" - } - ], - "type": "UnsignedFixedPoint" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "estimateVaultRewardRate": { - "description": "Estimate the vault reward rate a given vault id", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - } - ], - "type": "UnsignedFixedPoint" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "computeEscrowReward": { - "description": "Get a given user's rewards due", - "params": [ - { - "name": "account_id", - "type": "AccountId" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "computeFarmingReward": { - "description": "Get a given user's farming rewards due", - "params": [ - { - "name": "account_id", - "type": "AccountId" - }, - { - "name": "pool_currency_id", - "type": "CurrencyId" - }, - { - "name": "reward_currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "computeVaultReward": { - "description": "Get a given vault's rewards due", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" - } - }, - "vaultRegistry": { - "getCollateralizationFromVault": { - "description": "Returns the collateralization of a specific vault", - "params": [ - { - "name": "vault", - "type": "VaultId" - }, - { - "name": "only_issued", - "type": "bool" - } - ], - "type": "UnsignedFixedPoint" + "HttpUrl": { + "payload": "Text" }, - "getCollateralizationFromVaultAndCollateral": { - "description": "Returns the collateralization of a specific vault and collateral", - "params": [ - { - "name": "vault", - "type": "VaultId" - }, - { - "name": "collateral", - "type": "BalanceWrapper" - }, - { - "name": "only_issued", - "type": "bool" - } - ], - "type": "UnsignedFixedPoint" + "FtpUrl": { + "payload": "Text" }, - "getIssueableTokensFromVault": { - "description": "Get the amount of tokens a vault can issue", - "params": [ - { - "name": "vault", - "type": "VaultId" - } - ], - "type": "BalanceWrapper" + "IpfsUrl": { + "payload": "Text" }, - "getPremiumRedeemVaults": { - "description": "Get all vaults below the premium redeem threshold.", - "params": [], - "type": "Vec<(VaultId, BalanceWrapper)>" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "getRequiredCollateralForVault": { - "description": "Get the amount of collateral required for the given vault to be at the current SecureCollateralThreshold with the current exchange rate", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - } - ], - "type": "BalanceWrapper" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "getRequiredCollateralForWrapped": { - "description": "Get the amount of collateral required to issue an amount of InterBTC", - "params": [ - { - "name": "amount_btc", - "type": "BalanceWrapper" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "getVaultCollateral": { - "description": "Get the vault's collateral (excluding nomination)", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - } - ], - "type": "BalanceWrapper" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "getVaultTotalCollateral": { - "description": "Get the vault's collateral (including nomination)", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - } - ], - "type": "BalanceWrapper" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "getVaultsByAccountId": { - "description": "Get all vaults that are registered using the given account _id", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "getVaultsWithIssuableTokens": { - "description": "Get all vaults with non-zero issuable tokens, ordered in descending order of this amount", - "params": [], - "type": "Vec<(VaultId, BalanceWrapper)>" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "getVaultsWithRedeemableTokens": { - "description": "Get all vaults with non-zero redeemable tokens, ordered in descending order of this amount", - "params": [], - "type": "Vec<(VaultId, BalanceWrapper)>" - } - }, - "dexStable": { - "getA": { - "description": "Get amplification coefficient of pool", - "params": [ - { - "name": "pool_id", - "type": "StablePoolId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "NumberOrHex" - } - } - }, - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" - } - }, - "instances": { - "balances": [ - "ksm", - "kbtc", - "kint", - "dot", - "ibtc", - "intr" - ] - } - } - }, - "interbtc-standalone": { - "default": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "BalanceWrapper": { - "amount": "String" - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "ForeignAsset": "ForeignAssetId", - "LendToken": "LendTokenId", - "LpToken": "(LpToken, LpToken)", - "StableLpToken": "StablePoolId" - } - }, - "LpToken": { - "_enum": { - "Token": "TokenSymbol", - "ForeignAsset": "ForeignAssetId", - "StableLpToken": "StablePoolId" - } - }, - "InterbtcPrimitivesCurrencyId": { - "_enum": { - "Token": "InterbtcPrimitivesTokenSymbol", - "ForeignAsset": "InterbtcForeignAssetId", - "LendToken": "InterbtcLendTokenId", - "LpToken": "(InterbtcLpToken, InterbtcLpToken)", - "StableLpToken": "InterbtcStablePoolId" - } - }, - "InterbtcLpToken": { - "_enum": { - "Token": "InterbtcPrimitivesTokenSymbol", - "ForeignAsset": "InterbtcForeignAssetId", - "StableLpToken": "InterbtcStablePoolId" - } - }, - "InterbtcForeignAssetId": "u32", - "ForeignAssetId": "u32", - "InterbtcLendTokenId": "u32", - "InterbtcStablePoolId": "u32", - "LendTokenId": "u32", - "StablePoolId": "u32", - "NumberOrHex": { - "_enum": { - "Number": "u64", - "Hex": "U256" - } - }, - "Rate": "FixedU128", - "Ratio": "Permill", - "Liquidity": "FixedU128", - "Shortfall": "FixedU128", - "FundAccountJsonRpcRequest": { - "account_id": "AccountId", - "currency_id": "InterbtcPrimitivesCurrencyId" - }, - "H256Le": "H256", - "SignedFixedPoint": "FixedU128", - "TokenSymbol": { - "_enum": { - "DOT": 0, - "IBTC": 1, - "INTR": 2, - "KSM": 10, - "KBTC": 11, - "KINT": 12 - } - }, - "InterbtcPrimitivesTokenSymbol": { - "_enum": { - "DOT": 0, - "IBTC": 1, - "INTR": 2, - "KSM": 10, - "KBTC": 11, - "KINT": 12 - } - }, - "UnsignedFixedPoint": "FixedU128", - "VaultCurrencyPair": { - "collateral": "CurrencyId", - "wrapped": "CurrencyId" - }, - "VaultId": { - "account_id": "AccountId", - "currencies": "VaultCurrencyPair" + "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" } - } - } - ], - "rpc": { - "btcRelay": { - "verifyBlockHeaderInclusion": { - "description": "Verify that the block with the given hash is included", - "params": [ - { - "name": "block_hash", - "type": "H256Le" - } - ], - "type": "void" - } - }, - "escrow": { - "balanceAt": { - "description": "Get a given user's escrowed balance", - "params": [ - { - "name": "account_id", - "type": "AccountId" - }, - { - "name": "height", - "type": "Option" - } - ], - "type": "BalanceWrapper" }, - "totalSupply": { - "description": "Get the total voting supply in the system", - "params": [ - { - "name": "height", - "type": "Option" - } - ], - "type": "BalanceWrapper" + "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" }, - "freeStakable": { - "description": "Amount of kint/intr that account can lock, taking into consideration the Limits.", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "BalanceWrapper" - } - }, - "loans": { - "getCollateralLiquidity": { - "description": "Retrieves collateral liquidity for the given user.", - "params": [ - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Liquidity, Shortfall)", - "isSubscription": false, - "jsonrpc": "loans_getCollateralLiquidity", - "method": "getCollateralLiquidity", - "section": "loans" + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" }, - "getLiquidationThresholdLiquidity": { - "description": "Retrieves liquidation threshold liquidity for the given user.", - "params": [ - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Liquidity, Shortfall)", - "isSubscription": false, - "jsonrpc": "loans_getLiquidationThresholdLiquidity", - "method": "getLiquidationThresholdLiquidity", - "section": "loans" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "getMarketStatus": { - "description": "Retrieves market status data for a given asset id.", - "params": [ - { - "name": "asset_id", - "type": "CurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Rate, Rate, Rate, Ratio, Balance, Balance, FixedU128)", - "isSubscription": false, - "jsonrpc": "loans_getMarketStatus", - "method": "getMarketStatus", - "section": "loans" - } - }, - "issue": { - "getIssueRequests": { - "description": "Get all issue request IDs for a particular account", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "getVaultIssueRequests": { - "description": "Get all issue request IDs for a particular vault", - "params": [ - { - "name": "vault_id", - "type": "AccountId" - } - ], - "type": "Vec" - } - }, - "oracle": { - "collateralToWrapped": { - "description": "Collateral to Wrapped exchange rate", - "params": [ - { - "name": "amount", - "type": "BalanceWrapper" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] }, - "wrappedToCollateral": { - "description": "Wrapped to Collateral exchange rate", - "params": [ - { - "name": "amount", - "type": "BalanceWrapper" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" - } - }, - "redeem": { - "getRedeemRequests": { - "description": "Get all redeem request IDs for a particular account", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "getVaultRedeemRequests": { - "description": "Get all redeem request IDs for a particular vault", - "params": [ - { - "name": "vault_id", - "type": "AccountId" - } - ], - "type": "Vec" - } - }, - "refund": { - "getRefundRequests": { - "description": "Get all refund request IDs for a particular account", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] }, - "getRefundRequestsByIssueId": { - "description": "Get all refund request IDs for a particular issue ID", - "params": [ - { - "name": "issue_id", - "type": "H256" - } - ], - "type": "H256" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1" + } + }, + { + "minmax": [ + 23, + 24 + ], + "types": { + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "getVaultRefundRequests": { - "description": "Get all refund request IDs for a particular vault", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" - } - }, - "replace": { - "getNewVaultReplaceRequests": { - "description": "Get all replace request IDs to a particular vault", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "getOldVaultReplaceRequests": { - "description": "Get all replace request IDs from a particular vault", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" - } - }, - "reward": { - "estimateEscrowRewardRate": { - "description": "Estimate the escrow reward rate for a given account", - "params": [ - { - "name": "account_id", - "type": "AccountId" - }, - { - "name": "amount", - "type": "Option" - }, - { - "name": "lock_time", - "type": "Option" - } - ], - "type": "UnsignedFixedPoint" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "estimateVaultRewardRate": { - "description": "Estimate the vault reward rate a given vault id", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - } - ], - "type": "UnsignedFixedPoint" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "computeEscrowReward": { - "description": "Get a given user's rewards due", - "params": [ - { - "name": "account_id", - "type": "AccountId" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "computeFarmingReward": { - "description": "Get a given user's farming rewards due", - "params": [ - { - "name": "account_id", - "type": "AccountId" - }, - { - "name": "pool_currency_id", - "type": "CurrencyId" - }, - { - "name": "reward_currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "computeVaultReward": { - "description": "Get a given vault's rewards due", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" - } - }, - "vaultRegistry": { - "getCollateralizationFromVault": { - "description": "Returns the collateralization of a specific vault", - "params": [ - { - "name": "vault", - "type": "VaultId" - }, - { - "name": "only_issued", - "type": "bool" - } - ], - "type": "UnsignedFixedPoint" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "getCollateralizationFromVaultAndCollateral": { - "description": "Returns the collateralization of a specific vault and collateral", - "params": [ - { - "name": "vault", - "type": "VaultId" - }, - { - "name": "collateral", - "type": "BalanceWrapper" - }, - { - "name": "only_issued", - "type": "bool" - } - ], - "type": "UnsignedFixedPoint" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "getIssueableTokensFromVault": { - "description": "Get the amount of tokens a vault can issue", - "params": [ - { - "name": "vault", - "type": "VaultId" - } - ], - "type": "BalanceWrapper" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "getPremiumRedeemVaults": { - "description": "Get all vaults below the premium redeem threshold.", - "params": [], - "type": "Vec<(VaultId, BalanceWrapper)>" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "getRequiredCollateralForVault": { - "description": "Get the amount of collateral required for the given vault to be at the current SecureCollateralThreshold with the current exchange rate", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - } - ], - "type": "BalanceWrapper" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "getRequiredCollateralForWrapped": { - "description": "Get the amount of collateral required to issue an amount of InterBTC", - "params": [ - { - "name": "amount_btc", - "type": "BalanceWrapper" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "getVaultCollateral": { - "description": "Get the vault's collateral (excluding nomination)", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - } - ], - "type": "BalanceWrapper" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "getVaultTotalCollateral": { - "description": "Get the vault's collateral (including nomination)", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - } - ], - "type": "BalanceWrapper" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "getVaultsByAccountId": { - "description": "Get all vaults that are registered using the given account _id", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "getVaultsWithIssuableTokens": { - "description": "Get all vaults with non-zero issuable tokens, ordered in descending order of this amount", - "params": [], - "type": "Vec<(VaultId, BalanceWrapper)>" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "getVaultsWithRedeemableTokens": { - "description": "Get all vaults with non-zero redeemable tokens, ordered in descending order of this amount", - "params": [], - "type": "Vec<(VaultId, BalanceWrapper)>" - } - }, - "dexStable": { - "getA": { - "description": "Get amplification coefficient of pool", - "params": [ - { - "name": "pool_id", - "type": "StablePoolId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "NumberOrHex" - } - } - }, - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" - } - }, - "instances": { - "balances": [ - "ksm", - "kbtc", - "kint", - "dot", - "ibtc", - "intr" - ] - } - } - }, - "interlay-parachain": { - "default": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "BalanceWrapper": { - "amount": "String" - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "ForeignAsset": "ForeignAssetId", - "LendToken": "LendTokenId", - "LpToken": "(LpToken, LpToken)", - "StableLpToken": "StablePoolId" - } - }, - "LpToken": { - "_enum": { - "Token": "TokenSymbol", - "ForeignAsset": "ForeignAssetId", - "StableLpToken": "StablePoolId" - } - }, - "InterbtcPrimitivesCurrencyId": { - "_enum": { - "Token": "InterbtcPrimitivesTokenSymbol", - "ForeignAsset": "InterbtcForeignAssetId", - "LendToken": "InterbtcLendTokenId", - "LpToken": "(InterbtcLpToken, InterbtcLpToken)", - "StableLpToken": "InterbtcStablePoolId" - } - }, - "InterbtcLpToken": { - "_enum": { - "Token": "InterbtcPrimitivesTokenSymbol", - "ForeignAsset": "InterbtcForeignAssetId", - "StableLpToken": "InterbtcStablePoolId" - } - }, - "InterbtcForeignAssetId": "u32", - "ForeignAssetId": "u32", - "InterbtcLendTokenId": "u32", - "InterbtcStablePoolId": "u32", - "LendTokenId": "u32", - "StablePoolId": "u32", - "NumberOrHex": { - "_enum": { - "Number": "u64", - "Hex": "U256" - } - }, - "Rate": "FixedU128", - "Ratio": "Permill", - "Liquidity": "FixedU128", - "Shortfall": "FixedU128", - "FundAccountJsonRpcRequest": { - "account_id": "AccountId", - "currency_id": "InterbtcPrimitivesCurrencyId" - }, - "H256Le": "H256", - "SignedFixedPoint": "FixedU128", - "TokenSymbol": { - "_enum": { - "DOT": 0, - "IBTC": 1, - "INTR": 2, - "KSM": 10, - "KBTC": 11, - "KINT": 12 - } - }, - "InterbtcPrimitivesTokenSymbol": { - "_enum": { - "DOT": 0, - "IBTC": 1, - "INTR": 2, - "KSM": 10, - "KBTC": 11, - "KINT": 12 - } - }, - "UnsignedFixedPoint": "FixedU128", - "VaultCurrencyPair": { - "collateral": "CurrencyId", - "wrapped": "CurrencyId" - }, - "VaultId": { - "account_id": "AccountId", - "currencies": "VaultCurrencyPair" - } - } - } - ], - "rpc": { - "btcRelay": { - "verifyBlockHeaderInclusion": { - "description": "Verify that the block with the given hash is included", - "params": [ - { - "name": "block_hash", - "type": "H256Le" - } - ], - "type": "void" - } - }, - "escrow": { - "balanceAt": { - "description": "Get a given user's escrowed balance", - "params": [ - { - "name": "account_id", - "type": "AccountId" - }, - { - "name": "height", - "type": "Option" - } - ], - "type": "BalanceWrapper" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "totalSupply": { - "description": "Get the total voting supply in the system", - "params": [ - { - "name": "height", - "type": "Option" - } - ], - "type": "BalanceWrapper" + "HttpUrl": { + "payload": "Text" }, - "freeStakable": { - "description": "Amount of kint/intr that account can lock, taking into consideration the Limits.", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "BalanceWrapper" - } - }, - "loans": { - "getCollateralLiquidity": { - "description": "Retrieves collateral liquidity for the given user.", - "params": [ - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Liquidity, Shortfall)", - "isSubscription": false, - "jsonrpc": "loans_getCollateralLiquidity", - "method": "getCollateralLiquidity", - "section": "loans" + "FtpUrl": { + "payload": "Text" }, - "getLiquidationThresholdLiquidity": { - "description": "Retrieves liquidation threshold liquidity for the given user.", - "params": [ - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Liquidity, Shortfall)", - "isSubscription": false, - "jsonrpc": "loans_getLiquidationThresholdLiquidity", - "method": "getLiquidationThresholdLiquidity", - "section": "loans" + "IpfsUrl": { + "payload": "Text" }, - "getMarketStatus": { - "description": "Retrieves market status data for a given asset id.", - "params": [ - { - "name": "asset_id", - "type": "CurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Rate, Rate, Rate, Ratio, Balance, Balance, FixedU128)", - "isSubscription": false, - "jsonrpc": "loans_getMarketStatus", - "method": "getMarketStatus", - "section": "loans" - } - }, - "issue": { - "getIssueRequests": { - "description": "Get all issue request IDs for a particular account", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "getVaultIssueRequests": { - "description": "Get all issue request IDs for a particular vault", - "params": [ - { - "name": "vault_id", - "type": "AccountId" - } - ], - "type": "Vec" - } - }, - "oracle": { - "collateralToWrapped": { - "description": "Collateral to Wrapped exchange rate", - "params": [ - { - "name": "amount", - "type": "BalanceWrapper" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "wrappedToCollateral": { - "description": "Wrapped to Collateral exchange rate", - "params": [ - { - "name": "amount", - "type": "BalanceWrapper" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" - } - }, - "redeem": { - "getRedeemRequests": { - "description": "Get all redeem request IDs for a particular account", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "getVaultRedeemRequests": { - "description": "Get all redeem request IDs for a particular vault", - "params": [ - { - "name": "vault_id", - "type": "AccountId" - } - ], - "type": "Vec" - } - }, - "refund": { - "getRefundRequests": { - "description": "Get all refund request IDs for a particular account", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "getRefundRequestsByIssueId": { - "description": "Get all refund request IDs for a particular issue ID", - "params": [ - { - "name": "issue_id", - "type": "H256" - } - ], - "type": "H256" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "getVaultRefundRequests": { - "description": "Get all refund request IDs for a particular vault", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" - } - }, - "replace": { - "getNewVaultReplaceRequests": { - "description": "Get all replace request IDs to a particular vault", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "getOldVaultReplaceRequests": { - "description": "Get all replace request IDs from a particular vault", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" - } - }, - "reward": { - "estimateEscrowRewardRate": { - "description": "Estimate the escrow reward rate for a given account", - "params": [ - { - "name": "account_id", - "type": "AccountId" - }, - { - "name": "amount", - "type": "Option" - }, - { - "name": "lock_time", - "type": "Option" - } - ], - "type": "UnsignedFixedPoint" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "estimateVaultRewardRate": { - "description": "Estimate the vault reward rate a given vault id", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - } - ], - "type": "UnsignedFixedPoint" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "computeEscrowReward": { - "description": "Get a given user's rewards due", - "params": [ - { - "name": "account_id", - "type": "AccountId" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "computeFarmingReward": { - "description": "Get a given user's farming rewards due", - "params": [ - { - "name": "account_id", - "type": "AccountId" - }, - { - "name": "pool_currency_id", - "type": "CurrencyId" - }, - { - "name": "reward_currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "computeVaultReward": { - "description": "Get a given vault's rewards due", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" - } - }, - "vaultRegistry": { - "getCollateralizationFromVault": { - "description": "Returns the collateralization of a specific vault", - "params": [ - { - "name": "vault", - "type": "VaultId" - }, - { - "name": "only_issued", - "type": "bool" - } - ], - "type": "UnsignedFixedPoint" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "getCollateralizationFromVaultAndCollateral": { - "description": "Returns the collateralization of a specific vault and collateral", - "params": [ - { - "name": "vault", - "type": "VaultId" - }, - { - "name": "collateral", - "type": "BalanceWrapper" - }, - { - "name": "only_issued", - "type": "bool" - } - ], - "type": "UnsignedFixedPoint" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "getIssueableTokensFromVault": { - "description": "Get the amount of tokens a vault can issue", - "params": [ - { - "name": "vault", - "type": "VaultId" - } - ], - "type": "BalanceWrapper" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "getPremiumRedeemVaults": { - "description": "Get all vaults below the premium redeem threshold.", - "params": [], - "type": "Vec<(VaultId, BalanceWrapper)>" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "getRequiredCollateralForVault": { - "description": "Get the amount of collateral required for the given vault to be at the current SecureCollateralThreshold with the current exchange rate", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - } - ], - "type": "BalanceWrapper" + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" }, - "getRequiredCollateralForWrapped": { - "description": "Get the amount of collateral required to issue an amount of InterBTC", - "params": [ - { - "name": "amount_btc", - "type": "BalanceWrapper" - }, - { - "name": "currency_id", - "type": "CurrencyId" - } - ], - "type": "BalanceWrapper" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "getVaultCollateral": { - "description": "Get the vault's collateral (excluding nomination)", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - } - ], - "type": "BalanceWrapper" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "getVaultTotalCollateral": { - "description": "Get the vault's collateral (including nomination)", - "params": [ - { - "name": "vault_id", - "type": "VaultId" - } - ], - "type": "BalanceWrapper" + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] }, - "getVaultsByAccountId": { - "description": "Get all vaults that are registered using the given account _id", - "params": [ - { - "name": "account_id", - "type": "AccountId" - } - ], - "type": "Vec" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "getVaultsWithIssuableTokens": { - "description": "Get all vaults with non-zero issuable tokens, ordered in descending order of this amount", - "params": [], - "type": "Vec<(VaultId, BalanceWrapper)>" + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] }, - "getVaultsWithRedeemableTokens": { - "description": "Get all vaults with non-zero redeemable tokens, ordered in descending order of this amount", - "params": [], - "type": "Vec<(VaultId, BalanceWrapper)>" - } - }, - "dexStable": { - "getA": { - "description": "Get amplification coefficient of pool", - "params": [ - { - "name": "pool_id", - "type": "StablePoolId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "NumberOrHex" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } } } }, - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" - } - }, - "instances": { - "balances": [ - "ksm", - "kbtc", - "kint", - "dot", - "ibtc", - "intr" - ] - } - } - }, - "ipse-node": { - "types": [ { "minmax": [ - 0, - null + 25, + 2699 ], "types": { - "test": "u64", - "Address": "IndicesLookupSource", - "LookupSource": "IndicesLookupSource", - "GIB": "u64", - "Amount": "u128", - "Miner": { - "account_id": "AccountId", - "nickname": "Vec", - "region": "Vec", - "url": "Vec", - "public_key": "Vec", - "stash_address": "AccountId", - "capacity": "u128", - "unit_price": "Balance", - "violation_times": "u64", - "total_staking": "Balance", - "create_ts": "u64", - "update_ts": "u64" + "DispatchError": "DispatchErrorPre6First", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "Order": { - "miner": "AccountId", - "label": "Vec", - "hash": "[u8; 46]", - "size": "u128", - "user": "AccountId", - "orders": "Vec>", - "status": "OrderStatus", - "create_ts": "u64", - "update_ts": "u64", - "duration": "u64" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "MinerOrder": { - "miner": "AccountId", - "day_price": "Balance", - "total_price": "Balance", - "verify_result": "bool", - "verify_ts": "u64", - "confirm_ts": "u64", - "url": "Option>" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "OrderStatus": { + "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": [ - "Created", - "Confirmed", - "Expired", - "Deleted" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "MiningInfo": { - "miner": "Option", - "best_dl": "u64", - "block": "u64" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "Difficulty": { - "base_target": "u64", - "net_difficulty": "u64", - "block": "u64" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "MachineInfo": { - "plot_size": "u64", - "numeric_id": "u128", - "update_time": "BlockNumber", - "is_stop": "bool", - "reward_dest": "AccountId" + "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": { - "miner": "AccountId", - "miner_proportion": "Percent", - "total_staking": "Balance", - "others": "Vec<(AccountId, Balance, Balance)>" + "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" + } }, - "Oprate": { + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { "_enum": [ - "Add", - "Sub" + "application/json", + "application/ld+json" ] }, - "MiningHistory": { - "total_num": "u64", - "history": "Vec<(BlockNumber, Balance)>" - }, - "PostTxTransferData": { - "verify_status": "u64", - "irreversible": "bool", - "is_post_transfer": "bool", - "contract_account": "Vec", - "from": "Vec", - "to": "Vec", - "quantity": "u64", - "memo": "Vec" - }, - "AddressStatus": { + "DidStorageVersion": { "_enum": [ - "active", - "inActive" + "V1", + "V2" ] }, - "FetchFailedOf": { - "block_num": "BlockNumber", - "tx": "Vec", - "err": "Vec" - } - } - } - ] - }, - "jupiter-prep": { - "types": [ - { - "minmax": [ - 0, - 2 - ], - "types": { - "LookupSource": "MultiAddress", - "Address": "MultiAddress", - "AccountInfo": "AccountInfoWithDualRefCount", - "FullIdentification": "AccountId", - "AuthorityState": { + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "Working", - "Waiting" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" ] }, - "EraIndex": "u32", - "ActiveEraInfo": { - "index": "EraIndex", - "start": "Option" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" }, - "UnappliedSlash": { - "validator": "AccountId", - "reporters": "Vec" + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } } } }, { "minmax": [ - 3, - null + 2700, + 10409 ], "types": { - "LookupSource": "MultiAddress", - "Address": "MultiAddress", + "DispatchError": "DispatchErrorPre6First", "AccountInfo": "AccountInfoWithTripleRefCount", - "AliveContractInfo": { - "trieId": "TrieId", - "storageSize": "u32", - "pairCount": "u32", - "codeHash": "CodeHash", - "rentAllowance": "Balance", - "rentPayed": "Balance", - "deductBlock": "BlockNumber", - "lastWrite": "Option", - "_reserved": "Option" - }, - "FullIdentification": "AccountId", - "AuthorityState": { - "_enum": [ - "Working", - "Waiting" - ] + "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" }, - "EraIndex": "u32", - "ActiveEraInfo": { - "index": "EraIndex", - "start": "Option" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" }, - "UnappliedSlash": { - "validator": "AccountId", - "reporters": "Vec" - } - } - } - ] - }, - "jupiter-rococo": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "LookupSource": "MultiAddress", - "Address": "MultiAddress" - } - } - ] - }, - "jur-chain": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": {} - } - ] - }, - "jur-node": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": {} - } - ] - }, - "kerria": { - "rpc": { - "oracle": { - "getValue": { - "description": "Retrieves the oracle value for a given key.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "key", - "type": "OracleKey" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Option", - "isSubscription": false, - "jsonrpc": "oracle_getValue", - "method": "getValue", - "section": "oracle" - }, - "getAllValues": { - "description": "Retrieves all oracle values.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec<(OracleKey, Option)>", - "isSubscription": false, - "jsonrpc": "oracle_getAllValues", - "method": "getAllValues", - "section": "oracle" - } - }, - "tokens": { - "queryExistentialDeposit": { - "description": "Query Existential Deposit for a given currency.", - "params": [ - { - "name": "currencyId", - "type": "CurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "NumberOrHex", - "isSubscription": false, - "jsonrpc": "tokens_queryExistentialDeposit", - "method": "queryExistentialDeposit", - "section": "tokens" - } - }, - "loans": { - "getCollateralLiquidity": { - "description": "Retrieves collateral liquidity for the given user.", - "params": [ - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Liquidity, Shortfall, Liquidity, Shortfall)", - "isSubscription": false, - "jsonrpc": "loans_getCollateralLiquidity", - "method": "getCollateralLiquidity", - "section": "loans" - }, - "getLiquidationThresholdLiquidity": { - "description": "Retrieves liquidation threshold liquidity for the given user.", - "params": [ - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Liquidity, Shortfall, Liquidity, Shortfall)", - "isSubscription": false, - "jsonrpc": "loans_getLiquidationThresholdLiquidity", - "method": "getLiquidationThresholdLiquidity", - "section": "loans" - }, - "getMarketStatus": { - "description": "Retrieves market status data for a given asset id.", - "params": [ - { - "name": "asset_id", - "type": "CurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Rate, Rate, Rate, Ratio, Balance, Balance, FixedU128)", - "isSubscription": false, - "jsonrpc": "loans_getMarketStatus", - "method": "getMarketStatus", - "section": "loans" - } - }, - "router": { - "getBestRoute": { - "description": "Returns the route that results in the largest amount out for amount in", - "params": [ - { - "name": "amount", - "type": "Balance" - }, - { - "name": "token_in", - "type": "CurrencyId" - }, - { - "name": "token_out", - "type": "CurrencyId" - }, - { - "name": "reversed", - "type": "bool" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Vec, FixedU128)", - "isSubscription": false, - "jsonrpc": "router_getBestRoute", - "method": "getBestRoute", - "section": "router" - } - } - }, - "instances": { - "council": [ - "generalCouncil" - ] - }, - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "CallOf": "Call", - "DispatchTime": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" - }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" - }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" - }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "DelayedDispatchTime": { + "DidSignature": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "u8", - "PoolInfo": { - "isActive": "bool", - "totalDeposited": "Balance", - "unlockHeight": "BlockNumber", - "coolDownDuration": "BlockNumber", - "rewardDuration": "BlockNumber", - "periodFinish": "BlockNumber", - "lastUpdateBlock": "BlockNumber", - "rewardRate": "Balance", - "rewardPerShareStored": "Balance" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] }, - "Share": "u128", - "OracleValue": "Price", - "Deposits": { - "voucherBalance": "Balance", - "isCollateral": "bool" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "BorrowSnapshot": { - "principal": "Balance", - "borrowIndex": "u128" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] }, - "EarnedSnapshot": { - "totalEarnedPrior": "Balance", - "exchangeRatePrior": "u128" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "JumpModel": { - "baseRate": "Rate", - "jumpRate": "Rate", - "fullRate": "Rate", - "jumpUtilization": "Ratio" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" }, - "CurveModel": { - "baseRate": "Rate" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" }, - "InterestRateModel": { - "_enum": { - "JumpModel": "JumpModel", - "CurveModel": "CurveModel" - } + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "Market": { - "collateralFactor": "Ratio", - "liquidationThreshold": "Ratio", - "reserveFactor": "Ratio", - "closeFactor": "Ratio", - "liquidateIncentive": "Rate", - "liquidateIncentiveReservedFactor": "Ratio", - "rateModel": "InterestRateModel", - "state": "MarketState", - "supplyCap": "Balance", - "borrowCap": "Balance", - "ptokenId": "CurrencyId" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "MarketState": { - "_enum": [ - "Active", - "Pending", - "Supervision" - ] + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "RewardMarketState": { - "index": "Balance", - "block": "BlockNumber" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "Liquidity": "FixedU128", - "Shortfall": "FixedU128", - "ReservableAmount": { - "total": "Balance", - "reserved": "Balance" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "MatchingLedger": { - "totalStakeAmount": "ReservableAmount", - "totalUnstakeAmount": "ReservableAmount" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "UnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "StakingLedger": { - "stash": "AccountId", - "total": "Balance", - "active": "Balance", - "unlocking": "Vec", - "claimedRewards": "Vec" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "DerivativeIndex": "u16", - "Pool": { - "baseAmount": "Balance", - "quoteAmount": "Balance", - "baseAmountLast": "Balance", - "quoteAmountLast": "Balance", - "lpTokenId": "AssetId", - "blockTimestampLast": "BlockNumber", - "price0CumulativeLast": "Balance", - "price1CumulativeLast": "Balance" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "Amount": "i128", - "AmountOf": "Amount", - "Rate": "FixedU128", - "Ratio": "Permill", - "Timestamp": "u64", - "PriceDetail": "(Price, Timestamp)", - "CurrencyId": "AssetId", - "CurrencyIdOf": "CurrencyId", - "Currency": "CurrencyId", - "AssetIdOf": "AssetId", - "OracleKey": "AssetId", - "BoundedBalance": "BoundedVec<(Balance, BlockNumber), u32>", - "UserPosition": { - "depositBalance": "Balance", - "lockBalanceItems": "BoundedBalance", - "rewardAmount": "Balance", - "rewardPerSharePaid": "Balance" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "Route": "Vec<(AssetId, AssetId)>", - "VaultPhase": { - "_enum": [ - "Pending", - "Contributing", - "Closed", - "Failed", - "Succeeded", - "Expired" - ] + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "ContributionStrategy": { + "DelegationStorageVersion": { "_enum": [ - "XCM", - "XCMPROXY" + "V1", + "V2" ] }, - "ChildStorageKind": { - "_enum": [ - "Pending", - "Flying", - "Contributed" - ] + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" }, - "TrieIndex": "u32", - "LeasePeriod": "BlockNumber", - "Vault": { - "ctoken": "AssetId", - "phase": "VaultPhase", - "contributed": "Balance", - "pending": "Balance", - "flying": "Balance", - "contributionStrategy": "ContributionStrategy", - "cap": "Balance", - "endBlock": "BlockNumber", - "trieIndex": "TrieIndex", - "leaseStart": "LeasePeriod", - "leaseEnd": "LeasePeriod" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "XcmWeightFeeMisc": { - "weight": "Weight", - "fee": "Balance" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "XcmCall": { + "DidStorageVersion": { "_enum": [ - "Bond", - "BondExtra", - "Unbond", - "Rebond", - "WithdrawUnbonded", - "Nominate", - "Contribute", - "Withdraw", - "AddMemo" + "V1", + "V2", + "V3" ] }, - "BridgeToken": { - "id": "CurrencyId", - "external": "bool", - "fee": "Balance" - }, - "ProposalStatus": { + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "Initiated", - "Approved", - "Rejected" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" ] }, - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "TAssetBalance": "u128" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } } - } - ], - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" - } - } - }, - "khala": { - "alias": {}, - "rpc": {}, - "types": [ + }, { "minmax": [ - 0, - 10 + 10410, + 10719 ], "types": { - "ChainId": "u8", + "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", "LookupSource": "MultiAddress", - "DispatchErrorModule": "DispatchErrorModuleU8", - "Keys": "AccountId", - "BridgeChainId": "u8", - "BridgeEvent": { - "_enum": { - "FungibleTransfer": "FungibleTransfer", - "NonFungibleTransfer": "NonFungibleTransfer", - "GenericTransfer": "GenericTransfer" - } - }, - "FungibleTransfer": { - "destId": "BridgeChainId", - "nonce": "DepositNonce", - "resourceId": "ResourceId", - "amount": "U256", - "recipient": "Vec" - }, - "NonFungibleTransfer": { - "destId": "BridgeChainId", - "nonce": "DepositNonce", - "resourceId": "ResourceId", - "tokenId": "Vec", - "recipient": "Vec", - "metadata": "Vec" + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" }, - "GenericTransfer": { - "destId": "BridgeChainId", - "nonce": "DepositNonce", - "resourceId": "ResourceId", - "metadata": "Vec" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" }, - "ResourceId": "[u8; 32]", - "TokenId": "U256", - "DepositNonce": "u64", - "ProposalStatus": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Initiated": null, - "Approved": null, - "Rejected": null + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ProposalVotes": { - "votesFor": "Vec", - "votesAgainst": "Vec", - "status": "ProposalStatus", - "expiry": "BlockNumber" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "AssetInfo": { - "destId": "BridgeChainId", - "assetIdentity": "Vec" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "ProxyType": { + "DidVerificationKeyRelationship": { "_enum": [ - "Any", - "NonTransfer", - "CancelProxy", - "Governance", - "Collator", - "StakePoolManager" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "Sr25519PublicKey": "[u8; 32]", - "MasterPublicKey": "Sr25519PublicKey", - "WorkerPublicKey": "Sr25519PublicKey", - "ContractPublicKey": "Sr25519PublicKey", - "EcdhPublicKey": "[u8; 32]", - "MessageOrigin": { + "DidSignature": { "_enum": { - "Pallet": "Vec", - "Contract": "H256", - "Worker": "Sr25519PublicKey", - "AccountId": "H256", - "MultiLocation": "Vec", - "Gatekeeper": null, - "Cluster": "H256" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "Attestation": { + "DidError": { "_enum": { - "SgxIas": "AttestationSgxIas" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" } }, - "AttestationSgxIas": { - "raReport": "Vec", - "signature": "Vec", - "rawSigningCert": "Vec" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } }, - "SenderId": "MessageOrigin", - "Path": "Vec", - "Topic": "Path", - "Message": { - "sender": "SenderId", - "destination": "Topic", - "payload": "Vec" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] }, - "SignedMessage": { - "message": "Message", - "sequence": "u64", - "signature": "Vec" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "WorkerRegistrationInfo": { - "version": "u32", - "machineId": "Vec", - "pubkey": "WorkerPublicKey", - "ecdhPubkey": "EcdhPublicKey", - "genesisBlockHash": "H256", - "features": "Vec", - "operator": "Option" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] }, - "PoolInfo": { - "pid": "u64", + "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", - "payoutCommission": "Option", - "ownerReward": "Balance", - "cap": "Option", - "rewardAcc": "u128", - "totalShares": "Balance", - "totalStake": "Balance", - "freeStake": "Balance", - "releasingStake": "Balance", - "workers": "Vec", - "withdrawQueue": "Vec" + "amount": "Balance" }, - "WithdrawInfo": { - "user": "AccountId", - "shares": "Balance", - "startTime": "u64" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "WorkerInfo": { - "pubkey": "WorkerPublicKey", - "ecdhPubkey": "EcdhPublicKey", - "runtimeVersion": "u32", - "lastUpdated": "u64", - "operator": "Option", - "confidenceLevel": "u8", - "initialScore": "Option", - "features": "Vec" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "MinerInfo": { - "state": "MinerState", - "ve": "u128", - "v": "u128", - "vUpdatedAt": "u64", - "benchmark": "Benchmark", - "coolDownStart": "u64", - "stats": "MinerStats" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "Benchmark": { - "pInit": "u32", - "pInstant": "u32", - "iterations": "u64", - "miningStartTime": "u64", - "challengeTimeLast": "u64" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "MinerState": { - "_enum": { - "Ready": null, - "MiningIdle": null, - "MiningActive": null, - "MiningUnresponsive": null, - "MiningCoolingDown": null - } + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "MinerStats": { - "totalReward": "Balance" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "HeartbeatChallenge": { - "seed": "U256", - "onlineTarget": "U256" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "KeyDistribution": { - "_enum": { - "MasterKeyDistribution": "DispatchMasterKeyEvent" - } + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "GatekeeperLaunch": { - "_enum": { - "FirstGatekeeper": "NewGatekeeperEvent", - "MasterPubkeyOnChain": null - } + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "GatekeeperChange": { + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { "_enum": { - "GatekeeperRegistered": "NewGatekeeperEvent" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "GatekeeperEvent": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "NewRandomNumber": "RandomNumberEvent", - "TokenomicParametersChanged": "TokenomicParameters" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "NewGatekeeperEvent": { - "pubkey": "WorkerPublicKey", - "ecdhPubkey": "EcdhPublicKey" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] }, - "DispatchMasterKeyEvent": { - "dest": "WorkerPublicKey", - "ecdhPubkey": "EcdhPublicKey", - "encryptedMasterKey": "Vec", - "iv": "[u8; 12]" + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] }, - "RandomNumberEvent": { - "blockNumber": "u32", - "randomNumber": "[u8; 32]", - "lastRandomNumber": "[u8; 32]" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "Keys": "SessionKeys1", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" }, - "TokenomicParameters": { - "phaRate": "U64F64Bits", - "rho": "U64F64Bits", - "budgetPerBlock": "U64F64Bits", - "vMax": "U64F64Bits", - "costK": "U64F64Bits", - "costB": "U64F64Bits", - "slashRate": "U64F64Bits", - "treasuryRatio": "U64F64Bits", - "heartbeatWindow": "u32", - "rigK": "U64F64Bits", - "rigB": "U64F64Bits", - "re": "U64F64Bits", - "k": "U64F64Bits", - "kappa": "U64F64Bits" + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "TokenomicParams": "TokenomicParameters", - "U64F64Bits": "u128", - "UserStakeInfo": { - "user": "AccountId", - "locked": "Balance", - "shares": "Balance", - "availableRewards": "Balance", - "rewardDebt": "Balance" + "Deposit": { + "owner": "AccountId", + "amount": "Balance" } } }, { "minmax": [ - 11, - null + 10720, + 10750 ], "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "DispatchErrorModule": "DispatchErrorModuleU8", - "Keys": "AccountId", - "BridgeChainId": "u8", - "BridgeEvent": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + } + } + }, + { + "minmax": [ + 10800, + 10899 + ], + "types": { + "DidApiAccountId": "AccountId32", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" + }, + "PublicCredentialFilter": { "_enum": { - "FungibleTransfer": "FungibleTransfer", - "NonFungibleTransfer": "NonFungibleTransfer", - "GenericTransfer": "GenericTransfer" + "ctypeHash": "Hash", + "attester": "AccountId32" } }, - "FungibleTransfer": { - "destId": "BridgeChainId", - "nonce": "DepositNonce", - "resourceId": "ResourceId", - "amount": "U256", - "recipient": "Vec" - }, - "NonFungibleTransfer": { - "destId": "BridgeChainId", - "nonce": "DepositNonce", - "resourceId": "ResourceId", - "tokenId": "Vec", - "recipient": "Vec", - "metadata": "Vec" + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] }, - "GenericTransfer": { - "destId": "BridgeChainId", - "nonce": "DepositNonce", - "resourceId": "ResourceId", - "metadata": "Vec" + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 10900, + 11199 + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" }, - "ResourceId": "[u8; 32]", - "TokenId": "U256", - "DepositNonce": "u64", - "ProposalStatus": { + "PublicCredentialFilter": { "_enum": { - "Initiated": null, - "Approved": null, - "Rejected": null + "ctypeHash": "Hash", + "attester": "AccountId32" } }, - "ProposalVotes": { - "votesFor": "Vec", - "votesAgainst": "Vec", - "status": "ProposalStatus", - "expiry": "BlockNumber" - }, - "AssetInfo": { - "destId": "BridgeChainId", - "assetIdentity": "Vec" - }, - "ProxyType": { + "PublicCredentialError": { "_enum": [ - "Any", - "NonTransfer", - "CancelProxy", - "Governance", - "Collator", - "StakePoolManager" + "InvalidSubjectId" ] }, - "Sr25519PublicKey": "[u8; 32]", - "MasterPublicKey": "Sr25519PublicKey", - "WorkerPublicKey": "Sr25519PublicKey", - "ContractPublicKey": "Sr25519PublicKey", - "EcdhPublicKey": "[u8; 32]", - "MessageOrigin": { - "_enum": { - "Pallet": "Vec", - "Contract": "H256", - "Worker": "Sr25519PublicKey", - "AccountId": "H256", - "MultiLocation": "Vec", - "Gatekeeper": null, - "Cluster": "H256" - } + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 11200, + null + ], + "types": { + "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "DidDidDetails" }, - "Attestation": { + "PublicCredentialFilter": { "_enum": { - "SgxIas": "AttestationSgxIas" + "ctypeHash": "Hash", + "attester": "AccountId32" } }, - "AttestationSgxIas": { - "raReport": "Vec", - "signature": "Vec", - "rawSigningCert": "Vec" - }, - "SenderId": "MessageOrigin", - "Path": "Vec", - "Topic": "Path", - "Message": { - "sender": "SenderId", - "destination": "Topic", - "payload": "Vec" - }, - "SignedMessage": { - "message": "Message", - "sequence": "u64", - "signature": "Vec" - }, - "WorkerRegistrationInfo": { - "version": "u32", - "machineId": "Vec", - "pubkey": "WorkerPublicKey", - "ecdhPubkey": "EcdhPublicKey", - "genesisBlockHash": "H256", - "features": "Vec", - "operator": "Option" - }, - "PoolInfo": { - "pid": "u64", - "owner": "AccountId", - "payoutCommission": "Option", - "ownerReward": "Balance", - "cap": "Option", - "rewardAcc": "u128", - "totalShares": "Balance", - "totalStake": "Balance", - "freeStake": "Balance", - "releasingStake": "Balance", - "workers": "Vec", - "withdrawQueue": "Vec" + "PublicCredentialError": { + "_enum": [ + "InvalidSubjectId" + ] }, - "WithdrawInfo": { - "user": "AccountId", - "shares": "Balance", - "startTime": "u64" + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" }, - "WorkerInfo": { - "pubkey": "WorkerPublicKey", - "ecdhPubkey": "EcdhPublicKey", - "runtimeVersion": "u32", - "lastUpdated": "u64", - "operator": "Option", - "confidenceLevel": "u8", - "initialScore": "Option", - "features": "Vec" + "IdentityCommitmentVersion": "u16", + "DipProofRequest": { + "identifier": "AccountId32", + "version": "IdentityCommitmentVersion", + "proofKeys": "Vec", + "accounts": "Vec", + "shouldIncludeWeb3Name": "bool" }, - "MinerInfo": { - "state": "MinerState", - "ve": "u128", - "v": "u128", - "vUpdatedAt": "u64", - "benchmark": "Benchmark", - "coolDownStart": "u64", - "stats": "MinerStats" + "CompleteMerkleProof": { + "root": "MerkleRoot", + "proof": "MerkleProof" }, - "Benchmark": { - "pInit": "u32", - "pInstant": "u32", - "iterations": "u64", - "miningStartTime": "u64", - "challengeTimeLast": "u64" + "MerkleRoot": "Hash", + "MerkleProof": { + "blinded": "BlindedLeaves", + "revealed": "RevealedLeaves" }, - "MinerState": { + "BlindedLeaves": "Vec", + "BlindedValue": "Bytes", + "RevealedLeaves": "Vec", + "RevealedLeaf": { "_enum": { - "Ready": null, - "MiningIdle": null, - "MiningActive": null, - "MiningUnresponsive": null, - "MiningCoolingDown": null + "DidKey": "RevealedDidKey", + "Web3Name": "RevealedWeb3Name", + "LinkedAccount": "RevealedAccountId" } }, - "MinerStats": { - "totalReward": "Balance" - }, - "HeartbeatChallenge": { - "seed": "U256", - "onlineTarget": "U256" + "RevealedDidKey": { + "id": "Hash", + "relationship": "KeyRelationship", + "details": "DidDidDetailsDidPublicKeyDetails" }, - "KeyDistribution": { + "KeyRelationship": { "_enum": { - "MasterKeyDistribution": "DispatchMasterKeyEvent" + "Encryption": "Null", + "Verification": "VerificationRelationship" } }, - "GatekeeperLaunch": { - "_enum": { - "FirstGatekeeper": "NewGatekeeperEvent", - "MasterPubkeyOnChain": null - } + "VerificationRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "GatekeeperChange": { - "_enum": { - "GatekeeperRegistered": "NewGatekeeperEvent" - } + "RevealedWeb3Name": { + "web3Name": "Text", + "claimedAt": "BlockNumber" }, - "GatekeeperEvent": { + "RevealedAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", + "RuntimeApiDipProofError": { "_enum": { - "NewRandomNumber": "RandomNumberEvent", - "TokenomicParametersChanged": "TokenomicParameters" + "IdentityProvider": "LinkedDidIdentityProviderError", + "MerkleProof": "DidMerkleProofError" } }, - "NewGatekeeperEvent": { - "pubkey": "WorkerPublicKey", - "ecdhPubkey": "EcdhPublicKey" - }, - "DispatchMasterKeyEvent": { - "dest": "WorkerPublicKey", - "ecdhPubkey": "EcdhPublicKey", - "encryptedMasterKey": "Vec", - "iv": "[u8; 12]" - }, - "RandomNumberEvent": { - "blockNumber": "u32", - "randomNumber": "[u8; 32]", - "lastRandomNumber": "[u8; 32]" + "LinkedDidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "DidDeleted", + "Internal" + ] }, - "TokenomicParameters": { - "phaRate": "U64F64Bits", - "rho": "U64F64Bits", - "budgetPerBlock": "U64F64Bits", - "vMax": "U64F64Bits", - "costK": "U64F64Bits", - "costB": "U64F64Bits", - "slashRate": "U64F64Bits", - "treasuryRatio": "U64F64Bits", - "heartbeatWindow": "u32", - "rigK": "U64F64Bits", - "rigB": "U64F64Bits", - "re": "U64F64Bits", - "k": "U64F64Bits", - "kappa": "U64F64Bits" + "DidIdentityProviderError": { + "_enum": [ + "DidNotFound", + "Internal" + ] }, - "TokenomicParams": "TokenomicParameters", - "U64F64Bits": "u128", - "UserStakeInfo": { - "user": "AccountId", - "locked": "Balance", - "shares": "Balance", - "availableRewards": "Balance", - "rewardDebt": "Balance" + "DidMerkleProofError": { + "_enum": [ + "UnsupportedVersion", + "KeyNotFound", + "LinkedAccountNotFound", + "Web3NameNotFound", + "Internal" + ] } } } diff --git a/packages/apps-config/src/endpoints/production.ts b/packages/apps-config/src/endpoints/production.ts index 3c157a9297a..a8d94936762 100644 --- a/packages/apps-config/src/endpoints/production.ts +++ b/packages/apps-config/src/endpoints/production.ts @@ -21,6 +21,7 @@ export * from './productionRelayPolkadot.js'; export const prodChains: Omit[] = [ { info: 'avail', + isPeopleForIdentity: false, providers: { AVAIL: config.mainnet.url }, diff --git a/packages/apps-config/src/endpoints/productionRelayKusama.ts b/packages/apps-config/src/endpoints/productionRelayKusama.ts index 0240dd431c0..30a00ef29af 100644 --- a/packages/apps-config/src/endpoints/productionRelayKusama.ts +++ b/packages/apps-config/src/endpoints/productionRelayKusama.ts @@ -1027,7 +1027,7 @@ export const prodRelayKusama: EndpointOption = { RadiumBlock: 'wss://kusama.public.curie.radiumblock.co/ws', RockX: 'wss://rockx-ksm.w3node.com/polka-public-ksm/ws', Stakeworld: 'wss://ksm-rpc.stakeworld.io', - // SubQuery: 'wss://kusama.rpc.subquery.network/public/ws', // https://github.com/polkadot-js/apps/issues/10762 + SubQuery: 'wss://kusama.rpc.subquery.network/public/ws', 'light client': 'light://substrate-connect/kusama' }, teleport: getTeleports(prodParasKusamaCommon), diff --git a/packages/apps-config/src/endpoints/productionRelayPolkadot.ts b/packages/apps-config/src/endpoints/productionRelayPolkadot.ts index e8d61239306..02d997d205f 100644 --- a/packages/apps-config/src/endpoints/productionRelayPolkadot.ts +++ b/packages/apps-config/src/endpoints/productionRelayPolkadot.ts @@ -986,7 +986,7 @@ export const prodRelayPolkadot: EndpointOption = { RadiumBlock: 'wss://polkadot.public.curie.radiumblock.co/ws', RockX: 'wss://rockx-dot.w3node.com/polka-public-dot/ws', Stakeworld: 'wss://dot-rpc.stakeworld.io', - // SubQuery: 'wss://polkadot.rpc.subquery.network/public/ws', // https://github.com/polkadot-js/apps/issues/10762 + SubQuery: 'wss://polkadot.rpc.subquery.network/public/ws', 'light client': 'light://substrate-connect/polkadot' }, teleport: getTeleports(prodParasPolkadotCommon), diff --git a/packages/apps-config/src/endpoints/testing.ts b/packages/apps-config/src/endpoints/testing.ts index 936a5fd39af..00f3a88e816 100644 --- a/packages/apps-config/src/endpoints/testing.ts +++ b/packages/apps-config/src/endpoints/testing.ts @@ -20,6 +20,7 @@ import config from '../variables/config.js'; export const testChains: Omit[] = [ { info: 'avail', + isPeopleForIdentity: false, providers: { AVAIL: config.turing.url }, diff --git a/packages/apps-config/src/packageInfo.ts b/packages/apps-config/src/packageInfo.ts index 8b6bc50d738..83d7acbdb67 100644 --- a/packages/apps-config/src/packageInfo.ts +++ b/packages/apps-config/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/apps-config', path: 'auto', type: 'auto', version: '0.143.3-5-x' }; +export const packageInfo = { name: '@polkadot/apps-config', path: 'auto', type: 'auto', version: '0.143.3-9-x' }; diff --git a/packages/apps-electron/package.json b/packages/apps-electron/package.json index c2109ad947e..7494b7ab572 100644 --- a/packages/apps-electron/package.json +++ b/packages/apps-electron/package.json @@ -15,7 +15,7 @@ "url": "https://github.com/availproject/avail-apps.git" }, "sideEffects": false, - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "main": "build/electron.js", "dependencies": { "electron-log": "^5.0.1", diff --git a/packages/apps-routing/package.json b/packages/apps-routing/package.json index 6981f1aa9e7..e12c3342c6a 100644 --- a/packages/apps-routing/package.json +++ b/packages/apps-routing/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/apps/package.json b/packages/apps/package.json index 75187c555d9..70db778223e 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -14,18 +14,18 @@ }, "sideEffects": true, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { "@acala-network/chopsticks-core": "^0.13.3", - "@polkadot/apps-config": "^0.143.3-5-x", - "@polkadot/apps-routing": "^0.143.3-5-x", + "@polkadot/apps-config": "^0.143.3-9-x", + "@polkadot/apps-routing": "^0.143.3-9-x", "@polkadot/dev": "^0.78.13", - "@polkadot/react-api": "^0.143.3-5-x", - "@polkadot/react-components": "^0.143.3-5-x", - "@polkadot/react-hooks": "^0.143.3-5-x", - "@polkadot/react-params": "^0.143.3-5-x", - "@polkadot/react-query": "^0.143.3-5-x", - "@polkadot/react-signer": "^0.143.3-5-x", + "@polkadot/react-api": "^0.143.3-9-x", + "@polkadot/react-components": "^0.143.3-9-x", + "@polkadot/react-hooks": "^0.143.3-9-x", + "@polkadot/react-params": "^0.143.3-9-x", + "@polkadot/react-query": "^0.143.3-9-x", + "@polkadot/react-signer": "^0.143.3-9-x", "punycode": "^2.3.1", "query-string": "^8.1.0", "react": "^18.2.0", diff --git a/packages/apps/src/packageInfo.ts b/packages/apps/src/packageInfo.ts index 18983b256c1..f51b8db60b7 100644 --- a/packages/apps/src/packageInfo.ts +++ b/packages/apps/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/apps', path: 'auto', type: 'auto', version: '0.143.3-5-x' }; +export const packageInfo = { name: '@polkadot/apps', path: 'auto', type: 'auto', version: '0.143.3-9-x' }; diff --git a/packages/page-accounts/package.json b/packages/page-accounts/package.json index 9ad234f1e1e..135841566f9 100644 --- a/packages/page-accounts/package.json +++ b/packages/page-accounts/package.json @@ -14,19 +14,19 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { "@polkadot/hw-ledger": "^13.0.2", "@polkadot/phishing": "^0.23.4", - "@polkadot/react-components": "^0.143.3-5-x", - "@polkadot/react-hooks": "^0.143.3-5-x", + "@polkadot/react-components": "^0.143.3-9-x", + "@polkadot/react-hooks": "^0.143.3-9-x", "@polkadot/util": "^13.0.2", "@polkadot/vanitygen": "^0.57.4", "detect-browser": "^5.3.0", "file-saver": "^2.0.5" }, "devDependencies": { - "@polkadot/test-support": "0.143.3-5-x" + "@polkadot/test-support": "0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-addresses/package.json b/packages/page-addresses/package.json index b014a70ac7f..5436d378a4f 100644 --- a/packages/page-addresses/package.json +++ b/packages/page-addresses/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x", + "@polkadot/react-components": "^0.143.3-9-x", "file-saver": "^2.0.5" }, "devDependencies": { diff --git a/packages/page-alliance/package.json b/packages/page-alliance/package.json index 676b31ba088..68cd8c40ca4 100644 --- a/packages/page-alliance/package.json +++ b/packages/page-alliance/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-ambassador/package.json b/packages/page-ambassador/package.json index 1f247fcb4f6..61a1e373fec 100644 --- a/packages/page-ambassador/package.json +++ b/packages/page-ambassador/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-assets/package.json b/packages/page-assets/package.json index f6c46e80c8a..13763050174 100644 --- a/packages/page-assets/package.json +++ b/packages/page-assets/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-bounties/package.json b/packages/page-bounties/package.json index 5b2ad17b231..c816672681f 100644 --- a/packages/page-bounties/package.json +++ b/packages/page-bounties/package.json @@ -14,12 +14,12 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x" }, "devDependencies": { - "@polkadot/test-support": "0.143.3-5-x" + "@polkadot/test-support": "0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-calendar/package.json b/packages/page-calendar/package.json index 92e2cab9516..1e7e481d1bb 100644 --- a/packages/page-calendar/package.json +++ b/packages/page-calendar/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-claims/package.json b/packages/page-claims/package.json index 1f0d6813d83..4657ad923e6 100644 --- a/packages/page-claims/package.json +++ b/packages/page-claims/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x", + "@polkadot/react-components": "^0.143.3-9-x", "secp256k1": "^3.8.0" }, "peerDependencies": { diff --git a/packages/page-collator/package.json b/packages/page-collator/package.json index 738042aaf7a..60c34c61ee2 100644 --- a/packages/page-collator/package.json +++ b/packages/page-collator/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-contracts/package.json b/packages/page-contracts/package.json index ca74bc17c6e..543eedc99d5 100644 --- a/packages/page-contracts/package.json +++ b/packages/page-contracts/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { "@polkadot/api-contract": "12.4.2", "eventemitter3": "^5.0.1" diff --git a/packages/page-council/package.json b/packages/page-council/package.json index f31e13aa6a9..7176180fd39 100644 --- a/packages/page-council/package.json +++ b/packages/page-council/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x", - "@polkadot/react-query": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x", + "@polkadot/react-query": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-democracy/package.json b/packages/page-democracy/package.json index c29626c032b..4e99828922c 100644 --- a/packages/page-democracy/package.json +++ b/packages/page-democracy/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x", - "@polkadot/react-query": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x", + "@polkadot/react-query": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-explorer/package.json b/packages/page-explorer/package.json index 17924194b86..f34551130ba 100644 --- a/packages/page-explorer/package.json +++ b/packages/page-explorer/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-extrinsics/package.json b/packages/page-extrinsics/package.json index 3d7fef00a90..53aa7051b6a 100644 --- a/packages/page-extrinsics/package.json +++ b/packages/page-extrinsics/package.json @@ -14,11 +14,11 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x", - "@polkadot/react-params": "^0.143.3-5-x", - "@polkadot/react-signer": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x", + "@polkadot/react-params": "^0.143.3-9-x", + "@polkadot/react-signer": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-fellowship/package.json b/packages/page-fellowship/package.json index 4814d048296..bc61889c9c4 100644 --- a/packages/page-fellowship/package.json +++ b/packages/page-fellowship/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-files/package.json b/packages/page-files/package.json index cd7bb795ae8..66385726bbf 100644 --- a/packages/page-files/package.json +++ b/packages/page-files/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x", + "@polkadot/react-components": "^0.143.3-9-x", "axios": "^1.6.2" }, "peerDependencies": { diff --git a/packages/page-gilt/package.json b/packages/page-gilt/package.json index e270fe37ef9..6707f28d905 100644 --- a/packages/page-gilt/package.json +++ b/packages/page-gilt/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-js/package.json b/packages/page-js/package.json index 8a1d0acfb29..1310dd073c5 100644 --- a/packages/page-js/package.json +++ b/packages/page-js/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-membership/package.json b/packages/page-membership/package.json index 67564878a08..6f68b8afe05 100644 --- a/packages/page-membership/package.json +++ b/packages/page-membership/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x", - "@polkadot/react-query": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x", + "@polkadot/react-query": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-nfts/package.json b/packages/page-nfts/package.json index 650e2947b04..3ecd52c16e7 100644 --- a/packages/page-nfts/package.json +++ b/packages/page-nfts/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-nis/package.json b/packages/page-nis/package.json index 9d3f49c3429..7c219c52f83 100644 --- a/packages/page-nis/package.json +++ b/packages/page-nis/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-parachains/package.json b/packages/page-parachains/package.json index af9f1d27658..6cb434a9044 100644 --- a/packages/page-parachains/package.json +++ b/packages/page-parachains/package.json @@ -14,10 +14,10 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x", - "@polkadot/react-query": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x", + "@polkadot/react-query": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-poll/package.json b/packages/page-poll/package.json index c06a1de75c8..b029f66ee65 100644 --- a/packages/page-poll/package.json +++ b/packages/page-poll/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/page-preimages/package.json b/packages/page-preimages/package.json index b64fcf54ca6..5398c21e0de 100644 --- a/packages/page-preimages/package.json +++ b/packages/page-preimages/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-ranked/package.json b/packages/page-ranked/package.json index 6be03675084..2b9751b122f 100644 --- a/packages/page-ranked/package.json +++ b/packages/page-ranked/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/page-referenda/package.json b/packages/page-referenda/package.json index 40e810fad09..1872b6069b3 100644 --- a/packages/page-referenda/package.json +++ b/packages/page-referenda/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "devDependencies": { "chart.js": "^4.4.1" }, diff --git a/packages/page-referenda/src/Referenda/Vote/VoteStandard.tsx b/packages/page-referenda/src/Referenda/Vote/VoteStandard.tsx index 3266932a08a..a37374f0611 100644 --- a/packages/page-referenda/src/Referenda/Vote/VoteStandard.tsx +++ b/packages/page-referenda/src/Referenda/Vote/VoteStandard.tsx @@ -43,6 +43,7 @@ function VoteStandard ({ accountId, id, isAye, onChange, voteLockingPeriod }: Pr makeCreateLink(apiUrl, isElectron), [apiUrl, isElectron] ); - const enableIdentity = apiEndpoint?.isPeople || (isNumber(apiEndpoint?.paraId) && (apiEndpoint?.paraId >= 2000)) || apiEndpoint?.info?.toLowerCase() === 'paseo'; + const enableIdentity = apiEndpoint?.isPeople || (isNumber(apiEndpoint?.paraId) && (apiEndpoint?.paraId >= 2000)) || (typeof apiEndpoint?.isPeopleForIdentity === 'boolean' && !apiEndpoint?.isPeopleForIdentity); const value = useMemo( () => objectSpread({}, state, { api: statics.api, apiEndpoint, apiError, apiIdentity: ((apiEndpoint?.isPeopleForIdentity && apiSystemPeople) || statics.api), apiRelay, apiSystemPeople, apiUrl, createLink, enableIdentity, extensions, isApiConnected, isApiInitialized, isElectron, isLocalFork, isWaitingInjected: !extensions }), [apiError, createLink, extensions, isApiConnected, isApiInitialized, isElectron, isLocalFork, state, apiEndpoint, apiRelay, apiUrl, apiSystemPeople, enableIdentity] diff --git a/packages/react-components/package.json b/packages/react-components/package.json index c3e8e93e500..fcc8152dc5d 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -14,16 +14,16 @@ }, "sideEffects": true, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.5.1", "@fortawesome/free-solid-svg-icons": "^6.5.1", "@fortawesome/react-fontawesome": "^0.2.0", "@polkadot/keyring": "^13.0.2", - "@polkadot/react-api": "^0.143.3-5-x", + "@polkadot/react-api": "^0.143.3-9-x", "@polkadot/react-identicon": "^3.9.1", "@polkadot/react-qr": "^3.9.1", - "@polkadot/react-query": "^0.143.3-5-x", + "@polkadot/react-query": "^0.143.3-9-x", "@polkadot/ui-keyring": "^3.9.1", "@polkadot/ui-settings": "^3.9.1", "@polkadot/util": "^13.0.2", diff --git a/packages/react-components/src/VoteValue.tsx b/packages/react-components/src/VoteValue.tsx index 4de64a03822..a97ad36b240 100644 --- a/packages/react-components/src/VoteValue.tsx +++ b/packages/react-components/src/VoteValue.tsx @@ -1,8 +1,9 @@ // Copyright 2017-2024 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type BN from 'bn.js'; +import type { ApiPromise } from '@polkadot/api'; import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; -import type { BN } from '@polkadot/util'; import React, { useCallback, useEffect, useState } from 'react'; @@ -17,6 +18,7 @@ interface Props { accountId?: string | null; autoFocus?: boolean; isCouncil?: boolean; + isReferenda?: boolean; label?: string; noDefault?: boolean; onChange: (value: BN) => void; @@ -31,7 +33,7 @@ interface ValueState { const LOCKS_ORDERED = ['pyconvot', 'democrac', 'phrelect'] as const; -function getValues (selectedId: string | null | undefined, noDefault: boolean | undefined, allBalances: DeriveBalancesAll, existential: BN): ValueState { +function getValues (api: ApiPromise, selectedId: string | null | undefined, noDefault: boolean | undefined, allBalances: DeriveBalancesAll, existential: BN, isReferenda: boolean): ValueState { const sortedLocks = allBalances.lockedBreakdown // first sort by amount, so greatest value first .sort((a, b) => @@ -55,7 +57,7 @@ function getValues (selectedId: string | null | undefined, noDefault: boolean | }) .map(({ amount }) => amount); - const maxValue = allBalances.votingBalance; + const maxValue = isReferenda && api.query.convictionVoting ? allBalances.votingBalance.add(allBalances.reservedBalance) : allBalances.votingBalance; let defaultValue: BN = sortedLocks[0] || allBalances.lockedBalance; if (noDefault) { @@ -82,7 +84,7 @@ function getValues (selectedId: string | null | undefined, noDefault: boolean | }; } -function VoteValue ({ accountId, autoFocus, label, noDefault, onChange }: Props): React.ReactElement | null { +function VoteValue ({ accountId, autoFocus, isReferenda, label, noDefault, onChange }: Props): React.ReactElement | null { const { t } = useTranslation(); const { api } = useApi(); const allBalances = useCall(api.derive.balances?.all, [accountId]); @@ -92,10 +94,10 @@ function VoteValue ({ accountId, autoFocus, label, noDefault, onChange }: Props) // if the set accountId changes and the new balances is for that id, set it allBalances && allBalances.accountId.eq(accountId) && setValue((state) => state.selectedId !== accountId - ? getValues(accountId, noDefault, allBalances, api.consts.balances.existentialDeposit) + ? getValues(api, accountId, noDefault, allBalances, api.consts.balances.existentialDeposit, !!isReferenda) : state ); - }, [allBalances, accountId, api, noDefault]); + }, [allBalances, accountId, api, isReferenda, noDefault]); // only do onChange to parent when the BN value comes in, not our formatted version useEffect((): void => { @@ -126,6 +128,7 @@ function VoteValue ({ accountId, autoFocus, label, noDefault, onChange }: Props) label={label || t('vote value')} labelExtra={ {t('voting balance')}} params={accountId} /> diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index ab4c411032d..c45a27feeaf 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { "@polkadot/hw-ledger": "^13.0.2", "@polkadot/hw-ledger-transports": "^13.0.2", diff --git a/packages/react-params/package.json b/packages/react-params/package.json index a2be843562e..2d2ede9c026 100644 --- a/packages/react-params/package.json +++ b/packages/react-params/package.json @@ -14,9 +14,9 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { - "@polkadot/react-components": "^0.143.3-5-x", + "@polkadot/react-components": "^0.143.3-9-x", "multiformats": "^12.1.3" }, "peerDependencies": { diff --git a/packages/react-query/package.json b/packages/react-query/package.json index 57b0d1cfbf8..23809bbc569 100644 --- a/packages/react-query/package.json +++ b/packages/react-query/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "peerDependencies": { "react": "*", "react-dom": "*", diff --git a/packages/react-query/src/BalanceVoting.tsx b/packages/react-query/src/BalanceVoting.tsx index 433e71eb684..ffa2ea53f4e 100644 --- a/packages/react-query/src/BalanceVoting.tsx +++ b/packages/react-query/src/BalanceVoting.tsx @@ -13,11 +13,12 @@ import FormatBalance from './FormatBalance.js'; interface Props { children?: React.ReactNode; className?: string; + isReferenda?: boolean; label?: React.ReactNode; params?: AccountId | AccountIndex | Address | string | Uint8Array | null; } -function BalanceVoting ({ children, className = '', label, params }: Props): React.ReactElement { +function BalanceVoting ({ children, className = '', isReferenda, label, params }: Props): React.ReactElement { const { api } = useApi(); const allBalances = useCall(api.derive.balances?.all, [params]); @@ -25,7 +26,7 @@ function BalanceVoting ({ children, className = '', label, params }: Props): Rea {children} diff --git a/packages/react-signer/package.json b/packages/react-signer/package.json index 6fc2db48afb..21b0f6a2727 100644 --- a/packages/react-signer/package.json +++ b/packages/react-signer/package.json @@ -14,11 +14,11 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { "@polkadot-api/merkleize-metadata": "^1.1.2", "@polkadot/hw-ledger": "^13.0.2", - "@polkadot/react-components": "^0.143.3-5-x" + "@polkadot/react-components": "^0.143.3-9-x" }, "peerDependencies": { "react": "*", diff --git a/packages/test-support/package.json b/packages/test-support/package.json index 188e918f758..9910ce6ad49 100644 --- a/packages/test-support/package.json +++ b/packages/test-support/package.json @@ -14,7 +14,7 @@ }, "sideEffects": false, "type": "module", - "version": "0.143.3-5-x", + "version": "0.143.3-9-x", "dependencies": { "@testing-library/react": "^14.1.2", "testcontainers": "^10.4.0" diff --git a/yarn.lock b/yarn.lock index c974fb5cd97..f62e23df73c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -616,10 +616,12 @@ __metadata: languageName: node linkType: hard -"@kiltprotocol/type-definitions@npm:0.35.1": - version: 0.35.1 - resolution: "@kiltprotocol/type-definitions@npm:0.35.1" - checksum: 10/8534af75e75e72a812ae2265e00292c3103735ec77b03df765ab9aa3ae47062203f684aa7d0b6ca7e0c2ce13835ecd72a74aeb2e53bf0ff14f0f03a1b2f9fdbe +"@kiltprotocol/type-definitions@npm:^1.11200.0": + version: 1.11200.0 + resolution: "@kiltprotocol/type-definitions@npm:1.11200.0" + peerDependencies: + "@polkadot/types": ^12.2.0 + checksum: 10/f42517be177efb7e67ab3563c941c5cdb24162db4345b90cb3d9cae8069a5d981dd12f59870d28402ea22c69d1b3cc74bad99213324424f623994010883e7ba8 languageName: node linkType: hard @@ -1378,9 +1380,9 @@ __metadata: dependencies: "@polkadot/hw-ledger": "npm:^13.0.2" "@polkadot/phishing": "npm:^0.23.4" - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-hooks": "npm:^0.143.3-5-x" - "@polkadot/test-support": "npm:0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-hooks": "npm:^0.143.3-9-x" + "@polkadot/test-support": "npm:0.143.3-9-x" "@polkadot/util": "npm:^13.0.2" "@polkadot/vanitygen": "npm:^0.57.4" detect-browser: "npm:^5.3.0" @@ -1396,7 +1398,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-addresses@workspace:packages/page-addresses" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" "@testing-library/react": "npm:^14.1.2" file-saver: "npm:^2.0.5" testcontainers: "npm:^10.4.0" @@ -1431,7 +1433,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-assets@workspace:packages/page-assets" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1443,8 +1445,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-bounties@workspace:packages/page-bounties" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/test-support": "npm:0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/test-support": "npm:0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1456,7 +1458,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-calendar@workspace:packages/page-calendar" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1468,7 +1470,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-claims@workspace:packages/page-claims" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" secp256k1: "npm:^3.8.0" peerDependencies: react: "*" @@ -1504,8 +1506,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-council@workspace:packages/page-council" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-query": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-query": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1517,8 +1519,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-democracy@workspace:packages/page-democracy" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-query": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-query": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1526,11 +1528,11 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/app-explorer@npm:^0.143.3-5-x, @polkadot/app-explorer@workspace:packages/page-explorer": +"@polkadot/app-explorer@npm:^0.143.3-9-x, @polkadot/app-explorer@workspace:packages/page-explorer": version: 0.0.0-use.local resolution: "@polkadot/app-explorer@workspace:packages/page-explorer" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1542,9 +1544,9 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-extrinsics@workspace:packages/page-extrinsics" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-params": "npm:^0.143.3-5-x" - "@polkadot/react-signer": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-params": "npm:^0.143.3-9-x" + "@polkadot/react-signer": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1566,7 +1568,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-files@workspace:packages/page-files" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" axios: "npm:^1.6.2" peerDependencies: react: "*" @@ -1579,7 +1581,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-gilt@workspace:packages/page-gilt" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1591,7 +1593,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-js@workspace:packages/page-js" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1603,8 +1605,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-membership@workspace:packages/page-membership" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-query": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-query": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1616,7 +1618,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-nfts@workspace:packages/page-nfts" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1628,7 +1630,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-nis@workspace:packages/page-nis" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1640,8 +1642,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-parachains@workspace:packages/page-parachains" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-query": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-query": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1653,7 +1655,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-poll@workspace:packages/page-poll" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1697,7 +1699,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-rpc@workspace:packages/page-rpc" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1709,7 +1711,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-runtime@workspace:packages/page-runtime" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1731,9 +1733,9 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-settings@workspace:packages/page-settings" dependencies: - "@polkadot/apps-config": "npm:^0.143.3-5-x" - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-query": "npm:^0.143.3-5-x" + "@polkadot/apps-config": "npm:^0.143.3-9-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-query": "npm:^0.143.3-9-x" query-string: "npm:^8.1.0" peerDependencies: react: "*" @@ -1746,7 +1748,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-signing@workspace:packages/page-signing" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1758,7 +1760,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-society@workspace:packages/page-society" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1770,9 +1772,9 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-staking-legacy@workspace:packages/page-staking-legacy" dependencies: - "@polkadot/app-explorer": "npm:^0.143.3-5-x" - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-query": "npm:^0.143.3-5-x" + "@polkadot/app-explorer": "npm:^0.143.3-9-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-query": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1794,9 +1796,9 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-staking@workspace:packages/page-staking" dependencies: - "@polkadot/app-explorer": "npm:^0.143.3-5-x" - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-query": "npm:^0.143.3-5-x" + "@polkadot/app-explorer": "npm:^0.143.3-9-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-query": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1808,8 +1810,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-storage@workspace:packages/page-storage" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-params": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-params": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1821,7 +1823,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-sudo@workspace:packages/page-sudo" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1833,8 +1835,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-tech-comm@workspace:packages/page-tech-comm" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-query": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-query": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1846,8 +1848,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-treasury@workspace:packages/page-treasury" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-query": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-query": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1859,8 +1861,8 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/app-utilities@workspace:packages/page-utilities" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-params": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-params": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -1878,7 +1880,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/apps-config@npm:^0.143.3-5-x, @polkadot/apps-config@workspace:packages/apps-config": +"@polkadot/apps-config@npm:^0.143.3-9-x, @polkadot/apps-config@workspace:packages/apps-config": version: 0.0.0-use.local resolution: "@polkadot/apps-config@workspace:packages/apps-config" dependencies: @@ -1894,7 +1896,7 @@ __metadata: "@fragnova/api-augment": "npm:0.1.0-spec-1.0.4-mainnet" "@frequency-chain/api-augment": "npm:1.11.1" "@interlay/interbtc-types": "npm:1.13.0" - "@kiltprotocol/type-definitions": "npm:0.35.1" + "@kiltprotocol/type-definitions": "npm:^1.11200.0" "@laminar/type-definitions": "npm:0.3.1" "@logion/node-api": "npm:0.27.0-4" "@mangata-finance/type-definitions": "npm:^2.1.2" @@ -1950,7 +1952,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/apps-routing@npm:^0.143.3-5-x, @polkadot/apps-routing@workspace:packages/apps-routing": +"@polkadot/apps-routing@npm:^0.143.3-9-x, @polkadot/apps-routing@workspace:packages/apps-routing": version: 0.0.0-use.local resolution: "@polkadot/apps-routing@workspace:packages/apps-routing" peerDependencies: @@ -1965,15 +1967,15 @@ __metadata: resolution: "@polkadot/apps@workspace:packages/apps" dependencies: "@acala-network/chopsticks-core": "npm:^0.13.3" - "@polkadot/apps-config": "npm:^0.143.3-5-x" - "@polkadot/apps-routing": "npm:^0.143.3-5-x" + "@polkadot/apps-config": "npm:^0.143.3-9-x" + "@polkadot/apps-routing": "npm:^0.143.3-9-x" "@polkadot/dev": "npm:^0.78.13" - "@polkadot/react-api": "npm:^0.143.3-5-x" - "@polkadot/react-components": "npm:^0.143.3-5-x" - "@polkadot/react-hooks": "npm:^0.143.3-5-x" - "@polkadot/react-params": "npm:^0.143.3-5-x" - "@polkadot/react-query": "npm:^0.143.3-5-x" - "@polkadot/react-signer": "npm:^0.143.3-5-x" + "@polkadot/react-api": "npm:^0.143.3-9-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" + "@polkadot/react-hooks": "npm:^0.143.3-9-x" + "@polkadot/react-params": "npm:^0.143.3-9-x" + "@polkadot/react-query": "npm:^0.143.3-9-x" + "@polkadot/react-signer": "npm:^0.143.3-9-x" "@types/punycode": "npm:^2.1.3" assert: "npm:^2.1.0" buffer: "npm:^6.0.3" @@ -2214,7 +2216,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/react-api@npm:^0.143.3-5-x, @polkadot/react-api@workspace:packages/react-api": +"@polkadot/react-api@npm:^0.143.3-9-x, @polkadot/react-api@workspace:packages/react-api": version: 0.0.0-use.local resolution: "@polkadot/react-api@workspace:packages/react-api" dependencies: @@ -2231,7 +2233,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/react-components@npm:^0.143.3-5-x, @polkadot/react-components@workspace:packages/react-components": +"@polkadot/react-components@npm:^0.143.3-9-x, @polkadot/react-components@workspace:packages/react-components": version: 0.0.0-use.local resolution: "@polkadot/react-components@workspace:packages/react-components" dependencies: @@ -2239,10 +2241,10 @@ __metadata: "@fortawesome/free-solid-svg-icons": "npm:^6.5.1" "@fortawesome/react-fontawesome": "npm:^0.2.0" "@polkadot/keyring": "npm:^13.0.2" - "@polkadot/react-api": "npm:^0.143.3-5-x" + "@polkadot/react-api": "npm:^0.143.3-9-x" "@polkadot/react-identicon": "npm:^3.9.1" "@polkadot/react-qr": "npm:^3.9.1" - "@polkadot/react-query": "npm:^0.143.3-5-x" + "@polkadot/react-query": "npm:^0.143.3-9-x" "@polkadot/ui-keyring": "npm:^3.9.1" "@polkadot/ui-settings": "npm:^3.9.1" "@polkadot/util": "npm:^13.0.2" @@ -2281,7 +2283,7 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/react-hooks@npm:^0.143.3-5-x, @polkadot/react-hooks@workspace:packages/react-hooks": +"@polkadot/react-hooks@npm:^0.143.3-9-x, @polkadot/react-hooks@workspace:packages/react-hooks": version: 0.0.0-use.local resolution: "@polkadot/react-hooks@workspace:packages/react-hooks" dependencies: @@ -2320,11 +2322,11 @@ __metadata: languageName: node linkType: hard -"@polkadot/react-params@npm:^0.143.3-5-x, @polkadot/react-params@workspace:packages/react-params": +"@polkadot/react-params@npm:^0.143.3-9-x, @polkadot/react-params@workspace:packages/react-params": version: 0.0.0-use.local resolution: "@polkadot/react-params@workspace:packages/react-params" dependencies: - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" multiformats: "npm:^12.1.3" peerDependencies: react: "*" @@ -2355,7 +2357,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/react-query@npm:^0.143.3-5-x, @polkadot/react-query@workspace:packages/react-query": +"@polkadot/react-query@npm:^0.143.3-9-x, @polkadot/react-query@workspace:packages/react-query": version: 0.0.0-use.local resolution: "@polkadot/react-query@workspace:packages/react-query" peerDependencies: @@ -2365,13 +2367,13 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/react-signer@npm:^0.143.3-5-x, @polkadot/react-signer@workspace:packages/react-signer": +"@polkadot/react-signer@npm:^0.143.3-9-x, @polkadot/react-signer@workspace:packages/react-signer": version: 0.0.0-use.local resolution: "@polkadot/react-signer@workspace:packages/react-signer" dependencies: "@polkadot-api/merkleize-metadata": "npm:^1.1.2" "@polkadot/hw-ledger": "npm:^13.0.2" - "@polkadot/react-components": "npm:^0.143.3-5-x" + "@polkadot/react-components": "npm:^0.143.3-9-x" peerDependencies: react: "*" react-dom: "*" @@ -2430,7 +2432,7 @@ __metadata: languageName: node linkType: hard -"@polkadot/test-support@npm:0.143.3-5-x, @polkadot/test-support@workspace:packages/test-support": +"@polkadot/test-support@npm:0.143.3-9-x, @polkadot/test-support@workspace:packages/test-support": version: 0.0.0-use.local resolution: "@polkadot/test-support@workspace:packages/test-support" dependencies: