diff --git a/package.json b/package.json index d8b6677a7a..50b1f50264 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "build:electron": "yarn clean:electronBuild && yarn build:electronMain && yarn build:electronRenderer", "build:electronMain": "cd packages/apps-electron && NODE_ENV=production yarn webpack --config webpack.main.cjs", "build:electronRenderer": "cd packages/apps-electron && NODE_ENV=production yarn webpack --config webpack.renderer.cjs", + "build:extra": "yarn run test:one packages/apps-config/src/api/typesBundle.spec.ts", "build:i18n": "i18next-scanner --config i18next-scanner.config.cjs && node ./scripts/i18nSort.cjs", "build:release:electron": "yarn build && yarn build:electron && yarn postinstall:electron", "build:release:ghpages": "yarn polkadot-ci-ghact-docs", diff --git a/packages/apps-config/src/api/derives.ts b/packages/apps-config/src/api/derives.ts new file mode 100644 index 0000000000..1cca2883e4 --- /dev/null +++ b/packages/apps-config/src/api/derives.ts @@ -0,0 +1,28 @@ +// Copyright 2017-2022 @polkadot/apps-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import type { OverrideBundleDefinition, OverrideBundleType } from '@polkadot/types/types'; + +import equilibrium from './spec/equilibrium'; +import genshiro from './spec/genshiro'; +import interbtc from './spec/interbtc'; +import subspace from './spec/subspace'; + +const mapping: [OverrideBundleDefinition, string[]][] = [ + [equilibrium, ['Equilibrium']], + [genshiro, ['Genshiro', 'Genshiro Rococo Testnet']], + [interbtc, ['interbtc-parachain', 'interbtc-standalone', 'interlay-parachain', 'kintsugi-parachain']], + [subspace, ['subspace']] +]; + +export function applyDerives (typesBundle: OverrideBundleType): OverrideBundleType { + mapping.forEach(([{ derives }, chains]): void => { + chains.forEach((chain): void => { + if (typesBundle.spec && typesBundle.spec[chain]) { + typesBundle.spec[chain].derives = derives; + } + }); + }); + + return typesBundle; +} diff --git a/packages/apps-config/src/api/index.spec.ts b/packages/apps-config/src/api/index.spec.ts new file mode 100644 index 0000000000..61fb64d381 --- /dev/null +++ b/packages/apps-config/src/api/index.spec.ts @@ -0,0 +1,24 @@ +// Copyright 2017-2022 @polkadot/apps-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import type { OverrideBundleDefinition } from '@polkadot/types/types'; + +import spec from './spec'; +import { typesBundle } from '.'; + +function getDerives (spec: Record): string[] { + return Object + .entries(spec) + .filter(([, v]) => !!v.derives) + .map(([k]) => k); +} + +describe('typesBundle', (): void => { + it('all derives are re-exported', (): void => { + expect( + getDerives(spec) + ).toEqual( + getDerives(typesBundle.spec || {}) + ); + }); +}); diff --git a/packages/apps-config/src/api/index.ts b/packages/apps-config/src/api/index.ts index e69f01bd98..b8dc7526b9 100644 --- a/packages/apps-config/src/api/index.ts +++ b/packages/apps-config/src/api/index.ts @@ -1,11 +1,10 @@ // Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import type { OverrideBundleType } from '@polkadot/types/types'; - -import spec from './spec'; +import { applyDerives } from './derives'; +import { typesBundle as typesOnlyBundle } from './typesBundle'; export * from './constants'; export * from './params'; -export const typesBundle: OverrideBundleType = { spec }; +export const typesBundle = applyDerives(typesOnlyBundle); diff --git a/packages/apps-config/src/api/typesBundle.spec.ts b/packages/apps-config/src/api/typesBundle.spec.ts new file mode 100644 index 0000000000..846629fa79 --- /dev/null +++ b/packages/apps-config/src/api/typesBundle.spec.ts @@ -0,0 +1,35 @@ +// Copyright 2017-2022 @polkadot/apps-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import fs from 'fs'; + +import { objectSpread } from '@polkadot/util'; + +import spec from './spec'; + +it('generates the typesBundle', (): void => { + const specEntries = Object.entries(spec); + const typesBundle: { spec: Record } = { spec: {} }; + + specEntries.forEach(([k, v]): void => { + const value = objectSpread<{ derives: unknown }>({}, v); + + delete value.derives; + + typesBundle.spec[k] = value; + }); + + fs.writeFileSync('packages/apps-config/src/api/typesBundle.ts', `// Copyright 2017-2022 @polkadot/apps-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +// Do not edit, auto-generated by @polkadot/apps-config + +import type { OverrideBundleType } from '@polkadot/types/types'; + +/* eslint-disable quotes */ +/* eslint-disable quote-props */ +/* eslint-disable sort-keys */ + +export const typesBundle = ${JSON.stringify(typesBundle, null, 2)} as unknown as OverrideBundleType; +`); +}); diff --git a/packages/apps-config/src/api/typesBundle.ts b/packages/apps-config/src/api/typesBundle.ts new file mode 100644 index 0000000000..ce7588a7ae --- /dev/null +++ b/packages/apps-config/src/api/typesBundle.ts @@ -0,0 +1,68306 @@ +// Copyright 2017-2022 @polkadot/apps-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +// Do not edit, auto-generated by @polkadot/apps-config + +import type { OverrideBundleType } from '@polkadot/types/types'; + +/* eslint-disable quotes */ +/* eslint-disable quote-props */ +/* eslint-disable sort-keys */ + +export const typesBundle = { + "spec": { + "Crab": { + "alias": {}, + "rpc": {}, + "types": [ + { + "minmax": [ + 0, + 0 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "H512", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "AccountId", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithCommission", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parent_hash": "H256", + "timestamp": "u64", + "number": "EthBlockNumber", + "author": "EthAddress", + "transaction_root": "H256", + "uncles_hash": "H256", + "extra_data": "Bytes", + "state_root": "H256", + "receipts_root": "H256", + "log_bloom": "Bloom", + "gas_used": "U256", + "gas_limit": "U256", + "difficulty": "U256", + "seal": "Vec", + "hash": "Option" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": 0, + "NonTransfer": 1, + "Governance": 2, + "Staking": 3, + "UnusedSudoBalances": 4, + "IdentityJudgement": 5, + "CancelProxy": 6, + "Auction": 7 + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "CompactAssignments": "CompactAssignmentsWith16", + "RawSolution": "RawSolutionWith16", + "Keys": "SessionKeys4", + "AccountInfo": "AccountInfoWithRefCount", + "LookupSource": "AccountId", + "StakingBalanceT": { + "_enum": { + "RingBalance": "Balance", + "KtonBalance": "Balance" + } + }, + "NominatorIndexCompact": "u32", + "ValidatorIndexCompact": "u16", + "OffchainAccuracyCompact": "PerU16", + "PerU16": "UInt<16, PerU16>", + "EthBlockNumber": "u64", + "DoubleNodeWithMerkleProof": { + "dag_nodes": "[H512;2]", + "proof": "Vec" + }, + "OtherSignature": { + "_enum": { + "Eth": "EcdsaSignature", + "Tron": "EcdsaSignature" + } + }, + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 1, + 41 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "H512", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "AccountId", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithCommission", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parent_hash": "H256", + "timestamp": "u64", + "number": "EthBlockNumber", + "author": "EthAddress", + "transaction_root": "H256", + "uncles_hash": "H256", + "extra_data": "Bytes", + "state_root": "H256", + "receipts_root": "H256", + "log_bloom": "Bloom", + "gas_used": "U256", + "gas_limit": "U256", + "difficulty": "U256", + "seal": "Vec", + "hash": "Option" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": 0, + "NonTransfer": 1, + "Governance": 2, + "Staking": 3, + "UnusedSudoBalances": 4, + "IdentityJudgement": 5, + "CancelProxy": 6, + "Auction": 7 + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "CompactAssignments": "CompactAssignmentsWith16", + "RawSolution": "RawSolutionWith16", + "Keys": "SessionKeys4", + "AccountInfo": "AccountInfoWithRefCount", + "LookupSource": "AccountId", + "StakingBalanceT": { + "_enum": { + "RingBalance": "Balance", + "KtonBalance": "Balance" + } + }, + "EthereumRelayHeaderParcel": { + "header": "EthereumHeader", + "mmrRoot": "H256" + }, + "OtherSignature": { + "_enum": { + "Eth": "EcdsaSignature", + "Tron": "EcdsaSignature" + } + }, + "EthereumReceiptProofThing": "(EthereumHeader, EthereumReceiptProof, MMRProof)", + "EthereumHeader": { + "parentHash": "H256", + "timestamp": "u64", + "number": "EthereumBlockNumber", + "author": "EthereumAddress", + "transactionsRoot": "H256", + "unclesHash": "H256", + "extraData": "Bytes", + "stateRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "gasUsed": "U256", + "gasLimit": "U256", + "difficulty": "U256", + "seal": "Vec", + "hash": "Option" + }, + "NominatorIndexCompact": "u32", + "ValidatorIndexCompact": "u16", + "OffchainAccuracyCompact": "PerU16", + "PerU16": "UInt<16, PerU16>", + "DoubleNodeWithMerkleProof": { + "dag_nodes": "[H512;2]", + "proof": "Vec" + }, + "EthBlockNumber": "u64", + "TcBlockNumber": "u64", + "GameId": "TcBlockNumber", + "EthereumHeaderThingWithProof": { + "header": "EthereumHeader", + "ethashProof": "Vec", + "mmrRoot": "H256", + "mmrProof": "Vec" + }, + "EthereumHeaderThing": { + "header": "EthereumHeader", + "mmrRoot": "H256" + }, + "RawHeaderThing": "Vec", + "OtherAddress": { + "_enum": { + "Eth": "EthereumAddress", + "Tron": "EthereumAddress" + } + }, + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 42, + 43 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "H512", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "MultiAddress", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": 0, + "NonTransfer": 1, + "Governance": 2, + "Staking": 3, + "UnusedSudoBalances": 4, + "IdentityJudgement": 5, + "CancelProxy": 6, + "Auction": 7 + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "CompactAssignments": "CompactAssignmentsWith16", + "RawSolution": "RawSolutionWith16", + "Keys": "SessionKeys4", + "AccountInfo": "AccountInfoWithTripleRefCount", + "AccountInfoWithTripleRefCount": { + "nonce": "Index", + "consumers": "RefCount", + "providers": "RefCount", + "data": "AccountData" + }, + "StakingBalanceT": { + "_enum": { + "RingBalance": "Balance", + "KtonBalance": "Balance" + } + }, + "LookupSource": "MultiAddress", + "OtherSignature": { + "_enum": { + "Eth": "EcdsaSignature", + "Tron": "EcdsaSignature" + } + }, + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 44, + 1210 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": 0, + "NonTransfer": 1, + "Governance": 2, + "Staking": 3, + "UnusedSudoBalances": 4, + "IdentityJudgement": 5, + "CancelProxy": 6, + "Auction": 7 + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "CompactAssignments": "CompactAssignmentsWith16", + "RawSolution": "RawSolutionWith16", + "Keys": "SessionKeys6", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 1211, + null + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + } + ] + }, + "Darwinia": { + "alias": {}, + "rpc": {}, + "types": [ + { + "minmax": [ + 0, + 22 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 23, + 24 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountInfo": "AccountInfoWithTripleRefCount", + "AccountInfoWithTripleRefCount": { + "nonce": "Index", + "consumers": "RefCount", + "providers": "RefCount", + "data": "AccountData" + }, + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 25, + 1150 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": "{}", + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "moment": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "(H512, H512)", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "MultiAddress", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "EthereumBlockNumber", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "LookupSource": "MultiAddress", + "MultiAddress": "GenericMultiAddress", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "EthereumReceipt": { + "gasUsed": "U256", + "logBloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "Order": { + "lane": "LaneId", + "message": "MessageNonce", + "sent_time": "BlockNumber", + "confirm_time": "BlockNumber", + "assigned_relayers": "Vec" + }, + "RelayAuthorityT": { + "accountId": "AccountId", + "signer": "EthereumAddress", + "stake": "Balance", + "term": "BlockNumber" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 1160, + 1200 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 1210, + null + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + } + ] + }, + "Darwinia Crab PC2": { + "alias": {}, + "rpc": {}, + "types": [ + { + "minmax": [ + 0, + 28110 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 28140, + null + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + } + ] + }, + "Darwinia PC2": { + "alias": {}, + "rpc": {}, + "types": [ + { + "minmax": [ + 0, + 28110 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 28140, + null + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + } + ] + }, + "Equilibrium": { + "instances": { + "balances": [ + "Eq", + "Eth", + "Btc", + "Eos", + "Dot", + "Crv", + "Usd" + ] + }, + "types": [ + { + "minmax": [ + 0, + 264 + ], + "types": { + "AccountInfo": { + "nonce": "Index", + "consumers": "RefCount", + "providers": "RefCount" + }, + "Address": "AccountId", + "Asset": "Currency", + "AssetMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "returns": "Vec", + "volatility": "FixedNumber", + "correlations": "Vec<(Asset, FixedNumber)>" + }, + "Balance": "u64", + "BalanceOf": "Balance", + "BalancesAggregate": { + "total_issuance": "Balance", + "total_debt": "Balance" + }, + "BlockNumber": "u64", + "CapVec": { + "head_index": "u32", + "len_cap": "u32", + "items": "Vec" + }, + "ChainId": "u8", + "Currency": { + "_enum": [ + "Unknown", + "Usd", + "Eq", + "Eth", + "Btc", + "Eos", + "Dot", + "Crv" + ] + }, + "DataPoint": { + "price": "u64", + "account_id": "AccountId", + "block_number": "BlockNumber", + "timestamp": "u64" + }, + "DepositNonce": "u64", + "Duration": { + "secs": "u64", + "nanos": "u32" + }, + "FinancialMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "assets": "Vec", + "mean_returns": "Vec", + "volatilities": "Vec", + "correlations": "Vec", + "covariances": "Vec" + }, + "FixedI64": "i64", + "FixedNumber": "u128", + "Keys": "SessionKeys3", + "LookupSource": "AccountId", + "OperationRequest": { + "account": "AccountId", + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber" + }, + "PortfolioMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "z_score": "u32", + "volatility": "FixedNumber", + "value_at_risk": "FixedNumber" + }, + "Price": "u128", + "PriceLog": { + "latest_timestamp": "Duration", + "prices": "CapVec" + }, + "PricePayload": "Data", + "PricePeriod": { + "_enum": [ + "Min", + "TenMin", + "Hour", + "FourHour", + "Day" + ] + }, + "PricePoint": { + "block_number": "BlockNumber", + "timestamp": "u64", + "price": "u64", + "data_points": "Vec" + }, + "PriceUpdate": { + "period_start": "Duration", + "time": "Duration", + "price": "FixedNumber" + }, + "ProposalStatus": { + "_enum": [ + "Initiated", + "Approved", + "Rejected" + ] + }, + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" + }, + "ResourceId": "[u8; 32]", + "SignedBalance": { + "_enum": { + "Positive": "Balance", + "Negative": "Balance" + } + }, + "SubAccType": { + "_enum": [ + "Bailsman", + "Borrower", + "Lender" + ] + }, + "TotalAggregates": { + "collateral": "Balance", + "debt": "Balance" + }, + "TransferReason": { + "_enum": [ + "Common", + "InterestFee", + "MarginCall", + "LiquidityFarming", + "BailsmenRedistribution", + "TreasuryEqBuyout", + "TreasuryBuyEq", + "Subaccount", + "Lock" + ] + }, + "UserGroup": { + "_enum": [ + "Unknown", + "Balances", + "Bailsmen", + "Borrowers", + "Lenders" + ] + }, + "VestingInfo": { + "locked": "Balance", + "perBlock": "Balance", + "startingBlock": "BlockNumber" + } + } + }, + { + "minmax": [ + 265, + null + ], + "types": {} + } + ] + }, + "Genshiro": { + "instances": { + "balances": [ + "Eq", + "Eth", + "Btc", + "Eos", + "Dot", + "Crv", + "Usd" + ] + }, + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "AccountInfo": { + "nonce": "Index", + "consumers": "RefCount", + "providers": "RefCount" + }, + "Address": "AccountId", + "AmmPool": { + "_enum": { + "Curve": "PoolId", + "Yield": "PoolId" + } + }, + "Asset": { + "0": "AssetIdInnerType" + }, + "AssetData": { + "id": "Asset", + "lot": "FixedU128", + "price_step": "FixedU128", + "maker_fee": "FixedU128", + "taker_fee": "FixedU128", + "multi_asset": "Option", + "multi_location": "Option", + "debt_weight": "DebtWeightType", + "buyout_priority": "u64", + "asset_type": "AssetType", + "is_dex_enabled": "bool", + "collateral_enabled": "bool" + }, + "AssetId": "Asset", + "AssetIdInnerType": "u64", + "AssetMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "returns": "Vec", + "volatility": "FixedNumber", + "correlations": "Vec<(Asset, FixedNumber)>" + }, + "AssetName": "Vec", + "AssetType": { + "_enum": { + "Native": null, + "Physical": null, + "Synthetic": null, + "Lp": "AmmPool" + } + }, + "Balance": "u64", + "BalanceOf": "Balance", + "BalancesAggregate": { + "total_issuance": "Balance", + "total_debt": "Balance" + }, + "BestPrice": { + "ask": "Option", + "bid": "Option" + }, + "BinaryId": "u64", + "BinaryInfo": { + "start_time": "u64", + "end_time": "u64", + "proper": "Asset", + "minimal_amount": "Balance", + "target": "(Asset, BinaryMode)", + "total": "(Balance, Balance)", + "claimed": "Balance" + }, + "BinaryMode": { + "_enum": { + "CallPut": "FixedI64", + "InOut": "(FixedI64, FixedI64)" + } + }, + "BlockNumber": "u64", + "CapVec": { + "head_index": "u32", + "len_cap": "u32", + "items": "Vec" + }, + "ChainId": "u8", + "Currency": { + "_enum": [ + "UNKNOWN", + "Eqd", + "Eq", + "Eth", + "Btc", + "Eos", + "Dot", + "Crv" + ] + }, + "ChunkKey": "u64", + "DataPoint": { + "price": "u64", + "account_id": "AccountId", + "block_number": "BlockNumber", + "timestamp": "u64" + }, + "DebtWeightType": "i128", + "DebtWeightTypeInner": "i128", + "DepositNonce": "u64", + "Duration": { + "secs": "u64", + "nanos": "u32" + }, + "EpochCounter": "u64", + "EpochInfo": { + "counter": "EpochCounter", + "started_at": "Timestamp", + "duration": "Timestamp", + "new_duration": "Option" + }, + "FinancialMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "assets": "Vec", + "mean_returns": "Vec", + "volatilities": "Vec", + "correlations": "Vec", + "covariances": "Vec" + }, + "FinancialRecalcPeriodMs": "u64", + "FixedI64": "i64", + "FixedNumber": "u128", + "FixedU128": "u128", + "Keys": "SessionKeys3", + "LenderInfo": { + "deposit": "Balance", + "pending_withdrawals": "PendingWithdrawal" + }, + "LookupSource": "AccountId", + "MarginState": { + "_enum": { + "Good": null, + "SubGood": null, + "MaintenanceStart": "u64", + "MaintenanceIsGoing": "u64", + "MaintenanceTimeOver": "u64", + "MaintenanceEnd": null, + "SubCritical": null + } + }, + "MaxCountOfAssetsRecalcPerBlock": "i32", + "MmId": "u16", + "MmInfo": { + "weight": "Perbill", + "borrowed": "Balance" + }, + "MmPoolInfo": { + "account_id": "AccountId", + "min_amount": "Balance", + "total_staked": "Balance", + "total_deposit": "Balance", + "total_borrowed": "Balance", + "total_pending_withdrawals": "PendingWithdrawal" + }, + "Number": "FixedU128", + "OperationRequestLiqFm": { + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber" + }, + "OperationRequest": { + "account": "AccountId", + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber", + "higher_priority": "bool" + }, + "OperationRequestDexDeleteOrder": { + "asset": "Asset", + "order_id": "OrderId", + "price": "FixedI64", + "who": "AccountId", + "buyout": "Option", + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber" + }, + "Order": { + "order_id": "OrderId", + "account_id": "AccountId", + "side": "OrderSide", + "price": "FixedI64", + "amount": "FixedU128", + "created_at": "u64", + "expiration_time": "u64" + }, + "OrderType": { + "_enum": { + "Limit": { + "price": "FixedI64", + "expiration_time": "u64" + }, + "Market": null + } + }, + "OrderId": "u64", + "OrderSide": { + "_enum": [ + "Buy", + "Sell" + ] + }, + "PendingWithdrawal": { + "last_epoch": "EpochCounter", + "available": "Balance", + "available_next_epoch": "Balance", + "requested": "Balance" + }, + "PoolId": "u32", + "PoolInfo": { + "owner": "AccountId", + "pool_asset": "AssetId", + "assets": "Vec", + "amplification": "Number", + "fee": "Permill", + "admin_fee": "Permill", + "balances": "Vec", + "total_balances": "Vec" + }, + "PoolTokenIndex": "u32", + "PortfolioMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "z_score": "u32", + "volatility": "FixedNumber", + "value_at_risk": "FixedNumber" + }, + "Price": "u128", + "PriceLog": { + "latest_timestamp": "Duration", + "prices": "CapVec" + }, + "PricePayload": { + "public": "[u8; 33]", + "asset": "Asset", + "price": "FixedI64", + "block_number": "BlockNumber" + }, + "PricePeriod": { + "_enum": [ + "Min", + "TenMin", + "Hour", + "FourHour", + "Day" + ] + }, + "PricePoint": { + "block_number": "BlockNumber", + "timestamp": "u64", + "last_fin_recalc_timestamp": "Timestamp", + "price": "u64", + "data_points": "Vec" + }, + "PriceUpdate": { + "period_start": "Duration", + "time": "Duration", + "price": "FixedNumber" + }, + "ProposalStatus": { + "_enum": [ + "Initiated", + "Approved", + "Rejected" + ] + }, + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" + }, + "ResourceId": "[u8; 32]", + "Round": { + "total_cap": "Balance", + "individual_cap": "Balance", + "end": "u64", + "token": "Asset", + "minimal_buy_amount": "Balance", + "vesting_params": "VestingParams" + }, + "Signature": "u32", + "SignedBalance": { + "_enum": { + "Positive": "Balance", + "Negative": "Balance" + } + }, + "SubAccType": { + "_enum": [ + "Bailsman", + "Borrower", + "Lender" + ] + }, + "Timestamp": "u64", + "TotalAggregates": { + "collateral": "Balance", + "debt": "Balance" + }, + "TransferReason": { + "_enum": [ + "Common", + "InterestFee", + "MarginCall", + "LiquidityFarming", + "BailsmenRedistribution", + "TreasuryEqBuyout", + "TreasuryBuyEq", + "Subaccount", + "Lock", + "Unlock", + "Claim", + "CurveFeeWithdraw", + "Reserve", + "Unreserve" + ] + }, + "UserGroup": { + "_enum": [ + "UNKNOWN", + "Balances", + "Bailsmen", + "Borrowers", + "Lenders" + ] + }, + "UnsignedPriorityPair": "(u64, u64)", + "VestingInfo": { + "locked": "Balance", + "perBlock": "Balance", + "startingBlock": "BlockNumber" + }, + "VestingParams": { + "blocks_until_beginning": "u64", + "amount_of_blocks": "u64" + }, + "XdotNumber": "u128", + "XdotPoolInfo": { + "pool_asset": "AssetId", + "lp_total_supply": "Balance", + "account": "AccountId", + "base_asset": "AssetId", + "xbase_asset": "AssetId", + "g1": "XdotNumber", + "g2": "XdotNumber", + "maturity": "u64", + "ts": "XdotNumber" + }, + "LockPeriod": { + "_enum": [ + "None", + "ThreeMonth", + "SixMonth", + "Year" + ] + } + } + } + ] + }, + "Genshiro Rococo Testnet": { + "instances": { + "balances": [ + "Eq", + "Eth", + "Btc", + "Eos", + "Dot", + "Crv", + "Usd" + ] + }, + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "AccountInfo": { + "nonce": "Index", + "consumers": "RefCount", + "providers": "RefCount" + }, + "Address": "AccountId", + "AmmPool": { + "_enum": { + "Curve": "PoolId", + "Yield": "PoolId" + } + }, + "Asset": { + "0": "AssetIdInnerType" + }, + "AssetData": { + "id": "Asset", + "lot": "FixedU128", + "price_step": "FixedU128", + "maker_fee": "FixedU128", + "taker_fee": "FixedU128", + "multi_asset": "Option", + "multi_location": "Option", + "debt_weight": "DebtWeightType", + "buyout_priority": "u64", + "asset_type": "AssetType", + "is_dex_enabled": "bool", + "collateral_enabled": "bool" + }, + "AssetId": "Asset", + "AssetIdInnerType": "u64", + "AssetMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "returns": "Vec", + "volatility": "FixedNumber", + "correlations": "Vec<(Asset, FixedNumber)>" + }, + "AssetName": "Vec", + "AssetType": { + "_enum": { + "Native": null, + "Physical": null, + "Synthetic": null, + "Lp": "AmmPool" + } + }, + "Balance": "u64", + "BalanceOf": "Balance", + "BalancesAggregate": { + "total_issuance": "Balance", + "total_debt": "Balance" + }, + "BestPrice": { + "ask": "Option", + "bid": "Option" + }, + "BinaryId": "u64", + "BinaryInfo": { + "start_time": "u64", + "end_time": "u64", + "proper": "Asset", + "minimal_amount": "Balance", + "target": "(Asset, BinaryMode)", + "total": "(Balance, Balance)", + "claimed": "Balance" + }, + "BinaryMode": { + "_enum": { + "CallPut": "FixedI64", + "InOut": "(FixedI64, FixedI64)" + } + }, + "BlockNumber": "u64", + "CapVec": { + "head_index": "u32", + "len_cap": "u32", + "items": "Vec" + }, + "ChainId": "u8", + "Currency": { + "_enum": [ + "UNKNOWN", + "Eqd", + "Eq", + "Eth", + "Btc", + "Eos", + "Dot", + "Crv" + ] + }, + "ChunkKey": "u64", + "DataPoint": { + "price": "u64", + "account_id": "AccountId", + "block_number": "BlockNumber", + "timestamp": "u64" + }, + "DebtWeightType": "i128", + "DebtWeightTypeInner": "i128", + "DepositNonce": "u64", + "Duration": { + "secs": "u64", + "nanos": "u32" + }, + "EpochCounter": "u64", + "EpochInfo": { + "counter": "EpochCounter", + "started_at": "Timestamp", + "duration": "Timestamp", + "new_duration": "Option" + }, + "FinancialMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "assets": "Vec", + "mean_returns": "Vec", + "volatilities": "Vec", + "correlations": "Vec", + "covariances": "Vec" + }, + "FinancialRecalcPeriodMs": "u64", + "FixedI64": "i64", + "FixedNumber": "u128", + "FixedU128": "u128", + "Keys": "SessionKeys3", + "LenderInfo": { + "deposit": "Balance", + "pending_withdrawals": "PendingWithdrawal" + }, + "LookupSource": "AccountId", + "MarginState": { + "_enum": { + "Good": null, + "SubGood": null, + "MaintenanceStart": "u64", + "MaintenanceIsGoing": "u64", + "MaintenanceTimeOver": "u64", + "MaintenanceEnd": null, + "SubCritical": null + } + }, + "MaxCountOfAssetsRecalcPerBlock": "i32", + "MmId": "u16", + "MmInfo": { + "weight": "Perbill", + "borrowed": "Balance" + }, + "MmPoolInfo": { + "account_id": "AccountId", + "min_amount": "Balance", + "total_staked": "Balance", + "total_deposit": "Balance", + "total_borrowed": "Balance", + "total_pending_withdrawals": "PendingWithdrawal" + }, + "Number": "FixedU128", + "OperationRequestLiqFm": { + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber" + }, + "OperationRequest": { + "account": "AccountId", + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber", + "higher_priority": "bool" + }, + "OperationRequestDexDeleteOrder": { + "asset": "Asset", + "order_id": "OrderId", + "price": "FixedI64", + "who": "AccountId", + "buyout": "Option", + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber" + }, + "Order": { + "order_id": "OrderId", + "account_id": "AccountId", + "side": "OrderSide", + "price": "FixedI64", + "amount": "FixedU128", + "created_at": "u64", + "expiration_time": "u64" + }, + "OrderType": { + "_enum": { + "Limit": { + "price": "FixedI64", + "expiration_time": "u64" + }, + "Market": null + } + }, + "OrderId": "u64", + "OrderSide": { + "_enum": [ + "Buy", + "Sell" + ] + }, + "PendingWithdrawal": { + "last_epoch": "EpochCounter", + "available": "Balance", + "available_next_epoch": "Balance", + "requested": "Balance" + }, + "PoolId": "u32", + "PoolInfo": { + "owner": "AccountId", + "pool_asset": "AssetId", + "assets": "Vec", + "amplification": "Number", + "fee": "Permill", + "admin_fee": "Permill", + "balances": "Vec", + "total_balances": "Vec" + }, + "PoolTokenIndex": "u32", + "PortfolioMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "z_score": "u32", + "volatility": "FixedNumber", + "value_at_risk": "FixedNumber" + }, + "Price": "u128", + "PriceLog": { + "latest_timestamp": "Duration", + "prices": "CapVec" + }, + "PricePayload": { + "public": "[u8; 33]", + "asset": "Asset", + "price": "FixedI64", + "block_number": "BlockNumber" + }, + "PricePeriod": { + "_enum": [ + "Min", + "TenMin", + "Hour", + "FourHour", + "Day" + ] + }, + "PricePoint": { + "block_number": "BlockNumber", + "timestamp": "u64", + "last_fin_recalc_timestamp": "Timestamp", + "price": "u64", + "data_points": "Vec" + }, + "PriceUpdate": { + "period_start": "Duration", + "time": "Duration", + "price": "FixedNumber" + }, + "ProposalStatus": { + "_enum": [ + "Initiated", + "Approved", + "Rejected" + ] + }, + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" + }, + "ResourceId": "[u8; 32]", + "Round": { + "total_cap": "Balance", + "individual_cap": "Balance", + "end": "u64", + "token": "Asset", + "minimal_buy_amount": "Balance", + "vesting_params": "VestingParams" + }, + "Signature": "u32", + "SignedBalance": { + "_enum": { + "Positive": "Balance", + "Negative": "Balance" + } + }, + "SubAccType": { + "_enum": [ + "Bailsman", + "Borrower", + "Lender" + ] + }, + "Timestamp": "u64", + "TotalAggregates": { + "collateral": "Balance", + "debt": "Balance" + }, + "TransferReason": { + "_enum": [ + "Common", + "InterestFee", + "MarginCall", + "LiquidityFarming", + "BailsmenRedistribution", + "TreasuryEqBuyout", + "TreasuryBuyEq", + "Subaccount", + "Lock", + "Unlock", + "Claim", + "CurveFeeWithdraw", + "Reserve", + "Unreserve" + ] + }, + "UserGroup": { + "_enum": [ + "UNKNOWN", + "Balances", + "Bailsmen", + "Borrowers", + "Lenders" + ] + }, + "UnsignedPriorityPair": "(u64, u64)", + "VestingInfo": { + "locked": "Balance", + "perBlock": "Balance", + "startingBlock": "BlockNumber" + }, + "VestingParams": { + "blocks_until_beginning": "u64", + "amount_of_blocks": "u64" + }, + "XdotNumber": "u128", + "XdotPoolInfo": { + "pool_asset": "AssetId", + "lp_total_supply": "Balance", + "account": "AccountId", + "base_asset": "AssetId", + "xbase_asset": "AssetId", + "g1": "XdotNumber", + "g2": "XdotNumber", + "maturity": "u64", + "ts": "XdotNumber" + }, + "LockPeriod": { + "_enum": [ + "None", + "ThreeMonth", + "SixMonth", + "Year" + ] + } + } + } + ] + }, + "Pangolin": { + "alias": {}, + "rpc": {}, + "types": [ + { + "minmax": [ + 0, + 28110 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 28140, + null + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + } + ] + }, + "Pangoro": { + "alias": {}, + "rpc": {}, + "types": [ + { + "minmax": [ + 0, + 28110 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 28140, + null + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } + }, + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } + }, + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" + }, + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" + }, + "MessagePayload": "Vec", + "TechnicalMember": "AccountId", + "BridgedHeaderHash": "Hash", + "BridgedBlockHash": "Hash", + "RawStorageProof": "Vec", + "DispatchErrorModule": "DispatchErrorModuleU8", + "BSCHeader": { + "parentHash": "H256", + "uncleHash": "H256", + "coinbase": "EthereumAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logBloom": "Bloom", + "difficulty": "U256", + "number": "u64", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixDigest": "H256", + "nonce": "Bytes" + }, + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } + }, + "Common": { + "amount": "Balance" + }, + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" + }, + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" + }, + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" + }, + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" + }, + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" + }, + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" + }, + "RKT": { + "r": "Balance", + "k": "Balance" + }, + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" + }, + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" + }, + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" + }, + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } + }, + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } + }, + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" + }, + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" + }, + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" + }, + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" + }, + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { + "_enum": [ + "OnChain", + "Signed", + "Authority" + ] + }, + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] + }, + "EthHeader": { + "parentHash": "H256", + "ommersHash": "H256", + "beneficiary": "EthAddress", + "stateRoot": "H256", + "transactionsRoot": "H256", + "receiptsRoot": "H256", + "logsBloom": "EthBloom", + "difficulty": "U256", + "number": "U256", + "gasLimit": "U256", + "gasUsed": "U256", + "timestamp": "u64", + "extraData": "Bytes", + "mixMash": "H256", + "nonce": "H64" + }, + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } + }, + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EIP1559Transaction": { + "chainId": "u64", + "nonce": "U256", + "maxPriorityFeePerGas": "U256", + "maxFeePerGas": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" + }, + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" + }, + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" + }, + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" + }, + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } + }, + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } + }, + "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" + } + }, + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } + }, + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" + }, + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] + }, + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" + }, + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" + }, + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" + }, + "PowerOf": { + "power": "Power" + }, + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" + }, + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + } + ] + }, + "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": { + "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" + } + }, + "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": { + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "LookupSource", + "LookupSource": "IndicesLookupSource" + } + }, + { + "minmax": [ + 700, + 719 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress" + } + }, + { + "minmax": [ + 720, + 722 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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)", + "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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 723, + 729 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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)", + "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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 730, + 1007 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1008, + 1008 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1008, + 1009 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1010, + 1013 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1014, + 1018 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV1", + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1", + "XcmError": "XcmErrorV1", + "Response": "ResponseV1" + } + }, + { + "minmax": [ + 1019, + null + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "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" + }, + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + } + }, + "mandala": { + "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" + } + }, + "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": { + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "LookupSource", + "LookupSource": "IndicesLookupSource" + } + }, + { + "minmax": [ + 700, + 719 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress" + } + }, + { + "minmax": [ + 720, + 722 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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)", + "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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 723, + 729 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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)", + "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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 730, + 1007 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1008, + 1008 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1008, + 1009 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1010, + 1013 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1014, + 1018 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV1", + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1", + "XcmError": "XcmErrorV1", + "Response": "ResponseV1" + } + }, + { + "minmax": [ + 1019, + null + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "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" + }, + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + } + }, + "karura": { + "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" + } + }, + "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": { + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "LookupSource", + "LookupSource": "IndicesLookupSource" + } + }, + { + "minmax": [ + 700, + 719 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress" + } + }, + { + "minmax": [ + 720, + 722 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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)", + "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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 723, + 729 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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)", + "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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 730, + 1007 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1008, + 1008 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1008, + 1009 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1010, + 1013 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 1014, + 1018 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", + "Keys": "SessionKeys1", + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress", + "MultiLocation": "MultiLocationV1", + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1", + "XcmError": "XcmErrorV1", + "Response": "ResponseV1" + } + }, + { + "minmax": [ + 1019, + null + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } + }, + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] + }, + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] + }, + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] + }, + "TradingPair": "(CurrencyId, 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" + } + }, + "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" + }, + "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", + "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", + "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" + }, + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + } + }, + "ajuna": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress" + } + } + ] + }, + "altair": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "ParachainAccountIdOf": "AccountId", + "Proof": { + "leafHash": "Hash", + "sortedHashes": "Vec" + }, + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "_Staking", + "NonProxy" + ] + }, + "RelayChainAccountId": "AccountId", + "RootHashOf": "Hash" + } + } + ] + }, + "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" + }, + "BalanceOf": "Balance", + "ChooseWinnersPayload": { + "block_number": "BlockNumber", + "winners": "Vec", + "public": "AccountId", + "estimates_id": "u64", + "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" + }, + "HttpErrTraceData": { + "block_number": "BlockNumber", + "err_auth": "AuthorityId", + "err_status": "HttpError", + "tip": "Bytes" + }, + "JsonNumberValue": { + "integer": "u64", + "fraction": "u64", + "fraction_length": "u32", + "exponent": "u32" + }, + "Keys": "SessionKeys3", + "LookupSource": "MultiAddress", + "MultiplierOption": { + "_enum": [ + "Base1", + "Base2", + "Base5" + ] + }, + "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" + }, + "PreCheckStruct": { + "price_key": "Vec", + "number_val": "JsonNumberValue", + "max_offset": "Percent", + "timestamp": "u64" + }, + "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", + "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", + "PricePayload": { + "block_number": "BlockNumber", + "price": "Vec", + "jump_block": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" + }, + "PreCheckStatus": { + "_enum": [ + "Review", + "Prohibit", + "Pass" + ] + }, + "PurchasedRequestData": { + "account_id": "AccountId", + "offer": "BalanceOf", + "create_bn": "BlockNumber", + "submit_threshold": "u8", + "max_duration": "u64", + "request_keys": "Vec>" + }, + "PurchasedPricePayload": { + "block_number": "BlockNumber", + "purchase_id": "Vec", + "price": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" + }, + "PurchasedAvgPriceData": { + "create_bn": "u64", + "reached_type": "u8", + "price_data": "(u64, FractionLength)" + }, + "PurchasedDefaultData": { + "submit_threshold": "u8", + "max_duration": "u64", + "avg_keep_duration": "u64" + }, + "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": [ + 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" + }, + "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" + }, + "HttpErrTraceData": { + "block_number": "BlockNumber", + "err_auth": "AuthorityId", + "err_status": "HttpError", + "tip": "Bytes" + }, + "JsonNumberValue": { + "integer": "u64", + "fraction": "u64", + "fraction_length": "u32", + "exponent": "u32" + }, + "Keys": "SessionKeys4", + "LookupSource": "MultiAddress", + "MultiplierOption": { + "_enum": [ + "Base1", + "Base2", + "Base5" + ] + }, + "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" + }, + "PreCheckStruct": { + "price_key": "Vec", + "number_val": "JsonNumberValue", + "max_offset": "Percent", + "timestamp": "u64" + }, + "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", + "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", + "PricePayload": { + "block_number": "BlockNumber", + "price": "Vec", + "jump_block": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" + }, + "PreCheckStatus": { + "_enum": [ + "Review", + "Prohibit", + "Pass" + ] + }, + "PurchasedRequestData": { + "account_id": "AccountId", + "offer": "BalanceOf", + "create_bn": "BlockNumber", + "submit_threshold": "u8", + "max_duration": "u64", + "request_keys": "Vec>" + }, + "PurchasedPricePayload": { + "block_number": "BlockNumber", + "purchase_id": "Vec", + "price": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" + }, + "PurchasedAvgPriceData": { + "create_bn": "u64", + "reached_type": "u8", + "price_data": "(u64, FractionLength)" + }, + "PurchasedDefaultData": { + "submit_threshold": "u8", + "max_duration": "u64", + "avg_keep_duration": "u64" + }, + "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-odyssey": { + "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" + }, + "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" + }, + "HttpErrTraceData": { + "block_number": "BlockNumber", + "err_auth": "AuthorityId", + "err_status": "HttpError", + "tip": "Bytes" + }, + "JsonNumberValue": { + "integer": "u64", + "fraction": "u64", + "fraction_length": "u32", + "exponent": "u32" + }, + "Keys": "SessionKeys4", + "LookupSource": "MultiAddress", + "MultiplierOption": { + "_enum": [ + "Base1", + "Base2", + "Base5" + ] + }, + "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" + }, + "PreCheckStruct": { + "price_key": "Vec", + "number_val": "JsonNumberValue", + "max_offset": "Percent", + "timestamp": "u64" + }, + "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", + "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", + "PricePayload": { + "block_number": "BlockNumber", + "price": "Vec", + "jump_block": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" + }, + "PreCheckStatus": { + "_enum": [ + "Review", + "Prohibit", + "Pass" + ] + }, + "PurchasedRequestData": { + "account_id": "AccountId", + "offer": "BalanceOf", + "create_bn": "BlockNumber", + "submit_threshold": "u8", + "max_duration": "u64", + "request_keys": "Vec>" + }, + "PurchasedPricePayload": { + "block_number": "BlockNumber", + "purchase_id": "Vec", + "price": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" + }, + "PurchasedAvgPriceData": { + "create_bn": "u64", + "reached_type": "u8", + "price_data": "(u64, FractionLength)" + }, + "PurchasedDefaultData": { + "submit_threshold": "u8", + "max_duration": "u64", + "avg_keep_duration": "u64" + }, + "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" + } + } + } + ] + }, + "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 + } + ], + "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" + } + ], + "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 + } + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "vtokenMint_getVtokenMintRate", + "method": "getVtokenMintRate", + "section": "vtokenMint" + } + }, + "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 + } + ], + "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" + } + } + }, + "types": [ + { + "minmax": [ + 0, + 901 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "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" + }, + "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" + }, + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" + }, + "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": [ + "BIFROST", + "EOS", + "IOST" + ] + }, + "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" + }, + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" + }, + "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" + }, + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" + }, + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" + }, + "TxSig": { + "signature": "Vec", + "author": "AccountId" + }, + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" + }, + "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": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } + }, + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] + }, + "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" + }, + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { + "_enum": { + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" + } + }, + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] + }, + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TimeUnit": { + "Era": "U32", + "SlashingSpan": "U32" + }, + "ledger": { + "Substrate": "SubstrateLedger" + }, + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" + }, + "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" + }, + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" + ] + }, + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } + }, + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } + }, + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" + }, + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } + }, + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } + }, + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } + }, + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } + }, + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } + }, + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" + }, + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" + }, + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" + }, + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "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" + }, + "OrderId": "u64", + "OrderType": { + "_enum": { + "Sell": 0, + "Buy": 1 + } + }, + "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" + }, + "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": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } + }, + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "ETH": 5, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10 + } + }, + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } + }, + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "NodePrimitivesCurrencyCurrencyId": "CurrencyId", + "OrmlTokensBalanceLock": "BalanceLock", + "OrmlTokensAccountData": "OrmlAccountData", + "OrmlTokensReserveData": "(Currency, u8, Amount, u128)", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } + }, + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } + }, + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } + }, + "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": { + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "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" + }, + "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" + }, + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" + }, + "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": [ + "BIFROST", + "EOS", + "IOST" + ] + }, + "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" + }, + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" + }, + "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" + }, + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" + }, + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" + }, + "TxSig": { + "signature": "Vec", + "author": "AccountId" + }, + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" + }, + "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": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } + }, + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] + }, + "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" + }, + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { + "_enum": { + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" + } + }, + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] + }, + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TimeUnit": { + "Era": "U32", + "SlashingSpan": "U32" + }, + "ledger": { + "Substrate": "SubstrateLedger" + }, + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" + }, + "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" + }, + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" + ] + }, + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } + }, + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } + }, + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" + }, + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } + }, + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } + }, + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } + }, + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } + }, + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } + }, + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" + }, + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" + }, + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" + }, + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "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" + }, + "OrderId": "u64", + "OrderType": { + "_enum": { + "Sell": 0, + "Buy": 1 + } + }, + "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" + }, + "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": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } + }, + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "ETH": 5, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10 + } + }, + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } + }, + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "NodePrimitivesCurrencyCurrencyId": "CurrencyId", + "OrmlTokensBalanceLock": "BalanceLock", + "OrmlTokensAccountData": "OrmlAccountData", + "OrmlTokensReserveData": "(Currency, u8, Amount, u128)", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } + }, + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } + }, + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } + }, + "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": "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" + } + }, + "EraStakingPoints": { + "total": "Balance", + "stakers": "BTreeMap", + "formerStakedEra": "EraIndex", + "claimedRewards": "Balance" + }, + "EraRewardAndStake": { + "rewards": "Balance", + "staked": "Balance" + }, + "EraIndex": "u32" + } + } + ] + }, + "automata": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "ResourceId": "[u8; 32]", + "DepositNonce": "u64", + "ProposalStatus": { + "_enum": [ + "Initiated", + "Approved", + "Rejected" + ] + }, + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus" + }, + "BridgeTokenId": "U256", + "BridgeChainId": "u8", + "VestingPlan": { + "start_time": "u64", + "cliff_duration": "u64", + "total_duration": "u64", + "interval": "u64", + "initial_amount": "Balance", + "total_amount": "Balance", + "vesting_during_cliff": "bool" + }, + "ProposalId": "u32", + "ProjectId": "u32", + "ChainIndex": "u32", + "Protocol": { + "_enum": [ + "Solidity", + "Substrate" + ] + }, + "Chain": { + "_protocol": "Protocol" + }, + "CrossChainAccount": { + "_enum": { + "Solidity": "H160", + "Substrate": "AccountId" + } + }, + "IpfsHash": "Text", + "SolidityStrategy": { + "_enum": { + "ERC20Balance": "H160" + } + }, + "SubstrateStrategy": { + "_enum": [ + "NativeBalance" + ] + }, + "Strategy": { + "_enum": { + "Solidity": "SolidityStrategy", + "Substrate": "SubstrateStrategy" + } + }, + "Workspace": { + "_chain": "ChainIndex", + "strategies": "Vec" + }, + "UserGroup": { + "owner": "CrossChainAccount", + "admins": "Vec", + "maintainers": "Vec", + "proposers": "Option>" + }, + "Project": { + "usergroup": "UserGroup", + "data": "IpfsHash", + "workspaces": "Vec" + }, + "VotingFormat": { + "_enum": [ + "SingleChoice", + "SplitVote" + ] + }, + "OptionIndex": "u8", + "PrivacyLevel": { + "_enum": { + "Opaque": "u8", + "Rank": "Null", + "Private": "Null", + "Public": "Null", + "Mixed": "Null" + } + }, + "VotingPower": "U256", + "DAOProposalState": { + "finalized": "bool", + "snapshots": "Vec>", + "blacklisted": "bool", + "votes": "Vec", + "pub_voters": "Option", + "updates": "u32" + }, + "DAOProposal": { + "_author": "CrossChainAccount", + "_voting_format": "VotingFormat", + "_option_count": "OptionIndex", + "_data": "IpfsHash", + "_privacy": "PrivacyLevel", + "_start": "u64", + "_end": "u64", + "_frequency": "Option", + "_workspaces": "Vec", + "state": "DAOProposalState" + }, + "VoteUpdate": { + "project": "ProjectId", + "proposal": "ProposalId", + "votes": "Vec", + "pub_voters": "Option" + } + } + } + ] + }, + "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" + }, + "Amount": "i128", + "AmountOf": "Amount", + "Address": "AccountId", + "OrmlAccountData": { + "free": "Balance", + "frozen": "Balance", + "reserved": "Balance" + }, + "Fee": { + "numerator": "u32", + "denominator": "u32" + }, + "BalanceInfo": { + "amount": "Balance", + "assetId": "AssetId" + }, + "Chain": { + "genesisHash": "Vec", + "lastBlockHash": "Vec" + }, + "Currency": "AssetId", + "CurrencyId": "AssetId", + "CurrencyIdOf": "AssetId", + "Intention": { + "who": "AccountId", + "asset_sell": "AssetId", + "asset_buy": "AssetId", + "amount": "Balance", + "discount": "bool", + "sell_or_buy": "IntentionType" + }, + "IntentionId": "Hash", + "IntentionType": { + "_enum": [ + "SELL", + "BUY" + ] + }, + "LookupSource": "AccountId", + "Price": "Balance", + "ClassId": "u64", + "TokenId": "u64", + "ClassData": { + "is_pool": "bool" + }, + "TokenData": { + "locked": "bool" + }, + "ClassInfo": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "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": { + "Token": "Null", + "PoolShare": "(AssetId,AssetId)" + } + }, + "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": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] + }, + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] + }, + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] + }, + "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" + } + }, + { + "minmax": [ + 32, + 38 + ], + "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": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] + }, + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] + }, + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] + }, + "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", + "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" + }, + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { + "_enum": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] + }, + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] + }, + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] + }, + "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 + ], + "types": { + "Balance2": "u128", + "ChainId": "u8", + "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" + ] + }, + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] + }, + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] + }, + "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" + }, + "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" + ] + }, + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] + }, + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] + }, + "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" + }, + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "CID": "Vec", + "Properties": { + "_set": { + "Transferable": 1, + "Burnable": 2 + } + }, + "ClassData": { + "deposit": "Balance", + "properties": "Properties" + }, + "TokenData": { + "deposit": "Balance" + }, + "ClassInfo": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "ClassInfoOf": "ClassInfo", + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "TokenData" + }, + "TokenInfoOf": "TokenInfo", + "TokenId": "u64", + "ClassIdOf": "ClassId", + "TokenIdOf": "TokenId", + "Amount": "i128", + "AmountOf": "Amount", + "Approval": { + "amount": "Balance", + "deposit": "Balance" + }, + "ApprovalKey": { + "owner": "AccountId", + "delegate": "AccountId" + }, + "Commitment": "ScalarData", + "CurrencyId": "u64", + "CurrencyIdOf": "CurrencyId", + "DustHandlerType": { + "_enum": { + "Burn": "Null", + "Transfer": "AccountId" + } + }, + "HashFunction": { + "_enum": [ + "PoseidonDefault", + "PoseidonExp3", + "PoseidonExp5", + "PoseidonExp17", + "MiMC", + "Blake2", + "Sha256" + ] + }, + "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" + }, + "MixerInfo": { + "minimum_deposit_length_for_reward": "BlockNumber", + "fixed_deposit_size": "Balance", + "currency_id": "CurrencyIdOf" + }, + "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" + }, + "TokenMetadata": { + "deposit": "Balance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "is_frozen": "bool" + }, + "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" + }, + "ETHBlock": { + "inner": "Block" + }, + "ETHReceipts": { + "inner": "Vec" + }, + "ETHTxStatuses": { + "inner": "Vec" + }, + "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" + } + ], + "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 + } + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "vtokenMint_getVtokenMintRate", + "method": "getVtokenMintRate", + "section": "vtokenMint" + } + }, + "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 + } + ], + "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" + } + } + }, + "types": [ + { + "minmax": [ + 0, + 901 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "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" + }, + "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" + }, + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" + }, + "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": [ + "BIFROST", + "EOS", + "IOST" + ] + }, + "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" + }, + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" + }, + "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" + }, + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" + }, + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" + }, + "TxSig": { + "signature": "Vec", + "author": "AccountId" + }, + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" + }, + "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": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } + }, + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] + }, + "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" + }, + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { + "_enum": { + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" + } + }, + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] + }, + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TimeUnit": { + "Era": "U32", + "SlashingSpan": "U32" + }, + "ledger": { + "Substrate": "SubstrateLedger" + }, + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" + }, + "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" + }, + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" + ] + }, + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } + }, + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } + }, + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" + }, + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } + }, + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } + }, + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } + }, + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } + }, + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } + }, + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" + }, + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" + }, + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" + }, + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "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" + }, + "OrderId": "u64", + "OrderType": { + "_enum": { + "Sell": 0, + "Buy": 1 + } + }, + "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" + }, + "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": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } + }, + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10 + } + }, + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } + }, + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "NodePrimitivesCurrencyCurrencyId": "CurrencyId", + "OrmlTokensBalanceLock": "BalanceLock", + "OrmlTokensAccountData": "OrmlAccountData", + "OrmlTokensReserveData": "(Currency, u8, Amount, u128)", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } + }, + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } + }, + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } + }, + "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": { + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "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" + }, + "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" + }, + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" + }, + "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": [ + "BIFROST", + "EOS", + "IOST" + ] + }, + "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" + }, + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" + }, + "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" + }, + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" + }, + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" + }, + "TxSig": { + "signature": "Vec", + "author": "AccountId" + }, + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" + }, + "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": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } + }, + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] + }, + "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" + }, + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { + "_enum": { + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" + } + }, + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] + }, + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TimeUnit": { + "Era": "U32", + "SlashingSpan": "U32" + }, + "ledger": { + "Substrate": "SubstrateLedger" + }, + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" + }, + "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" + }, + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" + ] + }, + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } + }, + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } + }, + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" + }, + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } + }, + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } + }, + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } + }, + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } + }, + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } + }, + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" + }, + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" + }, + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" + }, + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "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" + }, + "OrderId": "u64", + "OrderType": { + "_enum": { + "Sell": 0, + "Buy": 1 + } + }, + "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" + }, + "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": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } + }, + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10 + } + }, + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } + }, + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "NodePrimitivesCurrencyCurrencyId": "CurrencyId", + "OrmlTokensBalanceLock": "BalanceLock", + "OrmlTokensAccountData": "OrmlAccountData", + "OrmlTokensReserveData": "(Currency, u8, Amount, u128)", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } + }, + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } + }, + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } + }, + "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": "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 + } + ], + "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.", + "params": [ + { + "name": "asset_id", + "type": "CurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "vtokenMint_getVtokenMintRate", + "method": "getVtokenMintRate", + "section": "vtokenMint" + } + }, + "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 + } + ], + "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" + } + } + }, + "types": [ + { + "minmax": [ + 0, + 901 + ], + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "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" + }, + "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" + }, + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" + }, + "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": [ + "BIFROST", + "EOS", + "IOST" + ] + }, + "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" + }, + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" + }, + "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" + }, + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" + }, + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" + }, + "TxSig": { + "signature": "Vec", + "author": "AccountId" + }, + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" + }, + "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": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } + }, + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] + }, + "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" + }, + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { + "_enum": { + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" + } + }, + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] + }, + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TimeUnit": { + "Era": "U32", + "SlashingSpan": "U32" + }, + "ledger": { + "Substrate": "SubstrateLedger" + }, + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" + }, + "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" + }, + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" + ] + }, + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } + }, + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } + }, + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" + }, + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } + }, + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } + }, + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } + }, + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } + }, + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } + }, + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" + }, + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" + }, + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" + }, + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "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" + }, + "OrderId": "u64", + "OrderType": { + "_enum": { + "Sell": 0, + "Buy": 1 + } + }, + "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" + }, + "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": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } + }, + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10 + } + }, + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } + }, + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "NodePrimitivesCurrencyCurrencyId": "CurrencyId", + "OrmlTokensBalanceLock": "BalanceLock", + "OrmlTokensAccountData": "OrmlAccountData", + "OrmlTokensReserveData": "(Currency, u8, Amount, u128)", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } + }, + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } + }, + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } + }, + "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": { + "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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "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" + }, + "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" + }, + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" + }, + "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": [ + "BIFROST", + "EOS", + "IOST" + ] + }, + "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" + }, + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" + }, + "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" + }, + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" + }, + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" + }, + "TxSig": { + "signature": "Vec", + "author": "AccountId" + }, + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" + }, + "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": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } + }, + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] + }, + "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" + }, + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { + "_enum": { + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" + } + }, + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] + }, + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TimeUnit": { + "Era": "U32", + "SlashingSpan": "U32" + }, + "ledger": { + "Substrate": "SubstrateLedger" + }, + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" + }, + "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" + }, + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" + ] + }, + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } + }, + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } + }, + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" + }, + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } + }, + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } + }, + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } + }, + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } + }, + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } + }, + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" + }, + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" + }, + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" + }, + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "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" + }, + "OrderId": "u64", + "OrderType": { + "_enum": { + "Sell": 0, + "Buy": 1 + } + }, + "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" + }, + "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": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } + }, + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10 + } + }, + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } + }, + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "NodePrimitivesCurrencyCurrencyId": "CurrencyId", + "OrmlTokensBalanceLock": "BalanceLock", + "OrmlTokensAccountData": "OrmlAccountData", + "OrmlTokensReserveData": "(Currency, u8, Amount, u128)", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } + }, + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } + }, + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } + }, + "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": "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" + }, + "AssetData": { + "name": "Text", + "description": "Text", + "properties": "Text", + "supporters": "Vec" + }, + "AuctionId": "u64", + "AuctionItem": { + "asset_id": "TokenId", + "class_id": "ClassId", + "recipient": "AccountId", + "initial_amount": "Balance", + "amount": "Balance", + "start_time": "u32", + "end_time": "u32" + }, + "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" + }, + "AssetData": { + "name": "Text", + "description": "Text", + "properties": "Text", + "supporters": "Vec" + }, + "AuctionId": "u64", + "AuctionItem": { + "asset_id": "TokenId", + "class_id": "ClassId", + "recipient": "AccountId", + "initial_amount": "Balance", + "amount": "Balance", + "start_time": "u32", + "end_time": "u32" + }, + "AuctionInfo": { + "bid": "Option<(AccountId,Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "RentId": "u64", + "RentalInfo": { + "owner": "AccountId", + "start": "BlockNumber", + "end": "Option", + "price_per_block": "Balance" + }, + "CountryId": "u64", + "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" + }, + "TokenType": { + "_enum": [ + "Transferrable", + "BoundToAddress" + ] + }, + "NftAssetData": { + "name": "Vec", + "description": "Vec", + "properties": "Vec" + }, + "NftClassData": { + "deposit": "Balance", + "properties": "Vec", + "token_type": "TokenType" + }, + "NetworkId": { + "_enum": { + "Any": "Null", + "Named": "Vec", + "Polkadot": "Null", + "Kusama": "Null" + } + }, + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol" + } + }, + "TokenSymbol": { + "_enum": [ + "NUUM", + "AUSD", + "ACA", + "DOT" + ] + }, + "CountryCurrencyId": "u32", + "CurrencyIdOf": "CurrencyId", + "BalanceIdOf": "Balance", + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "XCurrencyId": { + "chain_id": "ChainId", + "currency_id": "CurrencyId" + }, + "GroupCollectionId": "u64", + "ClassIdOf": "u32", + "TokenIdOf": "u32", + "SpotId": "u32" + } + } + ] + }, + "centrifuge": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "AnchorData": { + "id": "Hash", + "docRoot": "Hash", + "anchoredBlock": "u64" + }, + "ChainId": "u8", + "chainbridge::ChainId": "u8", + "DepositNonce": "u64", + "Fee": { + "key": "Hash", + "price": "Balance" + }, + "ParachainAccountIdOf": "AccountId", + "PreCommitData": { + "signingRoot": "Hash", + "identity": "AccountId", + "expirationBlock": "u64" + }, + "Proof": { + "leafHash": "Hash", + "sortedHashes": "Vec" + }, + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "_Staking", + "NonProxy" + ] + }, + "ResourceId": "[u8; 32]", + "RelayChainAccountId": "AccountId", + "RootHashOf": "Hash" + } + } + ] + }, + "centrifuge-chain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "AnchorData": { + "id": "H256", + "docRoot": "H256", + "anchoredBlock": "u64" + }, + "Fee": { + "key": "Hash", + "price": "Balance" + }, + "PreCommitData": { + "signingRoot": "H256", + "identity": "H256", + "expirationBlock": "u64" + }, + "Proof": { + "leafHash": "H256", + "sortedHashes": "H256" + }, + "MultiAccountData": { + "threshold": "u16", + "signatories": "Vec", + "deposit": "Balance", + "depositor": "AccountId" + }, + "ChainId": "u8", + "ResourceId": "[u8; 32]", + "chainbridge::ChainId": "u8", + "DepositNonce": "u64", + "RegistryId": "H160", + "TokenId": "U256", + "AssetId": { + "registryId": "RegistryId", + "tokenId": "TokenId" + }, + "RegistryInfo": { + "ownerCanBurn": "bool", + "fields": "Vec" + }, + "AssetInfo": { + "metadata": "Bytes" + }, + "ProofMint": { + "value": "Bytes", + "property": "Bytes", + "salt": "[u8; 32]", + "hashes": "Vec" + }, + "MintInfo": { + "anchorId": "Hash", + "staticHashes": "[Hash; 3]", + "proofs": "Vec" + } + } + } + ] + }, + "chainx": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId", + "Chain": { + "_enum": [ + "ChainX", + "Bitcoin", + "Ethereum", + "Polkadot" + ] + }, + "NetworkType": { + "_enum": [ + "Mainnet", + "Testnet" + ] + }, + "AssetType": { + "_enum": [ + "Usable", + "Locked", + "Reserved", + "ReservedWithdrawal", + "ReservedDexSpot" + ] + }, + "OrderType": { + "_enum": [ + "Limit", + "Market" + ] + }, + "Side": { + "_enum": [ + "Buy", + "Sell" + ] + }, + "LockedType": { + "_enum": [ + "Bonded", + "BondedWithdrawal" + ] + }, + "Memo": "Text", + "AssetInfo": { + "token": "String", + "tokenName": "String", + "chain": "Chain", + "decimals": "Decimals", + "desc": "String" + }, + "TradingPairProfile": { + "id": "TradingPairId", + "currencyPair": "CurrencyPair", + "pipDecimals": "u32", + "tickDecimals": "u32", + "tradable": "bool" + }, + "Order": { + "props": "OrderProperty", + "status": "OrderStatus", + "remaining": "Balance", + "executedIndices": "Vec", + "alreadyFilled": "Balance", + "lastUpdateAt": "BlockNumber" + }, + "TradingPairInfo": { + "latestPrice": "Price", + "lastUpdated": "BlockNumber" + }, + "OrderExecutedInfo": { + "tradingHistoryIdx": "TradingHistoryIndex", + "pairId": "TradingPairId", + "price": "Price", + "maker": "AccountId", + "taker": "AccountId", + "makerOrderId": "OrderId", + "takerOrderId": "OrderId", + "turnover": "Balance", + "executedAt": "BlockNumber" + }, + "BtcHeaderInfo": { + "header": "BtcHeader", + "height": "u32" + }, + "BtcParams": { + "maxBits": "u32", + "blockMaxFuture": "u32", + "targetTimespanSeconds": "u32", + "targetSpacingSeconds": "u32", + "retargetingFactor": "u32", + "retargetingInterval": "u32", + "minTimespan": "u32", + "maxTimespan": "u32" + }, + "MiningAssetInfo": { + "assetId": "AssetId", + "miningPower": "FixedAssetPower", + "rewardPot": "AccountId", + "rewardPotBalance": "RpcBalance", + "lastTotalMiningWeight": "RpcMiningWeight", + "lastTotalMiningWeightUpdate": "BlockNumber" + }, + "MiningDividendInfo": { + "own": "Balance", + "other": "Balance", + "insufficientStake": "Balance" + }, + "AssetLedger": { + "lastTotalMiningWeight": "MiningWeight", + "lastTotalMiningWeightUpdate": "BlockNumber" + }, + "MinerLedger": { + "lastMiningWeight": "MiningWeight", + "lastMiningWeightUpdate": "BlockNumber", + "lastClaim": "Option" + }, + "ClaimRestriction": { + "stakingRequirement": "StakingRequirement", + "frequencyLimit": "BlockNumber" + }, + "NominatorInfo": { + "lastRebond": "Option" + }, + "BondRequirement": { + "selfBonded": "Balance", + "total": "Balance" + }, + "Unbonded": { + "value": "Balance", + "lockedUntil": "BlockNumber" + }, + "ValidatorLedger": { + "totalNomination": "Balance", + "lastTotalVoteWeight": "VoteWeight", + "lastTotalVoteWeightUpdate": "BlockNumber" + }, + "NominatorLedger": { + "nomination": "Balance", + "lastVoteWeight": "VoteWeight", + "lastVoteWeightUpdate": "BlockNumber", + "unbondedChunks": "Vec" + }, + "ValidatorProfile": { + "registeredAt": "BlockNumber", + "isChilled": "bool", + "lastChilled": "Option", + "referralId": "ReferralId" + }, + "GlobalDistribution": { + "treasury": "u32", + "mining": "u32" + }, + "MiningDistribution": { + "asset": "u32", + "staking": "u32" + }, + "InclusionFee": { + "baseFee": "Balance", + "lenFee": "Balance", + "adjustedWeightFee": "Balance" + }, + "FeeDetails": { + "inclusionFee": "Option>", + "extraFee": "Balance", + "tip": "Balance", + "finalFee": "Balance" + }, + "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" + }, + "OrderStatus": { + "_enum": [ + "Created", + "PartialFill", + "Filled", + "PartialFillAndCanceled", + "Canceled" + ] + }, + "AssetId": "u32", + "MiningWeight": "u128", + "VoteWeight": "u128", + "ReferralId": "Text", + "AssetRestriction": { + "_enum": [ + "Move", + "Transfer", + "Deposit", + "Withdraw", + "DestroyWithdrawal", + "DestroyFree" + ] + }, + "AssetRestrictions": { + "bits": "u32" + }, + "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": [ + "Applying", + "Processing", + "NormalFinish", + "RootFinish", + "NormalCancel", + "RootCancel" + ] + }, + "WithdrawalRecord": { + "assetId": "AssetId", + "applicant": "AccountId", + "balance": "Balance", + "addr": "AddrStr", + "ext": "Memo", + "height": "BlockNumber" + }, + "WithdrawalLimit": { + "minimalWithdrawal": "Balance", + "fee": "Balance" + }, + "TrusteeInfoConfig": { + "minTrusteeCount": "u32", + "maxTrusteeCount": "u32" + }, + "GenericTrusteeIntentionProps": { + "about": "Text", + "hotEntity": "Vec", + "coldEntity": "Vec" + }, + "GenericTrusteeSessionInfo": { + "trusteeList": "Vec", + "threshold": "u16", + "hotAddress": "Vec", + "coldAddress": "Vec" + }, + "ChainAddress": "Vec", + "BtcTrusteeType": "Vec", + "BtcTrusteeAddrInfo": { + "addr": "BtcAddress", + "redeemScript": "Vec" + }, + "BtcTrusteeIntentionProps": { + "about": "Text", + "hotEntity": "BtcTrusteeType", + "coldEntity": "BtcTrusteeType" + }, + "BtcTrusteeSessionInfo": { + "trusteeList": "Vec", + "threshold": "u16", + "hotAddress": "BtcTrusteeAddrInfo", + "coldAddress": "BtcTrusteeAddrInfo" + }, + "BtcTransaction": "Vec", + "BtcPartialMerkleTree": "Vec", + "BtcRelayedTxInfo": { + "blockHash": "H256", + "merkleProof": "BtcPartialMerkleTree" + }, + "BtcHeaderIndex": { + "hash": "H256", + "height": "u32" + }, + "BtcTxResult": { + "_enum": [ + "Success", + "Failure" + ] + }, + "BtcTxState": { + "txType": "BtcTxType", + "result": "BtcTxResult" + }, + "BtcTxType": { + "_enum": [ + "Withdrawal", + "Deposit", + "HotAndCold", + "TrusteeTransition", + "Irrelevance" + ] + }, + "BtcDepositCache": { + "txid": "H256", + "balance": "u64" + }, + "BtcVoteResult": { + "_enum": [ + "Unfinish", + "Finish" + ] + }, + "BtcWithdrawalProposal": { + "sigState": "BtcVoteResult", + "withdrawalIdList": "Vec", + "tx": "BtcTransaction", + "trusteeList": "Vec<(AccountId, bool)>" + }, + "BtcTxVerifier": { + "_enum": [ + "Recover", + "RuntimeInterface" + ] + }, + "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" + }, + "RpcInclusionFee": { + "baseFee": "RpcBalance", + "lenFee": "RpcBalance", + "adjustedWeightFee": "RpcBalance" + }, + "RpcFeeDetails": { + "inclusionFee": "Option", + "tip": "RpcBalance", + "extraFee": "RpcBalance", + "finalFee": "RpcBalance" + }, + "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" + }, + "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" + } + } + ] + }, + "chainx-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId", + "Chain": { + "_enum": [ + "ChainX", + "Bitcoin", + "Ethereum", + "Polkadot" + ] + }, + "NetworkType": { + "_enum": [ + "Mainnet", + "Testnet" + ] + }, + "AssetType": { + "_enum": [ + "Usable", + "Locked", + "Reserved", + "ReservedWithdrawal", + "ReservedDexSpot" + ] + }, + "OrderType": { + "_enum": [ + "Limit", + "Market" + ] + }, + "Side": { + "_enum": [ + "Buy", + "Sell" + ] + }, + "LockedType": { + "_enum": [ + "Bonded", + "BondedWithdrawal" + ] + }, + "Memo": "Text", + "AssetInfo": { + "token": "String", + "tokenName": "String", + "chain": "Chain", + "decimals": "Decimals", + "desc": "String" + }, + "TradingPairProfile": { + "id": "TradingPairId", + "currencyPair": "CurrencyPair", + "pipDecimals": "u32", + "tickDecimals": "u32", + "tradable": "bool" + }, + "Order": { + "props": "OrderProperty", + "status": "OrderStatus", + "remaining": "Balance", + "executedIndices": "Vec", + "alreadyFilled": "Balance", + "lastUpdateAt": "BlockNumber" + }, + "TradingPairInfo": { + "latestPrice": "Price", + "lastUpdated": "BlockNumber" + }, + "OrderExecutedInfo": { + "tradingHistoryIdx": "TradingHistoryIndex", + "pairId": "TradingPairId", + "price": "Price", + "maker": "AccountId", + "taker": "AccountId", + "makerOrderId": "OrderId", + "takerOrderId": "OrderId", + "turnover": "Balance", + "executedAt": "BlockNumber" + }, + "BtcHeaderInfo": { + "header": "BtcHeader", + "height": "u32" + }, + "BtcParams": { + "maxBits": "u32", + "blockMaxFuture": "u32", + "targetTimespanSeconds": "u32", + "targetSpacingSeconds": "u32", + "retargetingFactor": "u32", + "retargetingInterval": "u32", + "minTimespan": "u32", + "maxTimespan": "u32" + }, + "MiningAssetInfo": { + "assetId": "AssetId", + "miningPower": "FixedAssetPower", + "rewardPot": "AccountId", + "rewardPotBalance": "RpcBalance", + "lastTotalMiningWeight": "RpcMiningWeight", + "lastTotalMiningWeightUpdate": "BlockNumber" + }, + "MiningDividendInfo": { + "own": "Balance", + "other": "Balance", + "insufficientStake": "Balance" + }, + "AssetLedger": { + "lastTotalMiningWeight": "MiningWeight", + "lastTotalMiningWeightUpdate": "BlockNumber" + }, + "MinerLedger": { + "lastMiningWeight": "MiningWeight", + "lastMiningWeightUpdate": "BlockNumber", + "lastClaim": "Option" + }, + "ClaimRestriction": { + "stakingRequirement": "StakingRequirement", + "frequencyLimit": "BlockNumber" + }, + "NominatorInfo": { + "lastRebond": "Option" + }, + "BondRequirement": { + "selfBonded": "Balance", + "total": "Balance" + }, + "Unbonded": { + "value": "Balance", + "lockedUntil": "BlockNumber" + }, + "ValidatorLedger": { + "totalNomination": "Balance", + "lastTotalVoteWeight": "VoteWeight", + "lastTotalVoteWeightUpdate": "BlockNumber" + }, + "NominatorLedger": { + "nomination": "Balance", + "lastVoteWeight": "VoteWeight", + "lastVoteWeightUpdate": "BlockNumber", + "unbondedChunks": "Vec" + }, + "ValidatorProfile": { + "registeredAt": "BlockNumber", + "isChilled": "bool", + "lastChilled": "Option", + "referralId": "ReferralId" + }, + "GlobalDistribution": { + "treasury": "u32", + "mining": "u32" + }, + "MiningDistribution": { + "asset": "u32", + "staking": "u32" + }, + "InclusionFee": { + "baseFee": "Balance", + "lenFee": "Balance", + "adjustedWeightFee": "Balance" + }, + "FeeDetails": { + "inclusionFee": "Option>", + "extraFee": "Balance", + "tip": "Balance", + "finalFee": "Balance" + }, + "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" + }, + "OrderStatus": { + "_enum": [ + "Created", + "PartialFill", + "Filled", + "PartialFillAndCanceled", + "Canceled" + ] + }, + "AssetId": "u32", + "MiningWeight": "u128", + "VoteWeight": "u128", + "ReferralId": "Text", + "AssetRestriction": { + "_enum": [ + "Move", + "Transfer", + "Deposit", + "Withdraw", + "DestroyWithdrawal", + "DestroyFree" + ] + }, + "AssetRestrictions": { + "bits": "u32" + }, + "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": [ + "Applying", + "Processing", + "NormalFinish", + "RootFinish", + "NormalCancel", + "RootCancel" + ] + }, + "WithdrawalRecord": { + "assetId": "AssetId", + "applicant": "AccountId", + "balance": "Balance", + "addr": "AddrStr", + "ext": "Memo", + "height": "BlockNumber" + }, + "WithdrawalLimit": { + "minimalWithdrawal": "Balance", + "fee": "Balance" + }, + "TrusteeInfoConfig": { + "minTrusteeCount": "u32", + "maxTrusteeCount": "u32" + }, + "GenericTrusteeIntentionProps": { + "about": "Text", + "hotEntity": "Vec", + "coldEntity": "Vec" + }, + "GenericTrusteeSessionInfo": { + "trusteeList": "Vec", + "threshold": "u16", + "hotAddress": "Vec", + "coldAddress": "Vec" + }, + "ChainAddress": "Vec", + "BtcTrusteeType": "Vec", + "BtcTrusteeAddrInfo": { + "addr": "BtcAddress", + "redeemScript": "Vec" + }, + "BtcTrusteeIntentionProps": { + "about": "Text", + "hotEntity": "BtcTrusteeType", + "coldEntity": "BtcTrusteeType" + }, + "BtcTrusteeSessionInfo": { + "trusteeList": "Vec", + "threshold": "u16", + "hotAddress": "BtcTrusteeAddrInfo", + "coldAddress": "BtcTrusteeAddrInfo" + }, + "BtcTransaction": "Vec", + "BtcPartialMerkleTree": "Vec", + "BtcRelayedTxInfo": { + "blockHash": "H256", + "merkleProof": "BtcPartialMerkleTree" + }, + "BtcHeaderIndex": { + "hash": "H256", + "height": "u32" + }, + "BtcTxResult": { + "_enum": [ + "Success", + "Failure" + ] + }, + "BtcTxState": { + "txType": "BtcTxType", + "result": "BtcTxResult" + }, + "BtcTxType": { + "_enum": [ + "Withdrawal", + "Deposit", + "HotAndCold", + "TrusteeTransition", + "Irrelevance" + ] + }, + "BtcDepositCache": { + "txid": "H256", + "balance": "u64" + }, + "BtcVoteResult": { + "_enum": [ + "Unfinish", + "Finish" + ] + }, + "BtcWithdrawalProposal": { + "sigState": "BtcVoteResult", + "withdrawalIdList": "Vec", + "tx": "BtcTransaction", + "trusteeList": "Vec<(AccountId, bool)>" + }, + "BtcTxVerifier": { + "_enum": [ + "Recover", + "RuntimeInterface" + ] + }, + "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" + }, + "RpcInclusionFee": { + "baseFee": "RpcBalance", + "lenFee": "RpcBalance", + "adjustedWeightFee": "RpcBalance" + }, + "RpcFeeDetails": { + "inclusionFee": "Option", + "tip": "RpcBalance", + "extraFee": "RpcBalance", + "finalFee": "RpcBalance" + }, + "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" + }, + "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", + "EcdsaSignature": "[u8; 65]", + "EvmAddress": "H160", + "EthereumTxHash": "H256", + "BridgeNetworks": { + "_enum": [ + "BSC", + "Ethereum", + "CloverPara" + ] + } + } + } + ] + }, + "clover-rococo": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Amount": "i128", + "AmountOf": "Amount", + "Balance": "u128", + "CurrencyId": { + "_enum": [ + "CLV", + "CUSDT", + "DOT", + "CETH" + ] + }, + "CurrencyIdOf": "CurrencyId", + "CurrencyTypeEnum": { + "_enum": [ + "CLV", + "CUSDT", + "DOT", + "CETH" + ] + }, + "PairKey": "u64", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "Share": "u128", + "OracleKey": "CurrencyId", + "CurrencyInfo": { + "id": "CurrencyId", + "name": "CurrencyTypeEnum" + }, + "ExchangeInfo": { + "balance": "Balance", + "routes": "Vec" + }, + "PoolId": { + "_enum": { + "Swap": "u64" + } + }, + "EcdsaSignature": "[u8; 65]", + "EvmAddress": "H160", + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitRevert": { + "_enum": [ + "Reverted" + ] + }, + "ExitError": { + "_enum": [ + "StackUnderflow", + "StackOverflow", + "InvalidJump", + "InvalidRange", + "DesignatedInvalid", + "CallTooDeep", + "CreateCollision", + "CreateContractLimit", + "OutOfOffset", + "OutOfGas", + "OutOfFund", + "PCUnderflow", + "CreateEmpty", + "Other" + ] + }, + "ExitFatal": { + "_enum": [ + "NotSupported", + "UnhandledInterrupt", + "CallErrorAsFatal", + "Other" + ] + }, + "ExitReason": { + "_enum": [ + "Succeed", + "Error", + "Revert", + "Fatal" + ] + } + } + } + ] + }, + "coinversation": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId" + } + } + ] + }, + "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" + }, + "Vie": { + "operator": "AccountId", + "stake": "Balance", + "places": "Vec", + "time": "Moment", + "competitors": "Vec", + "memo": "Vec" + }, + "VieOf": "Vie", + "VieReq": { + "stake": "Balance", + "places": "Vec", + "competitors": "Vec", + "memo": "Vec" + }, + "VieRequestOf": "VieReq", + "Participants": { + "AccountId": "[u8;16]" + }, + "Operators": { + "AccountId": "[u8;16]" + }, + "StandingReq": { + "competitor": "AccountId", + "spot": "u32" + }, + "PodiumReq": { + "champion": "AccountId", + "podium": "Vec" + }, + "PodiumReqOf": "PodiumReq", + "Trophy": { + "trophy": "[u8; 16]", + "competitors": "Vec", + "stake": "Balance", + "memo": "Vec", + "time": "u64", + "podium": "Vec" + }, + "TokenId": "u64", + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "Trophy" + }, + "TokenInfoOf": "TokenInfo" + } + } + ] + }, + "contextfree": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "ResourceId": "[u8; 32]", + "DepositNonce": "u64", + "ProposalStatus": { + "_enum": [ + "Initiated", + "Approved", + "Rejected" + ] + }, + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus" + }, + "BridgeTokenId": "U256", + "BridgeChainId": "u8", + "VestingPlan": { + "start_time": "u64", + "cliff_duration": "u64", + "total_duration": "u64", + "interval": "u64", + "initial_amount": "Balance", + "total_amount": "Balance", + "vesting_during_cliff": "bool" + }, + "ProposalId": "u32", + "ProjectId": "u32", + "ChainIndex": "u32", + "Protocol": { + "_enum": [ + "Solidity", + "Substrate" + ] + }, + "Chain": { + "_protocol": "Protocol" + }, + "CrossChainAccount": { + "_enum": { + "Solidity": "H160", + "Substrate": "AccountId" + } + }, + "IpfsHash": "Text", + "SolidityStrategy": { + "_enum": { + "ERC20Balance": "H160" + } + }, + "SubstrateStrategy": { + "_enum": [ + "NativeBalance" + ] + }, + "Strategy": { + "_enum": { + "Solidity": "SolidityStrategy", + "Substrate": "SubstrateStrategy" + } + }, + "Workspace": { + "_chain": "ChainIndex", + "strategies": "Vec" + }, + "UserGroup": { + "owner": "CrossChainAccount", + "admins": "Vec", + "maintainers": "Vec", + "proposers": "Option>" + }, + "Project": { + "usergroup": "UserGroup", + "data": "IpfsHash", + "workspaces": "Vec" + }, + "VotingFormat": { + "_enum": [ + "SingleChoice", + "SplitVote" + ] + }, + "OptionIndex": "u8", + "PrivacyLevel": { + "_enum": { + "Opaque": "u8", + "Rank": "Null", + "Private": "Null", + "Public": "Null", + "Mixed": "Null" + } + }, + "VotingPower": "U256", + "DAOProposalState": { + "finalized": "bool", + "snapshots": "Vec>", + "blacklisted": "bool", + "votes": "Vec", + "pub_voters": "Option", + "updates": "u32" + }, + "DAOProposal": { + "_author": "CrossChainAccount", + "_voting_format": "VotingFormat", + "_option_count": "OptionIndex", + "_data": "IpfsHash", + "_privacy": "PrivacyLevel", + "_start": "u64", + "_end": "u64", + "_frequency": "Option", + "_workspaces": "Vec", + "state": "DAOProposalState" + }, + "VoteUpdate": { + "project": "ProjectId", + "proposal": "ProposalId", + "votes": "Vec", + "pub_voters": "Option" + } + } + } + ] + }, + "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", + "consumers": "RefCount", + "providers": "RefCount", + "data": "AccountData" + }, + "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" + }, + "PeerId": "(Vec)", + "Amendment": { + "statement": "Vec", + "owners": "Vec" + }, + "BlockNumber": "u32", + "VestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "period_count": "BlockNumber", + "per_period": "Compact" + }, + "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" + }, + "FundsType": { + "_enum": [ + "SWORK", + "MARKET" + ] + }, + "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>" + }, + "SworkBenefit": { + "total_funds": "Compact", + "active_funds": "Compact", + "total_fee_reduction_count": "u32", + "used_fee_reduction_count": "u32", + "refreshed_at": "Compact", + "unlocking_funds": "Vec>" + }, + "BridgeChainId": "u8", + "ChainId": "u8", + "ResourceId": "H256", + "DepositNonce": "u64", + "ProposalStatus": { + "_enum": [ + "Initiated", + "Approved", + "Rejected" + ] + }, + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" + }, + "Erc721Token": { + "id": "TokenId", + "metadata": "Vec" + }, + "TokenId": "U256", + "ETHAddress": "Vec", + "EthereumTxHash": "H256", + "Lock": { + "total": "Compact", + "last_unlock_at": "BlockNumber", + "lock_type": "LockType" + }, + "LockType": { + "delay": "BlockNumber", + "lock_period": "u32" + }, + "FileInfo": { + "file_size": "u64", + "spower": "u64", + "expired_at": "BlockNumber", + "calculated_at": "BlockNumber", + "amount": "Compact", + "prepaid": "Compact", + "reported_replica_count": "u32", + "replicas": "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>" + }, + "Replica": { + "who": "AccountId", + "valid_at": "BlockNumber", + "anchor": "SworkerAnchor", + "is_reported": "bool", + "created_at": "Option" + }, + "Guarantee": { + "targets": "Vec>", + "total": "Compact", + "submitted_in": "EraIndex", + "suppressed": "bool" + }, + "ValidatorPrefs": { + "guarantee_fee": "Compact" + }, + "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": {} + }, + "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" + }, + "FundsType": { + "_enum": [ + "SWORK", + "MARKET" + ] + }, + "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>" + }, + "SworkBenefit": { + "total_funds": "Compact", + "active_funds": "Compact", + "total_fee_reduction_count": "u32", + "used_fee_reduction_count": "u32", + "refreshed_at": "Compact", + "unlocking_funds": "Vec>" + }, + "BridgeChainId": "u8", + "ChainId": "u8", + "ResourceId": "H256", + "DepositNonce": "u64", + "ProposalStatus": { + "_enum": [ + "Initiated", + "Approved", + "Rejected" + ] + }, + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" + }, + "Erc721Token": { + "id": "TokenId", + "metadata": "Vec" + }, + "TokenId": "U256", + "ETHAddress": "Vec", + "EthereumTxHash": "H256", + "Lock": { + "total": "Compact", + "last_unlock_at": "BlockNumber", + "lock_type": "LockType" + }, + "LockType": { + "delay": "BlockNumber", + "lock_period": "u32" + }, + "FileInfo": { + "file_size": "u64", + "spower": "u64", + "expired_at": "BlockNumber", + "calculated_at": "BlockNumber", + "amount": "Compact", + "prepaid": "Compact", + "reported_replica_count": "u32", + "replicas": "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>" + }, + "Replica": { + "who": "AccountId", + "valid_at": "BlockNumber", + "anchor": "SworkerAnchor", + "is_reported": "bool", + "created_at": "Option" + }, + "Guarantee": { + "targets": "Vec>", + "total": "Compact", + "submitted_in": "EraIndex", + "suppressed": "bool" + }, + "ValidatorPrefs": { + "guarantee_fee": "Compact" + }, + "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" + } + } + ] + }, + "datahighway": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "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" + }, + "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" + }, + "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" + }, + "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" + }, + "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" + }, + "MiningSettingTokenRequirementsSetting": { + "token_type": "Text", + "token_lock_min_amount": "u64", + "token_lock_min_blocks": "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" + }, + "MiningSamplingToken": "[u8; 16]", + "MiningSamplingTokenIndex": "u64", + "MiningSamplingTokenSampleLockedAmount": "u64", + "MiningSamplingTokenSetting": { + "token_sample_block": "Moment", + "token_sample_locked_amount": "u64" + }, + "MiningSamplingHardware": "[u8; 16]", + "MiningSamplingHardwareIndex": "u64", + "MiningSamplingHardwareSampleHardwareOnline": "u64", + "MiningSamplingHardwareSetting": { + "hardware_sample_block": "Moment", + "hardware_sample_hardware_online": "bool" + }, + "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" + }, + "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" + }, + "MiningEligibilityProxy": "[u8; 16]", + "MiningEligibilityProxyIndex": "u64", + "MiningEligibilityProxyRewardRequest": { + "proxy_claim_requestor_account_id": "AccountId", + "proxy_claim_total_reward_amount": "Balance", + "proxy_claim_timestamp_redeemed": "Moment" + }, + "MiningEligibilityProxyClaimRewardeeData": { + "proxy_claim_rewardee_account_id": "AccountId", + "proxy_claim_reward_amount": "Balance", + "proxy_claim_start_date": "Date", + "proxy_claim_end_date": "Date" + }, + "RewardeeData": { + "proxy_claim_rewardee_account_id": "AccountId", + "proxy_claim_reward_amount": "Balance", + "proxy_claim_start_date": "Date", + "proxy_claim_end_date": "Date" + }, + "RewardRequestorData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "total_amt": "Balance", + "rewardee_count": "u64", + "member_kind": "u32", + "requested_date": "Moment" + }, + "RequestorData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "total_amt": "Balance", + "rewardee_count": "u64", + "member_kind": "u32", + "requested_date": "Moment" + }, + "RewardTransferData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "is_sent": "bool", + "total_amt": "Balance", + "rewardee_count": "u64", + "member_kind": "u32", + "requested_date": "Moment" + }, + "TransferData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "is_sent": "bool", + "total_amt": "Balance", + "rewardee_count": "u64", + "member_kind": "u32", + "requested_date": "Moment" + }, + "RewardDailyData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "total_amt": "Balance", + "proxy_claim_requestor_account_id": "AccountId", + "member_kind": "u32", + "rewarded_date": "Date" + }, + "DailyData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "total_amt": "Balance", + "proxy_claim_requestor_account_id": "AccountId", + "member_kind": "u32", + "rewarded_date": "Date" + }, + "MiningClaimsToken": "[u8; 16]", + "MiningClaimsTokenIndex": "u64", + "MiningClaimsTokenClaimAmount": "u64", + "MiningClaimsTokenClaimResult": { + "token_claim_amount": "u64", + "token_claim_block_redeemed": "u64" + }, + "MiningClaimsHardware": "[u8; 16]", + "MiningClaimsHardwareIndex": "u64", + "MiningClaimsHardwareClaimAmount": "u64", + "MiningClaimsHardwareClaimResult": { + "hardware_claim_amount": "u64", + "hardware_claim_block_redeemed": "u64" + }, + "MiningExecutionToken": "[u8; 16]", + "MiningExecutionTokenIndex": "u64", + "MiningExecutionTokenExecutorAccountID": "u64", + "MiningExecutionTokenExecutionResult": { + "token_execution_exector_account_id": "u64", + "token_execution_started_block": "Moment", + "token_execution_ended_block": "Moment" + }, + "ExchangeRateIndex": "u64", + "ExchangeRateSetting": { + "hbtc": "u64", + "dot": "u64", + "iota": "u64", + "fil": "u64", + "decimals_after_point": "u32" + }, + "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" + }, + "RoamingAgreementPolicy": "[u8; 16]", + "RoamingAgreementPolicyIndex": "u64", + "RoamingAgreementPolicyActivationType": "Text", + "RoamingAgreementPolicyConfig": { + "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", + "RoamingDeviceProfileConfig": { + "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", + "RoamingBillingPolicyConfig": { + "policy_next_billing_at_block": "Moment", + "policy_frequency_in_blocks": "Moment" + }, + "RoamingChargingPolicy": "[u8; 16]", + "RoamingChargingPolicyIndex": "u64", + "RoamingChargingPolicyConfig": { + "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" + }, + "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" + }, + "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" + }, + "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" + }, + "MiningConfigTokenRequirementsConfig": { + "token_type": "Text", + "token_lock_min_amount": "u64", + "token_lock_min_blocks": "u32" + }, + "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" + }, + "MiningSamplingToken": "[u8; 16]", + "MiningSamplingTokenIndex": "u64", + "MiningSamplingTokenSampleLockedAmount": "u64", + "MiningSamplingTokenConfig": { + "token_sample_block": "Moment", + "token_sample_locked_amount": "u64" + }, + "MiningSamplingHardware": "[u8; 16]", + "MiningSamplingHardwareIndex": "u64", + "MiningSamplingHardwareSampleHardwareOnline": "u64", + "MiningSamplingHardwareConfig": { + "hardware_sample_block": "Moment", + "hardware_sample_hardware_online": "bool" + }, + "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" + }, + "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" + }, + "MiningClaimsToken": "[u8; 16]", + "MiningClaimsTokenIndex": "u64", + "MiningClaimsTokenClaimAmount": "u64", + "MiningClaimsTokenClaimResult": { + "token_claim_amount": "u64", + "token_claim_block_redeemed": "u64" + }, + "MiningClaimsHardware": "[u8; 16]", + "MiningClaimsHardwareIndex": "u64", + "MiningClaimsHardwareClaimAmount": "u64", + "MiningClaimsHardwareClaimResult": { + "hardware_claim_amount": "u64", + "hardware_claim_block_redeemed": "u64" + }, + "MiningExecutionToken": "[u8; 16]", + "MiningExecutionTokenIndex": "u64", + "MiningExecutionTokenExecutorAccountID": "u64", + "MiningExecutionTokenExecutionResult": { + "token_execution_exector_account_id": "u64", + "token_execution_started_block": "Moment", + "token_execution_ended_block": "Moment" + }, + "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" + } + } + ] + }, + "dawn": { + "types": [ + { + "minmax": [ + 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", + "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" + }, + "BondingLedger": { + "total": "Compact", + "active": "Compact", + "unlocking": "Vec" + }, + "CID": "Vec", + "CallOf": "Call", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" + }, + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } + }, + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } + }, + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } + }, + "ChangeRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "Rate" + } + }, + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } + }, + "ClassData": { + "deposit": "Balance", + "properties": "Properties" + }, + "ClassId": "u32", + "ClassIdOf": "ClassId", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" + }, + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" + }, + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" + } + }, + "CurrencyIdOf": "CurrencyId", + "DataProviderId": { + "_enum": [ + "Aggregated", + "Eave", + "Band" + ] + }, + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" + }, + "DestAddress": "Vec", + "DispatchId": "u32", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "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": [ + "Auction", + "Exchange" + ] + }, + "LiquidityPool": { + "currency_ids": "Vec", + "lp_token_id": "AssetId", + "pool_config_id": "u32", + "pool_reserves": "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" + }, + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "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" + } + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "PoolId": { + "_enum": { + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Elp": "Null" + } + }, + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "Position": { + "collateral": "Balance", + "debit": "Balance" + }, + "Price": "FixedU128", + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2 + } + }, + "PublicKey": "[u8; 20]", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "RedeemStrategy": { + "_enum": { + "Immediately": "Null", + "Target": "EraIndex", + "WaitForUnbonding": "Null" + } + }, + "RelaychainAccountId": "AccountId", + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "stabilityFee": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" + }, + "RpcDataProviderId": "Text", + "ScheduleTaskIndex": "u32", + "Share": "u128", + "StorageKeyBytes": "Vec", + "StorageValue": "Vec", + "StorageValueBytes": "Vec", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" + }, + "TimestampedValueOf": "TimestampedValue", + "TokenBalanceOf": "Balance", + "TokenData": { + "deposit": "Balance" + }, + "TokenId": "u64", + "TokenIdOf": "TokenId", + "TokenInfo": { + "name": "Text", + "symbol": "Text", + "decimals": "u8", + "owner": "AccountId" + }, + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" + }, + "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 + } + }, + "TradingPair": "(CurrencyId, CurrencyId)", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" + }, + "TradingPairStatus": { + "_enum": { + "NotEnabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } + }, + "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" + }, + "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": [ + 0, + 23 + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId", + "Keys": "SessionKeys2", + "Did": "[u8;32]", + "Bytes32": { + "value": "[u8;32]" + }, + "Bytes33": { + "value": "[u8;33]" + }, + "Bytes64": { + "value": "[u8;64]" + }, + "Bytes65": { + "value": "[u8;65]" + }, + "PublicKey": { + "_enum": { + "Sr25519": "Bytes32", + "Ed25519": "Bytes32", + "Secp256k1": "Bytes33" + } + }, + "DidSignature": { + "_enum": { + "Sr25519": "Bytes64", + "Ed25519": "Bytes64", + "Secp256k1": "Bytes65" + } + }, + "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" + }, + "RemoveRegistry": { + "registry_id": "RegistryId", + "last_modified": "BlockNumber" + }, + "PAuth": "BTreeMap", + "Policy": { + "_enum": { + "OneOf": "BTreeSet" + } + }, + "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" + }, + "Payload": { + "proposal": "Vec", + "round_no": "u64" + }, + "Membership": { + "members": "BTreeSet", + "vote_requirement": "u64" + }, + "PMAuth": "BTreeMap", + "Bonus": { + "swap_bonuses": "Vec<(Balance, BlockNumber)>", + "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" + }, + "Attestation": { + "priority": "Compact", + "iri": "Option>" + }, + "StateChange": { + "_enum": { + "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" + }, + "BlockLength": { + "max": "PerDispatchClassU32" + }, + "Keys": "SessionKeys2", + "Did": "[u8;32]", + "Bytes32": { + "value": "[u8;32]" + }, + "Bytes33": { + "value": "[u8;33]" + }, + "Bytes64": { + "value": "[u8;64]" + }, + "Bytes65": { + "value": "[u8;65]" + }, + "PublicKey": { + "_enum": { + "Sr25519": "Bytes32", + "Ed25519": "Bytes32", + "Secp256k1": "Bytes33" + } + }, + "DidSignature": { + "_enum": { + "Sr25519": "Bytes64", + "Ed25519": "Bytes64", + "Secp256k1": "Bytes65" + } + }, + "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" + }, + "RemoveRegistry": { + "registry_id": "RegistryId", + "last_modified": "BlockNumber" + }, + "PAuth": "BTreeMap", + "Policy": { + "_enum": { + "OneOf": "BTreeSet" + } + }, + "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" + }, + "Payload": { + "proposal": "Vec", + "round_no": "u64" + }, + "Membership": { + "members": "BTreeSet", + "vote_requirement": "u64" + }, + "PMAuth": "BTreeMap", + "Bonus": { + "swap_bonuses": "Vec<(Balance, BlockNumber)>", + "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" + }, + "Attestation": { + "priority": "Compact", + "iri": "Option>" + }, + "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" + }, + "ParamType": { + "_enum": { + "Address": null, + "Int": "u16", + "Uint": "u16" + } + }, + "ContractConfig": { + "address": "H160", + "query_aggregator_call_encoded": "Vec", + "query_price_abi_encoded": "Vec", + "return_val_abi": "Vec" + }, + "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": { + "bbsPlusPublicKeyWithParams": { + "description": "Return BBS+ public key with params", + "params": [ + { + "name": "id", + "type": "PublicKeyStorageKey" + } + ], + "type": "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": "PublicKeyStorageKey" + } + ], + "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": "Option", + "isOptional": true + } + ], + "type": "Option" + } + } + } + }, + "dock-pos-test-runtime": { + "types": [ + { + "minmax": [ + 0, + 23 + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId", + "Keys": "SessionKeys2", + "Did": "[u8;32]", + "Bytes32": { + "value": "[u8;32]" + }, + "Bytes33": { + "value": "[u8;33]" + }, + "Bytes64": { + "value": "[u8;64]" + }, + "Bytes65": { + "value": "[u8;65]" + }, + "PublicKey": { + "_enum": { + "Sr25519": "Bytes32", + "Ed25519": "Bytes32", + "Secp256k1": "Bytes33" + } + }, + "DidSignature": { + "_enum": { + "Sr25519": "Bytes64", + "Ed25519": "Bytes64", + "Secp256k1": "Bytes65" + } + }, + "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" + }, + "RemoveRegistry": { + "registry_id": "RegistryId", + "last_modified": "BlockNumber" + }, + "PAuth": "BTreeMap", + "Policy": { + "_enum": { + "OneOf": "BTreeSet" + } + }, + "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" + }, + "Payload": { + "proposal": "Vec", + "round_no": "u64" + }, + "Membership": { + "members": "BTreeSet", + "vote_requirement": "u64" + }, + "PMAuth": "BTreeMap", + "Bonus": { + "swap_bonuses": "Vec<(Balance, BlockNumber)>", + "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" + }, + "Attestation": { + "priority": "Compact", + "iri": "Option>" + }, + "StateChange": { + "_enum": { + "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" + }, + "BlockLength": { + "max": "PerDispatchClassU32" + }, + "Keys": "SessionKeys2", + "Did": "[u8;32]", + "Bytes32": { + "value": "[u8;32]" + }, + "Bytes33": { + "value": "[u8;33]" + }, + "Bytes64": { + "value": "[u8;64]" + }, + "Bytes65": { + "value": "[u8;65]" + }, + "PublicKey": { + "_enum": { + "Sr25519": "Bytes32", + "Ed25519": "Bytes32", + "Secp256k1": "Bytes33" + } + }, + "DidSignature": { + "_enum": { + "Sr25519": "Bytes64", + "Ed25519": "Bytes64", + "Secp256k1": "Bytes65" + } + }, + "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" + }, + "RemoveRegistry": { + "registry_id": "RegistryId", + "last_modified": "BlockNumber" + }, + "PAuth": "BTreeMap", + "Policy": { + "_enum": { + "OneOf": "BTreeSet" + } + }, + "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" + }, + "Payload": { + "proposal": "Vec", + "round_no": "u64" + }, + "Membership": { + "members": "BTreeSet", + "vote_requirement": "u64" + }, + "PMAuth": "BTreeMap", + "Bonus": { + "swap_bonuses": "Vec<(Balance, BlockNumber)>", + "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" + }, + "Attestation": { + "priority": "Compact", + "iri": "Option>" + }, + "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" + }, + "ParamType": { + "_enum": { + "Address": null, + "Int": "u16", + "Uint": "u16" + } + }, + "ContractConfig": { + "address": "H160", + "query_aggregator_call_encoded": "Vec", + "query_price_abi_encoded": "Vec", + "return_val_abi": "Vec" + }, + "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": { + "bbsPlusPublicKeyWithParams": { + "description": "Return BBS+ public key with params", + "params": [ + { + "name": "id", + "type": "PublicKeyStorageKey" + } + ], + "type": "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": "PublicKeyStorageKey" + } + ], + "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": "Option", + "isOptional": true + } + ], + "type": "Option" + } + } + } + }, + "dotmog-node": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "MogwaiStruct": { + "id": "Hash", + "dna": "Hash", + "genesis": "BlockNumber", + "price": "Balance", + "gen": "u32", + "rarity": "RarityType" + }, + "MogwaiBios": { + "mogwai_id": "Hash", + "state": "u32", + "metaxy": "Vec<[u8;16]>", + "intrinsic": "Balance", + "level": "u8", + "phases": "Vec", + "adaptations": "Vec" + }, + "GameEvent": { + "id": "Hash", + "begin": "BlockNumber", + "duration": "u16", + "event_type": "GameEventType", + "hashes": "Vec", + "value": "u64" + }, + "GameEventType": { + "_enum": [ + "Default", + "Hatch" + ] + }, + "RarityType": { + "_enum": [ + "Minor", + "Normal", + "Rare", + "Epic", + "Legendary" + ] + }, + "MogwaicoinAddress": { + "address": "Vec", + "account": "AccountId", + "signature": "Vec", + "state": "ClaimState", + "balance": "Balance" + }, + "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" + }, + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { + "_enum": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] + }, + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] + }, + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] + }, + "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" + } + }, + { + "minmax": [ + 32, + 38 + ], + "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": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] + }, + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] + }, + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] + }, + "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", + "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" + }, + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { + "_enum": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] + }, + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] + }, + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] + }, + "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 + ], + "types": { + "Balance2": "u128", + "ChainId": "u8", + "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" + ] + }, + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] + }, + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] + }, + "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" + }, + "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" + ] + }, + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] + }, + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] + }, + "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" + }, + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "CID": "Vec", + "Properties": { + "_set": { + "Transferable": 1, + "Burnable": 2 + } + }, + "ClassData": { + "deposit": "Balance", + "properties": "Properties" + }, + "TokenData": { + "deposit": "Balance" + }, + "ClassInfo": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "ClassInfoOf": "ClassInfo", + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "TokenData" + }, + "TokenInfoOf": "TokenInfo", + "TokenId": "u64", + "ClassIdOf": "ClassId", + "TokenIdOf": "TokenId", + "Amount": "i128", + "AmountOf": "Amount", + "Approval": { + "amount": "Balance", + "deposit": "Balance" + }, + "ApprovalKey": { + "owner": "AccountId", + "delegate": "AccountId" + }, + "Commitment": "ScalarData", + "CurrencyId": "u64", + "CurrencyIdOf": "CurrencyId", + "DustHandlerType": { + "_enum": { + "Burn": "Null", + "Transfer": "AccountId" + } + }, + "HashFunction": { + "_enum": [ + "PoseidonDefault", + "PoseidonExp3", + "PoseidonExp5", + "PoseidonExp17", + "MiMC", + "Blake2", + "Sha256" + ] + }, + "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" + }, + "MixerInfo": { + "minimum_deposit_length_for_reward": "BlockNumber", + "fixed_deposit_size": "Balance", + "currency_id": "CurrencyIdOf" + }, + "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" + }, + "TokenMetadata": { + "deposit": "Balance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "is_frozen": "bool" + }, + "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" + }, + "ETHBlock": { + "inner": "Block" + }, + "ETHReceipts": { + "inner": "Vec" + }, + "ETHTxStatuses": { + "inner": "Vec" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "LookupSource": "MultiAddress" + } + } + ] + }, + "encointer-node-notee": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "CeremonyPhaseType": { + "_enum": [ + "Registering", + "Assigning", + "Attesting" + ] + }, + "CeremonyIndexType": "u32", + "ParticipantIndexType": "u64", + "MeetupIndexType": "u64", + "AttestationIndexType": "u64", + "CurrencyIdentifier": "Hash", + "BalanceType": "i128", + "BalanceEntry": { + "principal": "i128", + "last_update": "BlockNumber" + }, + "CurrencyCeremony": { + "cid": "CurrencyIdentifier", + "cindex": "CeremonyIndexType" + }, + "Location": { + "lat": "i64", + "lon": "i64" + }, + "Reputation": { + "_enum": [ + "Unverified", + "UnverifiedReputable", + "VerifiedUnlinked", + "VerifiedLinked" + ] + }, + "CurrencyPropertiesType": { + "name_utf8": "Text", + "demurrage_per_block": "i128" + }, + "ClaimOfAttendance": { + "claimant_public": "AccountId", + "ceremony_index": "CeremonyIndexType", + "currency_identifier": "CurrencyIdentifier", + "meetup_index": "MeetupIndexType", + "location": "Location", + "timestamp": "Moment", + "number_of_participants_confirmed": "u32" + }, + "Attestation": { + "claim": "ClaimOfAttendance", + "signature": "Signature", + "public": "AccountId" + }, + "ProofOfAttendance": { + "prover_public": "AccountId", + "ceremony_index": "CeremonyIndexType", + "currency_identifier": "CurrencyIdentifier", + "attendee_public": "AccountId", + "attendee_signature": "Signature" + }, + "ShopIdentifier": "Text", + "ArticleIdentifier": "Text" + } + } + ] + }, + "encointer-node-teeproxy": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "CeremonyPhaseType": { + "_enum": [ + "Registering", + "Assigning", + "Attesting" + ] + }, + "CeremonyIndexType": "u32", + "CurrencyIdentifier": "Hash", + "CurrencyCeremony": { + "cid": "CurrencyIdentifier", + "cindex": "CeremonyIndexType" + }, + "Location": { + "lat": "i64", + "lon": "i64" + }, + "CurrencyPropertiesType": { + "name_utf8": "Text", + "demurrage_per_block": "i128" + }, + "ShardIdentifier": "Hash", + "Request": { + "shard": "ShardIdentifier", + "cyphertext": "Vec" + }, + "Enclave": { + "pubkey": "AccountId", + "mrenclave": "Hash", + "timestamp": "u64", + "url": "Text" + } + } + } + ] + }, + "encointer-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId", + "CeremonyPhaseType": { + "_enum": [ + "Registering", + "Assigning", + "Attesting" + ] + }, + "CeremonyIndexType": "u32", + "ParticipantIndexType": "u64", + "MeetupIndexType": "u64", + "AttestationIndexType": "u64", + "CommunityIdentifier": "Hash", + "BalanceType": "i128", + "BalanceEntry": { + "principal": "i128", + "last_update": "BlockNumber" + }, + "CommunityCeremony": { + "cid": "CommunityIdentifier", + "cindex": "CeremonyIndexType" + }, + "Location": { + "lat": "i64", + "lon": "i64" + }, + "Reputation": { + "_enum": [ + "Unverified", + "UnverifiedReputable", + "VerifiedUnlinked", + "VerifiedLinked" + ] + }, + "CommunityPropertiesType": { + "name_utf8": "Text", + "demurrage_per_block": "i128" + }, + "ClaimOfAttendance": { + "claimant_public": "AccountId", + "ceremony_index": "CeremonyIndexType", + "community_identifier": "CommunityIdentifier", + "meetup_index": "MeetupIndexType", + "location": "Location", + "timestamp": "Moment", + "number_of_participants_confirmed": "u32" + }, + "Attestation": { + "claim": "ClaimOfAttendance", + "signature": "Signature", + "public": "AccountId" + }, + "ProofOfAttendance": { + "prover_public": "AccountId", + "ceremony_index": "CeremonyIndexType", + "community_identifier": "CommunityIdentifier", + "attendee_public": "AccountId", + "attendee_signature": "Signature" + }, + "ShopIdentifier": "Text", + "ArticleIdentifier": "Text", + "PersonhoodUniquenessRating": "Vec", + "SybilResponse": { + "_enum": [ + "Unused", + "Faucet" + ] + } + } + } + ] + }, + "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" + }, + "CategoryId": "u32", + "CategoryIdOf": "CategoryId", + "CategoryData": { + "metadata": "NFTMetadata", + "nftCount": "Compact" + }, + "CurrencyId": "u32", + "CurrencyIdOf": "CurrencyId", + "Amount": "i128", + "AmountOf": "Amount", + "ClassId": "u32", + "ClassIdOf": "ClassId", + "ClassInfoOf": { + "metadata": "NFTMetadata", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" + }, + "ClassData": { + "deposit": "Compact", + "properties": "Properties", + "name": "Vec", + "description": "Vec", + "createBlock": "Compact" + }, + "TokenId": "u64", + "TokenIdOf": "TokenId", + "TokenInfoOf": { + "metadata": "NFTMetadata", + "owner": "AccountId", + "data": "TokenData" + }, + "TokenData": { + "deposit": "Compact", + "createBlock": "Compact" + } + } + } + ] + }, + "galital": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Account": { + "nonce": "U256", + "balance": "U256" + }, + "Transaction": { + "nonce": "U256", + "action": "String", + "gas_price": "u64", + "gas_limit": "u64", + "value": "U256", + "input": "Vec", + "signature": "Signature" + }, + "ChainId": "u8", + "ResourceId": "[u8; 32]", + "DepositNonce": "u64", + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "u8", + "expiry": "U256" + }, + "ClassId": "u64", + "TokenId": "u64", + "ClassData": "Vec", + "TokenData": "Vec", + "ReportReason": { + "_enum": [ + "None", + "Illigal", + "Plagiarism", + "Duplicate", + "Reported" + ] + }, + "ClassInfoOf": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "class_data": "ClassData" + }, + "ExtendedInfo": { + "display_flag": "bool", + "report": "ReportReason", + "frozen": "bool" + }, + "TokenInfoOf": { + "metadata": "Vec", + "owner": "AccountId", + "class_data": "ClassData" + } + } + } + ] + }, + "galital-collator": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId", + "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" + }, + "ClassId": "u64", + "TokenId": "u64", + "ClassData": "Vec", + "TokenData": "Vec", + "ReportReason": { + "_enum": [ + "None", + "Illigal", + "Plagiarism", + "Duplicate", + "Reported" + ] + }, + "ClassInfoOf": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "class_data": "ClassData" + }, + "ExtendedInfo": { + "display_flag": "bool", + "report": "ReportReason", + "frozen": "bool" + }, + "TokenInfoOf": { + "metadata": "Vec", + "owner": "AccountId", + "class_data": "ClassData" + } + } + } + ] + }, + "gamepower": { + "types": [ + { + "minmax": [ + 0, + null + ], + "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" + }, + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "NftAssetData" + }, + "NftSeriesData": { + "name": "Vec", + "owner": "AccountId", + "properties": "Vec" + }, + "NftClassData": { + "deposit": "Balance", + "properties": "Vec", + "token_type": "TokenType", + "collection_type": "CollectionType", + "total_supply": "u64", + "initial_supply": "u64" + }, + "NftAssetData": { + "deposit": "Balance", + "name": "Vec", + "description": "Vec", + "properties": "Vec" + }, + "TokenType": { + "_enum": [ + "Transferrable", + "BoundToAddress" + ] + }, + "CollectionType": { + "_enum": [ + "Collectable", + "Wearable", + "Executable" + ] + }, + "ClassProperties": { + "Transferrable": "bool", + "Burnable": "bool" + } + } + } + ] + }, + "hack-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": { + "_enum": [ + "SELL", + "BUY" + ] + }, + "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" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "UnBondChunk": { + "value": "Balance", + "round": "u32" + }, + "StakingNominators": { + "nominations": "Vec", + "total": "Balance", + "unbonding": "Vec", + "claimed_rewards": "Vec" + } + } + } + ] + }, + "hanonycash": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Difficulty": "U256", + "DifficultyAndTimestamp": { + "difficulty": "Difficulty", + "timestamp": "Moment" + }, + "Era": { + "genesisBlockHash": "H256", + "finalBlockHash": "H256", + "finalStateRoot": "H256" + }, + "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 + } + ], + "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_in", + "type": "Balance" + }, + { + "name": "token_in", + "type": "CurrencyId" + }, + { + "name": "token_out", + "type": "CurrencyId" + }, + { + "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": { + "_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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "u8", + "PoolInfo": { + "isActive": "bool", + "totalDeposited": "Balance", + "unlockHeight": "BlockNumber", + "coolDownDuration": "BlockNumber", + "rewardDuration": "BlockNumber", + "periodFinish": "BlockNumber", + "lastUpdateBlock": "BlockNumber", + "rewardRate": "Balance", + "rewardPerShareStored": "Balance" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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" + ] + }, + "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" + } + } + }, + "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": { + "_enum": [ + "SELL", + "BUY" + ] + }, + "LookupSource": "AccountId", + "OrderedSet": "Vec", + "Price": "Balance", + "Chain": { + "genesisHash": "Vec", + "lastBlockHash": "Vec" + } + } + } + ] + }, + "idavoll": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId" + } + } + ] + }, + "imbue": { + "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" + }, + "LookupSource": "MultiAddress", + "Request": { + "cyphertext": "Vec", + "shard": "ShardIdentifier" + }, + "ShardIdentifier": "Hash" + } + } + ] + }, + "interbtc-parachain": { + "types": [ + { + "minmax": [ + 0, + 100 + ], + "types": { + "BalanceWrapper": { + "currencyId": "CurrencyId", + "amount": "i128" + }, + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId" + } + }, + "InterbtcPrimitivesCurrencyId": { + "_enum": { + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId" + } + }, + "InterbtcForeignAssetId": "u32", + "ForeignAssetId": "u32", + "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" + } + }, + "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" + }, + "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" + }, + "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" + }, + "getRefundRequestsByIssueId": { + "description": "Get all refund request IDs for a particular issue ID", + "params": [ + { + "name": "issue_id", + "type": "H256" + } + ], + "type": "H256" + }, + "getVaultRefundRequests": { + "description": "Get all refund request IDs for a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "relay": { + "isTransactionInvalid": { + "description": "Determine if the RawTx is invalid for the specified VaultId", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + }, + { + "name": "raw_tx", + "type": "Vec" + } + ], + "type": "void" + } + }, + "replace": { + "getNewVaultReplaceRequests": { + "description": "Get all replace request IDs to a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + }, + "getOldVaultReplaceRequests": { + "description": "Get all replace request IDs from a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "vaultRegistry": { + "getCollateralizationFromVault": { + "description": "Returns the collateralization of a specific vault", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" + }, + "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" + }, + "getIssueableTokensFromVault": { + "description": "Get the amount of tokens a vault can issue", + "params": [ + { + "name": "vault", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" + }, + "getPremiumRedeemVaults": { + "description": "Get all vaults below the premium redeem threshold.", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" + }, + "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" + }, + "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" + }, + "getVaultCollateral": { + "description": "Get the vault's collateral (excluding nomination)", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" + }, + "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)>" + } + } + }, + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + }, + "instances": { + "balances": [ + "ksm", + "kbtc", + "kint", + "dot", + "ibtc", + "intr" + ] + } + }, + "interbtc-standalone": { + "types": [ + { + "minmax": [ + 0, + 100 + ], + "types": { + "BalanceWrapper": { + "currencyId": "CurrencyId", + "amount": "i128" + }, + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId" + } + }, + "InterbtcPrimitivesCurrencyId": { + "_enum": { + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId" + } + }, + "InterbtcForeignAssetId": "u32", + "ForeignAssetId": "u32", + "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" + } + }, + "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" + }, + "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" + }, + "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" + }, + "getRefundRequestsByIssueId": { + "description": "Get all refund request IDs for a particular issue ID", + "params": [ + { + "name": "issue_id", + "type": "H256" + } + ], + "type": "H256" + }, + "getVaultRefundRequests": { + "description": "Get all refund request IDs for a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "relay": { + "isTransactionInvalid": { + "description": "Determine if the RawTx is invalid for the specified VaultId", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + }, + { + "name": "raw_tx", + "type": "Vec" + } + ], + "type": "void" + } + }, + "replace": { + "getNewVaultReplaceRequests": { + "description": "Get all replace request IDs to a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + }, + "getOldVaultReplaceRequests": { + "description": "Get all replace request IDs from a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "vaultRegistry": { + "getCollateralizationFromVault": { + "description": "Returns the collateralization of a specific vault", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" + }, + "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" + }, + "getIssueableTokensFromVault": { + "description": "Get the amount of tokens a vault can issue", + "params": [ + { + "name": "vault", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" + }, + "getPremiumRedeemVaults": { + "description": "Get all vaults below the premium redeem threshold.", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" + }, + "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" + }, + "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" + }, + "getVaultCollateral": { + "description": "Get the vault's collateral (excluding nomination)", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" + }, + "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)>" + } + } + }, + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + }, + "instances": { + "balances": [ + "ksm", + "kbtc", + "kint", + "dot", + "ibtc", + "intr" + ] + } + }, + "interlay-parachain": { + "types": [ + { + "minmax": [ + 0, + 100 + ], + "types": { + "BalanceWrapper": { + "currencyId": "CurrencyId", + "amount": "i128" + }, + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId" + } + }, + "InterbtcPrimitivesCurrencyId": { + "_enum": { + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId" + } + }, + "InterbtcForeignAssetId": "u32", + "ForeignAssetId": "u32", + "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" + } + }, + "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" + }, + "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" + }, + "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" + }, + "getRefundRequestsByIssueId": { + "description": "Get all refund request IDs for a particular issue ID", + "params": [ + { + "name": "issue_id", + "type": "H256" + } + ], + "type": "H256" + }, + "getVaultRefundRequests": { + "description": "Get all refund request IDs for a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "relay": { + "isTransactionInvalid": { + "description": "Determine if the RawTx is invalid for the specified VaultId", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + }, + { + "name": "raw_tx", + "type": "Vec" + } + ], + "type": "void" + } + }, + "replace": { + "getNewVaultReplaceRequests": { + "description": "Get all replace request IDs to a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + }, + "getOldVaultReplaceRequests": { + "description": "Get all replace request IDs from a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "vaultRegistry": { + "getCollateralizationFromVault": { + "description": "Returns the collateralization of a specific vault", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" + }, + "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" + }, + "getIssueableTokensFromVault": { + "description": "Get the amount of tokens a vault can issue", + "params": [ + { + "name": "vault", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" + }, + "getPremiumRedeemVaults": { + "description": "Get all vaults below the premium redeem threshold.", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" + }, + "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" + }, + "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" + }, + "getVaultCollateral": { + "description": "Get the vault's collateral (excluding nomination)", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" + }, + "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)>" + } + } + }, + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + }, + "instances": { + "balances": [ + "ksm", + "kbtc", + "kint", + "dot", + "ibtc", + "intr" + ] + } + }, + "ipse-node": { + "types": [ + { + "minmax": [ + 0, + null + ], + "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" + }, + "Order": { + "miner": "AccountId", + "label": "Vec", + "hash": "[u8; 46]", + "size": "u128", + "user": "AccountId", + "orders": "Vec>", + "status": "OrderStatus", + "create_ts": "u64", + "update_ts": "u64", + "duration": "u64" + }, + "MinerOrder": { + "miner": "AccountId", + "day_price": "Balance", + "total_price": "Balance", + "verify_result": "bool", + "verify_ts": "u64", + "confirm_ts": "u64", + "url": "Option>" + }, + "OrderStatus": { + "_enum": [ + "Created", + "Confirmed", + "Expired", + "Deleted" + ] + }, + "MiningInfo": { + "miner": "Option", + "best_dl": "u64", + "block": "u64" + }, + "Difficulty": { + "base_target": "u64", + "net_difficulty": "u64", + "block": "u64" + }, + "MachineInfo": { + "plot_size": "u64", + "numeric_id": "u128", + "update_time": "BlockNumber", + "is_stop": "bool", + "reward_dest": "AccountId" + }, + "StakingInfo": { + "miner": "AccountId", + "miner_proportion": "Percent", + "total_staking": "Balance", + "others": "Vec<(AccountId, Balance, Balance)>" + }, + "Oprate": { + "_enum": [ + "Add", + "Sub" + ] + }, + "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": { + "_enum": [ + "active", + "inActive" + ] + }, + "FetchFailedOf": { + "block_num": "BlockNumber", + "tx": "Vec", + "err": "Vec" + } + } + } + ] + }, + "joystream-node": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "ActorId": "u64", + "MemberId": "u64", + "BlockAndTime": { + "block": "u32", + "time": "u64" + }, + "ThreadId": "u64", + "PostId": "u64", + "InputValidationLengthConstraint": { + "min": "u16", + "max_min_diff": "u16" + }, + "WorkingGroup": { + "_enum": [ + "Forum", + "Storage", + "Content", + "OperationsAlpha", + "Gateway", + "Distribution", + "OperationsBeta", + "OperationsGamma", + "Membership" + ] + }, + "BalanceKind": { + "_enum": [ + "Positive", + "Negative" + ] + }, + "Address": "AccountId", + "LookupSource": "AccountId", + "ChannelId": "u64", + "Url": "Text", + "Membership": { + "handle_hash": "Bytes", + "root_account": "AccountId", + "controller_account": "AccountId", + "verified": "bool", + "invites": "u32" + }, + "StakingAccountMemberBinding": { + "member_id": "MemberId", + "confirmed": "bool" + }, + "BuyMembershipParameters": { + "root_account": "AccountId", + "controller_account": "AccountId", + "handle": "Option", + "metadata": "Bytes", + "referrer_id": "Option" + }, + "InviteMembershipParameters": { + "inviting_member_id": "MemberId", + "root_account": "AccountId", + "controller_account": "AccountId", + "handle": "Option", + "metadata": "Bytes" + }, + "CouncilStageAnnouncing": { + "candidatesCount": "u64" + }, + "CouncilStageElection": { + "candidatesCount": "u64" + }, + "CouncilStageUpdate": { + "stage": "CouncilStage", + "changed_at": "u32" + }, + "CouncilStage": { + "_enum": { + "Announcing": "CouncilStageAnnouncing", + "Election": "CouncilStageElection", + "Idle": "Null" + } + }, + "Candidate": { + "staking_account_id": "AccountId", + "reward_account_id": "AccountId", + "cycle_id": "u64", + "stake": "u32", + "vote_power": "VotePower", + "note_hash": "Option" + }, + "CouncilMemberOf": { + "staking_account_id": "AccountId", + "reward_account_id": "AccountId", + "membership_id": "MemberId", + "stake": "u128", + "last_payment_block": "u32", + "unpaid_reward": "u128" + }, + "CastVoteOf": { + "commitment": "Hash", + "cycle_id": "u64", + "stake": "u128", + "vote_for": "Option" + }, + "ForumUserId": "u64", + "ModeratorId": "u64", + "CategoryId": "u64", + "PostReactionId": "u64", + "Category": { + "title_hash": "Hash", + "description_hash": "Hash", + "archived": "bool", + "num_direct_subcategories": "u32", + "num_direct_threads": "u32", + "num_direct_moderators": "u32", + "parent_category_id": "Option", + "sticky_thread_ids": "Vec" + }, + "Thread": { + "category_id": "CategoryId", + "author_id": "ForumUserId", + "poll": "Option", + "cleanup_pay_off": "u128", + "number_of_posts": "u64" + }, + "Post": { + "thread_id": "ThreadId", + "text_hash": "Hash", + "author_id": "ForumUserId", + "cleanup_pay_off": "u128", + "last_edited": "u32" + }, + "PollAlternative": { + "alternative_text_hash": "Hash", + "vote_count": "u32" + }, + "Poll": { + "description_hash": "Hash", + "end_time": "u64", + "poll_alternatives": "Vec" + }, + "PrivilegedActor": { + "_enum": { + "Lead": "Null", + "Moderator": "ModeratorId" + } + }, + "PollInput": { + "description": "Bytes", + "end_time": "u64", + "poll_alternatives": "Vec" + }, + "ThreadOf": { + "category_id": "CategoryId", + "author_id": "ForumUserId", + "poll": "Option", + "cleanup_pay_off": "u128", + "number_of_posts": "u64" + }, + "ExtendedPostId": { + "category_id": "CategoryId", + "thread_id": "ThreadId", + "post_id": "PostId" + }, + "ApplicationId": "u64", + "Application": { + "role_account_id": "AccountId", + "reward_account_id": "AccountId", + "staking_account_id": "AccountId", + "member_id": "MemberId", + "description_hash": "Bytes", + "opening_id": "OpeningId" + }, + "ApplicationInfo": { + "application_id": "ApplicationId", + "application": "Application" + }, + "ApplicationIdSet": "BTreeSet", + "ApplicationIdToWorkerIdMap": "BTreeMap", + "WorkerId": "u64", + "Worker": { + "member_id": "MemberId", + "role_account_id": "AccountId", + "staking_account_id": "AccountId", + "reward_account_id": "AccountId", + "started_leaving_at": "Option", + "job_unstaking_period": "u32", + "reward_per_block": "Option", + "missed_reward": "Option", + "created_at": "u32" + }, + "WorkerInfo": { + "worker_id": "WorkerId", + "worker": "Worker" + }, + "Opening": { + "opening_type": "OpeningType", + "created": "u32", + "description_hash": "Bytes", + "stake_policy": "StakePolicy", + "reward_per_block": "Option", + "creation_stake": "u128" + }, + "OpeningId": "u64", + "StakePolicy": { + "stake_amount": "u128", + "leaving_unstaking_period": "u32" + }, + "StakeParameters": { + "stake": "u128", + "staking_account_id": "AccountId" + }, + "StorageProviderId": "u64", + "OpeningType": { + "_enum": { + "Leader": "Null", + "Regular": "Null" + } + }, + "ApplyOnOpeningParameters": { + "member_id": "MemberId", + "opening_id": "OpeningId", + "role_account_id": "AccountId", + "reward_account_id": "AccountId", + "description": "Bytes", + "stake_parameters": "StakeParameters" + }, + "Penalty": { + "slashing_text": "Text", + "slashing_amount": "u128" + }, + "RewardPaymentType": { + "_enum": [ + "MissedReward", + "RegularReward" + ] + }, + "StorageBucketId": "u64", + "StorageBucketsPerBagValueConstraint": { + "min": "u64", + "max_min_diff": "u64" + }, + "DataObjectId": "u64", + "DynamicBagId": { + "_enum": { + "Member": "MemberId", + "Channel": "u64" + } + }, + "Voucher": { + "sizeLimit": "u64", + "objectsLimit": "u64", + "sizeUsed": "u64", + "objectsUsed": "u64" + }, + "DynamicBagType": { + "_enum": [ + "Member", + "Channel" + ] + }, + "DynamicBagCreationPolicy": { + "numberOfStorageBuckets": "u64", + "families": "BTreeMap" + }, + "DynamicBagDeletionPrize": { + "account_id": "GenericAccountId", + "prize": "u128" + }, + "DynamicBagDeletionPrizeRecord": { + "account_id": "GenericAccountId", + "prize": "u128" + }, + "Bag": { + "stored_by": "BTreeSet", + "distributed_by": "BTreeSet", + "deletion_prize": "Option", + "objects_total_size": "u64", + "objects_number": "u64" + }, + "StorageBucket": { + "operator_status": "StorageBucketOperatorStatus", + "accepting_new_bags": "bool", + "voucher": "Voucher", + "assigned_bags": "u64" + }, + "StaticBagId": { + "_enum": { + "Council": "Null", + "WorkingGroup": "WorkingGroup" + } + }, + "Static": { + "_enum": { + "Council": "Null", + "WorkingGroup": "WorkingGroup" + } + }, + "Dynamic": { + "_enum": { + "Member": "MemberId", + "Channel": "u64" + } + }, + "BagId": { + "_enum": { + "Static": "Static", + "Dynamic": "Dynamic" + } + }, + "DataObjectCreationParameters": { + "size": "u64", + "ipfsContentId": "Bytes" + }, + "BagIdType": { + "_enum": { + "Static": "Static", + "Dynamic": "Dynamic" + } + }, + "UploadParameters": { + "bagId": "BagId", + "objectCreationList": "Vec", + "deletionPrizeSourceAccountId": "GenericAccountId", + "expectedDataSizeFee": "u128" + }, + "StorageBucketIdSet": "BTreeSet", + "DataObjectIdSet": "BTreeSet", + "ContentIdSet": "BTreeSet", + "Cid": "Bytes", + "StorageBucketOperatorStatus": { + "_enum": { + "Missing": "Null", + "InvitedStorageWorker": "WorkerId", + "StorageWorker": "(WorkerId,GenericAccountId)" + } + }, + "DataObject": { + "accepted": "bool", + "deletion_prize": "u128", + "size": "u64", + "ipfsContentId": "Bytes" + }, + "DistributionBucketId": { + "distribution_bucket_family_id": "DistributionBucketFamilyId", + "distribution_bucket_index": "DistributionBucketIndex" + }, + "DistributionBucketIndex": "u64", + "DistributionBucketFamilyId": "u64", + "DistributionBucket": { + "accepting_new_bags": "bool", + "distributing": "bool", + "pending_invitations": "BTreeSet", + "operators": "BTreeSet", + "assigned_bags": "u64" + }, + "DistributionBucketFamily": { + "next_distribution_bucket_index": "DistributionBucketIndex" + }, + "DataObjectIdMap": "BTreeMap", + "DistributionBucketIndexSet": "BTreeSet", + "DynamicBagCreationPolicyDistributorFamiliesMap": "BTreeMap", + "ParticipantId": "u64", + "Title": "Text", + "UpdatedTitle": "Option", + "UpdatedBody": "Option", + "ReplyId": "u64", + "Reply": { + "text_hash": "Hash", + "owner": "ParticipantId", + "parent_id": "PostId" + }, + "ReplyToDelete": { + "post_id": "PostId", + "reply_id": "ReplyId", + "hide": "bool" + }, + "ProposalId": "u32", + "ProposalStatus": { + "_enum": { + "Active": "Null", + "PendingExecution": "u32", + "PendingConstitutionality": "Null" + } + }, + "ProposalOf": { + "parameters": "ProposalParameters", + "proposerId": "MemberId", + "activatedAt": "u32", + "status": "ProposalStatus", + "votingResults": "VotingResults", + "exactExecutionBlock": "Option", + "nrOfCouncilConfirmations": "u32", + "stakingAccountId": "Option" + }, + "ProposalDetails": { + "_enum": { + "Signal": "Text", + "RuntimeUpgrade": "Bytes", + "FundingRequest": "Vec", + "SetMaxValidatorCount": "u32", + "CreateWorkingGroupLeadOpening": "CreateOpeningParameters", + "FillWorkingGroupLeadOpening": "FillOpeningParameters", + "UpdateWorkingGroupBudget": "(Balance,WorkingGroup,BalanceKind)", + "DecreaseWorkingGroupLeadStake": "(WorkerId,Balance,WorkingGroup)", + "SlashWorkingGroupLead": "(WorkerId,Balance,WorkingGroup)", + "SetWorkingGroupLeadReward": "(WorkerId,Option,WorkingGroup)", + "TerminateWorkingGroupLead": "TerminateRoleParameters", + "AmendConstitution": "Text", + "CancelWorkingGroupLeadOpening": "(OpeningId,WorkingGroup)", + "SetMembershipPrice": "u128", + "SetCouncilBudgetIncrement": "u128", + "SetCouncilorReward": "u128", + "SetInitialInvitationBalance": "u128", + "SetInitialInvitationCount": "u32", + "SetMembershipLeadInvitationQuota": "u32", + "SetReferralCut": "u8", + "CreateBlogPost": "(Text,Text)", + "EditBlogPost": "(PostId,Option,Option)", + "LockBlogPost": "PostId", + "UnlockBlogPost": "PostId", + "VetoProposal": "ProposalId" + } + }, + "ProposalDetailsOf": { + "_enum": { + "Signal": "Text", + "RuntimeUpgrade": "Bytes", + "FundingRequest": "Vec", + "SetMaxValidatorCount": "u32", + "CreateWorkingGroupLeadOpening": "CreateOpeningParameters", + "FillWorkingGroupLeadOpening": "FillOpeningParameters", + "UpdateWorkingGroupBudget": "(Balance,WorkingGroup,BalanceKind)", + "DecreaseWorkingGroupLeadStake": "(WorkerId,Balance,WorkingGroup)", + "SlashWorkingGroupLead": "(WorkerId,Balance,WorkingGroup)", + "SetWorkingGroupLeadReward": "(WorkerId,Option,WorkingGroup)", + "TerminateWorkingGroupLead": "TerminateRoleParameters", + "AmendConstitution": "Text", + "CancelWorkingGroupLeadOpening": "(OpeningId,WorkingGroup)", + "SetMembershipPrice": "u128", + "SetCouncilBudgetIncrement": "u128", + "SetCouncilorReward": "u128", + "SetInitialInvitationBalance": "u128", + "SetInitialInvitationCount": "u32", + "SetMembershipLeadInvitationQuota": "u32", + "SetReferralCut": "u8", + "CreateBlogPost": "(Text,Text)", + "EditBlogPost": "(PostId,Option,Option)", + "LockBlogPost": "PostId", + "UnlockBlogPost": "PostId", + "VetoProposal": "ProposalId" + } + }, + "VotingResults": { + "abstensions": "u32", + "approvals": "u32", + "rejections": "u32", + "slashes": "u32" + }, + "ProposalParameters": { + "votingPeriod": "u32", + "gracePeriod": "u32", + "approvalQuorumPercentage": "u32", + "approvalThresholdPercentage": "u32", + "slashingQuorumPercentage": "u32", + "slashingThresholdPercentage": "u32", + "requiredStake": "Option", + "constitutionality": "u32" + }, + "GeneralProposalParameters": { + "member_id": "MemberId", + "title": "Text", + "description": "Text", + "staking_account_id": "Option", + "exact_execution_block": "Option" + }, + "VoteKind": { + "_enum": [ + "Approve", + "Reject", + "Slash", + "Abstain" + ] + }, + "DiscussionThread": { + "activated_at": "u32", + "author_id": "u64", + "mode": "ThreadMode" + }, + "DiscussionPost": { + "author_id": "u64" + }, + "CreateOpeningParameters": { + "description": "Bytes", + "stake_policy": "StakePolicy", + "reward_per_block": "Option", + "working_group": "WorkingGroup" + }, + "FillOpeningParameters": { + "opening_id": "OpeningId", + "successful_application_id": "ApplicationId", + "working_group": "WorkingGroup" + }, + "TerminateRoleParameters": { + "worker_id": "WorkerId", + "slashing_amount": "Option", + "working_group": "WorkingGroup" + }, + "ProposalDecision": { + "_enum": { + "Canceled": "Null", + "CanceledByRuntime": "Null", + "Vetoed": "Null", + "Rejected": "Null", + "Slashed": "Null", + "Expired": "Null", + "Approved": "Approved" + } + }, + "ExecutionFailed": { + "error": "Text" + }, + "Approved": { + "_enum": [ + "PendingExecution", + "PendingConstitutionality" + ] + }, + "SetLeadParams": "(MemberId,AccountId)", + "ThreadMode": { + "_enum": { + "Open": "Null", + "Closed": "Vec" + } + }, + "ExecutionStatus": { + "_enum": { + "Executed": "Null", + "ExecutionFailed": "ExecutionFailed" + } + }, + "FundingRequestParameters": { + "account": "AccountId", + "amount": "u128" + }, + "ReferendumStageVoting": { + "started": "u32", + "winning_target_count": "u64", + "current_cycle_id": "u64" + }, + "ReferendumStageRevealing": { + "started": "u32", + "winning_target_count": "u64", + "intermediate_winners": "Vec", + "current_cycle_id": "u64" + }, + "ReferendumStage": { + "_enum": { + "Inactive": "Null", + "Voting": "ReferendumStageVoting", + "Revealing": "ReferendumStageRevealing" + } + }, + "OptionResult": { + "option_id": "MemberId", + "vote_power": "VotePower" + }, + "VotePower": "u128", + "ConstitutionInfo": { + "text_hash": "Hash" + }, + "BountyId": "u64", + "EntryId": "u64", + "BountyActor": { + "_enum": { + "Council": "Null", + "Member": "MemberId" + } + }, + "AssuranceContractType_Closed": "BTreeSet", + "AssuranceContractType": { + "_enum": { + "Open": "Null", + "Closed": "AssuranceContractType_Closed" + } + }, + "FundingType_Limited": { + "min_funding_amount": "u128", + "max_funding_amount": "u128", + "funding_period": "u32" + }, + "FundingType_Perpetual": { + "target": "u128" + }, + "FundingType": { + "_enum": { + "Perpetual": "FundingType_Perpetual", + "Limited": "FundingType_Limited" + } + }, + "BountyCreationParameters": { + "oracle": "BountyActor", + "contract_type": "AssuranceContractType", + "creator": "BountyActor", + "cherry": "u128", + "entrant_stake": "u128", + "funding_type": "FundingType", + "work_period": "u32", + "judging_period": "u32" + }, + "OracleWorkEntryJudgment_Winner": { + "reward": "u128" + }, + "OracleWorkEntryJudgment": { + "_enum": { + "Winner": "OracleWorkEntryJudgment_Winner", + "Rejected": "Null" + } + }, + "OracleJudgment": "BTreeMap", + "Entry": { + "member_id": "MemberId", + "staking_account_id": "AccountId", + "submitted_at": "u32", + "work_submitted": "bool", + "oracle_judgment_result": "Option" + }, + "BountyMilestone_Created": { + "created_at": "u32", + "has_contributions": "bool" + }, + "BountyMilestone_BountyMaxFundingReached": { + "max_funding_reached_at": "u32" + }, + "BountyMilestone_WorkSubmitted": { + "work_period_started_at": "u32" + }, + "BountyMilestone_JudgmentSubmitted": { + "successful_bounty": "bool" + }, + "BountyMilestone": { + "_enum": { + "Created": "BountyMilestone_Created", + "BountyMaxFundingReached": "BountyMilestone_BountyMaxFundingReached", + "WorkSubmitted": "BountyMilestone_WorkSubmitted", + "JudgmentSubmitted": "BountyMilestone_JudgmentSubmitted" + } + }, + "Bounty": { + "creation_params": "BountyCreationParameters", + "total_funding": "u128", + "milestone": "BountyMilestone", + "active_work_entry_count": "u32" + }, + "CuratorId": "u64", + "CuratorGroupId": "u64", + "CuratorGroup": { + "curators": "BTreeSet", + "active": "bool" + }, + "ContentActor": { + "_enum": { + "Curator": "(CuratorGroupId,CuratorId)", + "Member": "MemberId", + "Lead": "Null" + } + }, + "StorageAssets": { + "object_creation_list": "Vec", + "expected_data_size_fee": "u128" + }, + "Channel": { + "owner": "ChannelOwner", + "num_videos": "u64", + "is_censored": "bool", + "reward_account": "Option", + "collaborators": "BTreeSet", + "moderators": "BTreeSet", + "cumulative_payout_earned": "u128" + }, + "ChannelOwner": { + "_enum": { + "Member": "MemberId", + "Curators": "CuratorGroupId" + } + }, + "ChannelCategoryId": "u64", + "ChannelCategory": {}, + "ChannelCategoryCreationParameters": { + "meta": "Bytes" + }, + "ChannelCategoryUpdateParameters": { + "new_meta": "Bytes" + }, + "ChannelCreationParameters": { + "assets": "Option", + "meta": "Option", + "reward_account": "Option", + "collaborators": "BTreeSet", + "moderators": "BTreeSet" + }, + "ChannelUpdateParameters": { + "assets_to_upload": "Option", + "new_meta": "Option", + "reward_account": "Option>", + "assets_to_remove": "BTreeSet", + "collaborators": "Option>" + }, + "Video": { + "in_channel": "ChannelId", + "is_censored": "bool", + "enable_comments": "bool", + "video_post_id": "Option", + "nft_status": "Option" + }, + "VideoId": "u64", + "VideoCategoryId": "u64", + "VideoCategory": {}, + "VideoCategoryCreationParameters": { + "meta": "Bytes" + }, + "VideoCategoryUpdateParameters": { + "new_meta": "Bytes" + }, + "VideoCreationParameters": { + "assets": "Option", + "meta": "Option", + "enable_comments": "bool", + "auto_issue_nft": "Option" + }, + "VideoUpdateParameters": { + "assets_to_upload": "Option", + "new_meta": "Option", + "assets_to_remove": "BTreeSet", + "enable_comments": "Option", + "auto_issue_nft": "Option" + }, + "MaxNumber": "u32", + "IsCensored": "bool", + "VideoPostId": "u64", + "ReactionId": "u64", + "VideoPostType": { + "_enum": { + "Description": "Null", + "Comment": "VideoPostId" + } + }, + "VideoPost": { + "author": "ContentActor", + "bloat_bond": "u128", + "replies_count": "VideoPostId", + "post_type": "VideoPostType", + "video_reference": "VideoId" + }, + "Side": { + "_enum": [ + "Left", + "Right" + ] + }, + "ProofElement": { + "hash": "Hash", + "side": "Side" + }, + "VideoPostCreationParameters": { + "post_type": "VideoPostType", + "video_reference": "VideoId" + }, + "VideoPostDeletionParameters": { + "witness": "Option", + "rationale": "Option" + }, + "PullPayment": { + "channel_id": "ChannelId", + "cumulative_payout_claimed": "u128", + "reason": "Hash" + }, + "ModeratorSet": "BTreeSet", + "Royalty": "Perbill", + "EnglishAuctionParams": { + "starting_price": "u128", + "buy_now_price": "Option", + "whitelist": "BTreeSet", + "starts_at": "Option", + "duration": "u32", + "extension_period": "u32", + "min_bid_step": "u128" + }, + "OpenAuctionParams": { + "starting_price": "u128", + "buy_now_price": "Option", + "starts_at": "Option", + "whitelist": "BTreeSet", + "bid_lock_duration": "u32" + }, + "EnglishAuction": { + "starting_price": "u128", + "buy_now_price": "Option", + "whitelist": "BTreeSet", + "end": "u32", + "start": "u32", + "extension_period": "u32", + "min_bid_step": "u128", + "top_bid": "Option" + }, + "OpenAuction": { + "starting_price": "u128", + "buy_now_price": "Option", + "whitelist": "BTreeSet", + "bid_lock_duration": "u32", + "auction_id": "OpenAuctionId", + "start": "u32" + }, + "OpenAuctionBid": { + "amount": "u128", + "made_at_block": "u32", + "auction_id": "OpenAuctionId" + }, + "EnglishAuctionBid": { + "amount": "u128", + "bidder_id": "MemberId" + }, + "TransactionalStatus": { + "_enum": { + "Idle": "Null", + "InitiatedOfferToMember": "(MemberId,Option)", + "EnglishAuction": "EnglishAuction", + "OpenAuction": "OpenAuction", + "BuyNow": "u128" + } + }, + "NftOwner": { + "_enum": { + "ChannelOwner": "Null", + "Member": "MemberId" + } + }, + "OwnedNft": { + "owner": "NftOwner", + "transactional_status": "TransactionalStatus", + "creator_royalty": "Option", + "open_auctions_nonce": "OpenAuctionId" + }, + "CurrencyOf": "u128", + "CurrencyAmount": "u128", + "InitTransactionalStatus": { + "_enum": { + "Idle": "Null", + "BuyNow": "u128", + "InitiatedOfferToMember": "(MemberId,Option)", + "EnglishAuction": "EnglishAuctionParams", + "OpenAuction": "OpenAuctionParams" + } + }, + "NftIssuanceParameters": { + "royalty": "Option", + "nft_metadata": "Bytes", + "non_channel_owner": "Option", + "init_transactional_status": "InitTransactionalStatus" + }, + "NftMetadata": "Vec", + "OpenAuctionId": "u64", + "AccountInfo": "AccountInfoWithRefCount", + "ValidatorPrefs": "ValidatorPrefsWithCommission" + } + } + ] + }, + "jupiter-prep": { + "types": [ + { + "minmax": [ + 0, + 2 + ], + "types": { + "LookupSource": "MultiAddress", + "Address": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "FullIdentification": "AccountId", + "AuthorityState": { + "_enum": [ + "Working", + "Waiting" + ] + }, + "EraIndex": "u32", + "ActiveEraInfo": { + "index": "EraIndex", + "start": "Option" + }, + "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": [ + "Working", + "Waiting" + ] + }, + "EraIndex": "u32", + "ActiveEraInfo": { + "index": "EraIndex", + "start": "Option" + }, + "UnappliedSlash": { + "validator": "AccountId", + "reporters": "Vec" + } + } + } + ] + }, + "jupiter-rococo": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "LookupSource": "MultiAddress", + "Address": "MultiAddress" + } + } + ] + }, + "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_in", + "type": "Balance" + }, + { + "name": "token_in", + "type": "CurrencyId" + }, + { + "name": "token_out", + "type": "CurrencyId" + }, + { + "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": { + "_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" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "u8", + "PoolInfo": { + "isActive": "bool", + "totalDeposited": "Balance", + "unlockHeight": "BlockNumber", + "coolDownDuration": "BlockNumber", + "rewardDuration": "BlockNumber", + "periodFinish": "BlockNumber", + "lastUpdateBlock": "BlockNumber", + "rewardRate": "Balance", + "rewardPerShareStored": "Balance" + }, + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "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" + ] + }, + "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": { + "0": { + "minmax": [ + 0, + 10 + ], + "types": { + "ChainId": "u8", + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "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 + } + }, + "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" + } + } + }, + "1": { + "minmax": [ + 11, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "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 + } + }, + "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" + } + } + } + }, + "kilt-parachain": { + "types": [ + { + "minmax": [ + 0, + 8 + ], + "types": { + "AccountInfo": "AccountInfoWithDualRefCount", + "Address": "AccountId", + "Attestation": { + "ctypeHash": "Hash", + "attester": "AccountId", + "delegationId": "Option", + "revoked": "bool" + }, + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" + }, + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" + }, + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" + }, + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + }, + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } + }, + "XcmError": { + "_enum": { + "Undefined": 0, + "Unimplemented": 1, + "UnhandledXcmVersion": 2, + "UnhandledXcmMessage": 3, + "UnhandledEffect": 4, + "EscalationOfPrivilege": 5, + "UntrustedReserveLocation": 6, + "UntrustedTeleportLocation": 7, + "DestinationBufferOverflow": 8, + "CannotReachDestination": 9, + "MultiLocationFull": 10, + "FailedToDecode": 11, + "BadOrigin": 12, + "ExceedsMaxMessageSize": 13, + "FailedToTransactAsset": 14 + } + }, + "ReferendumInfo": { + "_enum": { + "Ongoing": "ReferendumStatus", + "Finished": "ReferendumInfoFinished" + } + } + } + }, + { + "minmax": [ + 9, + 9 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "DidIdentifierOf", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "DidIdentifierOf", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10, + 11 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 12, + 16 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + } + } + }, + { + "minmax": [ + 17, + 17 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 18, + 18 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" + } + } + }, + { + "minmax": [ + 19, + 19 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "BTreeSet", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "Vec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 20, + 20 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "BoundedVec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "DidVerificationKeysToRevoke", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "minmax": [ + 21, + 22 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "minmax": [ + 23, + 24 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 25, + 2699 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "submitter": "AccountId" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 2700, + 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": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + } + ] + }, + "kilt-spiritnet": { + "types": [ + { + "minmax": [ + 0, + 8 + ], + "types": { + "AccountInfo": "AccountInfoWithDualRefCount", + "Address": "AccountId", + "Attestation": { + "ctypeHash": "Hash", + "attester": "AccountId", + "delegationId": "Option", + "revoked": "bool" + }, + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" + }, + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" + }, + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" + }, + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + }, + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } + }, + "XcmError": { + "_enum": { + "Undefined": 0, + "Unimplemented": 1, + "UnhandledXcmVersion": 2, + "UnhandledXcmMessage": 3, + "UnhandledEffect": 4, + "EscalationOfPrivilege": 5, + "UntrustedReserveLocation": 6, + "UntrustedTeleportLocation": 7, + "DestinationBufferOverflow": 8, + "CannotReachDestination": 9, + "MultiLocationFull": 10, + "FailedToDecode": 11, + "BadOrigin": 12, + "ExceedsMaxMessageSize": 13, + "FailedToTransactAsset": 14 + } + }, + "ReferendumInfo": { + "_enum": { + "Ongoing": "ReferendumStatus", + "Finished": "ReferendumInfoFinished" + } + } + } + }, + { + "minmax": [ + 9, + 9 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "DidIdentifierOf", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "DidIdentifierOf", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10, + 11 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 12, + 16 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + } + } + }, + { + "minmax": [ + 17, + 17 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 18, + 18 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" + } + } + }, + { + "minmax": [ + 19, + 19 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "BTreeSet", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "Vec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 20, + 20 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "BoundedVec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "DidVerificationKeysToRevoke", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "minmax": [ + 21, + 22 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "minmax": [ + 23, + 24 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 25, + 2699 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "submitter": "AccountId" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 2700, + 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": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + } + ] + }, + "kintsugi-parachain": { + "types": [ + { + "minmax": [ + 0, + 100 + ], + "types": { + "BalanceWrapper": { + "currencyId": "CurrencyId", + "amount": "i128" + }, + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId" + } + }, + "InterbtcPrimitivesCurrencyId": { + "_enum": { + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId" + } + }, + "InterbtcForeignAssetId": "u32", + "ForeignAssetId": "u32", + "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" + } + }, + "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" + }, + "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" + }, + "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" + }, + "getRefundRequestsByIssueId": { + "description": "Get all refund request IDs for a particular issue ID", + "params": [ + { + "name": "issue_id", + "type": "H256" + } + ], + "type": "H256" + }, + "getVaultRefundRequests": { + "description": "Get all refund request IDs for a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "relay": { + "isTransactionInvalid": { + "description": "Determine if the RawTx is invalid for the specified VaultId", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + }, + { + "name": "raw_tx", + "type": "Vec" + } + ], + "type": "void" + } + }, + "replace": { + "getNewVaultReplaceRequests": { + "description": "Get all replace request IDs to a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + }, + "getOldVaultReplaceRequests": { + "description": "Get all replace request IDs from a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "vaultRegistry": { + "getCollateralizationFromVault": { + "description": "Returns the collateralization of a specific vault", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" + }, + "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" + }, + "getIssueableTokensFromVault": { + "description": "Get the amount of tokens a vault can issue", + "params": [ + { + "name": "vault", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" + }, + "getPremiumRedeemVaults": { + "description": "Get all vaults below the premium redeem threshold.", + "params": [], + "type": "Vec<(VaultId, BalanceWrapper)>" + }, + "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" + }, + "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" + }, + "getVaultCollateral": { + "description": "Get the vault's collateral (excluding nomination)", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + } + ], + "type": "BalanceWrapper" + }, + "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)>" + } + } + }, + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + }, + "instances": { + "balances": [ + "ksm", + "kbtc", + "kint", + "dot", + "ibtc", + "intr" + ] + } + }, + "konomi": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId" + } + } + ] + }, + "kpron": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId" + } + } + ] + }, + "kulupu": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "CurvePoint": { + "start": "BlockNumber", + "reward": "Balance", + "taxation": "Perbill" + }, + "Difficulty": "U256", + "DifficultyAndTimestamp": { + "difficulty": "Difficulty", + "timestamp": "Moment" + }, + "Era": { + "genesisBlockHash": "H256", + "finalBlockHash": "H256", + "finalStateRoot": "H256" + } + } + }, + { + "minmax": [ + 13, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress" + } + }, + { + "minmax": [ + 17, + null + ], + "types": { + "CampaignIdentifier": "[u8; 4]" + } + }, + { + "minmax": [ + 24, + null + ], + "types": { + "HashedProof": "[u8; 32]", + "PendingSwap": { + "source": "AccountId", + "action": "SwapAction", + "endBlock": "BlockNumber" + }, + "SwapAction": { + "value": "Balance" + } + } + } + ] + }, + "kusari": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "EvmAddress": "H160", + "EthereumTxHash": "H256", + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithTripleRefCount", + "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" + }, + "ClassId": "u64", + "TokenId": "u64", + "ClassData": "Vec", + "TokenData": "Vec", + "ReportReason": { + "_enum": [ + "None", + "Illigal", + "Plagiarism", + "Duplicate", + "Reported" + ] + }, + "ClassInfoOf": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "class_data": "ClassData" + }, + "ExtendedInfo": { + "display_flag": "bool", + "report": "ReportReason", + "frozen": "bool" + }, + "TokenInfoOf": { + "metadata": "Vec", + "owner": "AccountId", + "class_data": "ClassData" + }, + "bridge::ChainId": "u8", + "ChainId": "u8", + "ResourceId": "[u8; 32]", + "DepositNonce": "u64", + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "enum" + } + } + } + ] + }, + "kylin": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "DataRequest": { + "para_id": "Option", + "account_id": "Option", + "requested_block_number": "BlockNumber", + "processed_block_number": "Option", + "requested_timestamp": "u128", + "processed_timestamp": "Option", + "payload": "Text", + "feed_name": "Text", + "is_query": "bool", + "url": "Option" + } + } + } + ] + }, + "laminar": { + "types": [ + { + "minmax": [ + 0, + 299 + ], + "types": { + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" + }, + "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", + "frozen": "Balance", + "reserved": "Balance" + }, + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "Share": "u128", + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + }, + "OracleValue": "Price", + "MarginPoolState": { + "enp": "FixedI128", + "ell": "FixedI128", + "required_deposit": "FixedI128" + }, + "MarginTraderState": { + "equity": "FixedI128", + "margin_held": "FixedI128", + "margin_level": "FixedI128", + "free_margin": "FixedI128", + "unrealized_pl": "FixedI128" + }, + "CurrencyId": { + "_enum": [ + "LAMI", + "AUSD", + "DOT", + "FEUR", + "FJPY", + "FBTC", + "FETH", + "FAUD", + "FCAD", + "FCHF", + "FXAU", + "FOIL", + "FGBP" + ] + }, + "Leverage": { + "_enum": [ + "LongTwo", + "LongThree", + "LongFive", + "LongTen", + "LongTwenty", + "LongThirty", + "LongFifty", + "LongReserved", + "ShortTwo", + "ShortThree", + "ShortFive", + "ShortTen", + "ShortTwenty", + "ShortThirty", + "ShortFifty", + "ShortReserved" + ] + }, + "SwapRate": { + "long": "Rate", + "short": "Rate" + }, + "CurrencyIdOf": "CurrencyId", + "Amount": "FixedI128", + "AmountOf": "Amount", + "OracleKey": "CurrencyId", + "LiquidityPoolId": "u32", + "Leverages": { + "_set": { + "_bitLength": 16, + "LongTwo": 1, + "LongThree": 2, + "LongFive": 4, + "LongTen": 8, + "LongTwenty": 16, + "LongThirty": 32, + "LongFifty": 64, + "LongReserved": 128, + "ShortTwo": 256, + "ShortThree": 512, + "ShortFive": 1024, + "ShortTen": 2048, + "ShortTwenty": 4096, + "ShortThirty": 8192, + "ShortFifty": 16384, + "ShortReserved": 32768 + } + }, + "TradingPair": { + "base": "CurrencyId", + "quote": "CurrencyId" + }, + "AccumulateConfig": { + "frequency": "Moment", + "offset": "Moment" + }, + "IdentityDepositBalanceOf": "Balance", + "Pool": { + "owner": "AccountId", + "balance": "Balance" + }, + "MarginTradingPairOption": { + "enabled": "bool", + "maxSpread": "Option", + "swapRate": "SwapRate", + "accumulateConfig": "Option" + }, + "MarginPoolOption": { + "additionalSwapRate": "FixedI128", + "minLeveragedAmount": "FixedU128" + }, + "MarginPoolTradingPairOption": { + "enabled": "bool", + "bidSpread": "Option", + "askSpread": "Option", + "enabledTrades": "Leverages" + }, + "SyntheticPoolCurrencyOption": { + "bidSpread": "Option", + "askSpread": "Option", + "additionalCollateralRatio": "Option", + "syntheticEnabled": "bool" + }, + "MarginPosition": { + "owner": "AccountId", + "poolId": "LiquidityPoolId", + "pair": "TradingPair", + "leverage": "Leverage", + "leveragedHeld": "FixedI128", + "leveragedDebits": "FixedI128", + "openAccumulatedSwapRate": "Rate", + "marginHeld": "FixedI128" + }, + "SyntheticPosition": { + "collateral": "FixedU128", + "synthetic": "FixedU128" + }, + "RiskThreshold": { + "marginCall": "Permill", + "stopOut": "Permill" + }, + "PositionId": "u64", + "Rate": "FixedI128", + "PoolTraderInfo": { + "positionNum": "PositionId", + "long": "PairInfo", + "short": "PairInfo" + }, + "PairInfo": { + "baseAmount": "FixedI128", + "quoteAmount": "FixedI128" + }, + "TradingPairRiskThreshold": { + "trader": "Option", + "enp": "Option", + "ell": "Option" + }, + "SyntheticTokensRatio": { + "extreme": "Option", + "liquidation": "Option", + "collateral": "Option" + }, + "PositionsSnapshot": { + "positionsCount": "PositionId", + "long": "LeveragedAmounts", + "short": "LeveragedAmounts" + }, + "LeveragedAmounts": { + "held": "FixedI128", + "debits": "FixedI128" + }, + "LiquidityPoolIdentityInfo": { + "legalName": "Vec", + "displayName": "Vec", + "web": "Vec", + "email": "Vec", + "image_url": "Vec" + }, + "SyntheticPoolState": { + "collateral_ratio": "FixedI128", + "is_safe": "boolean" + }, + "Keys": "SessionKeys2", + "RefCount": "RefCountTo259" + } + }, + { + "minmax": [ + 300, + 399 + ], + "types": { + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" + }, + "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", + "frozen": "Balance", + "reserved": "Balance" + }, + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "Share": "u128", + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + }, + "OracleValue": "Price", + "MarginPoolState": { + "enp": "FixedI128", + "ell": "FixedI128", + "required_deposit": "FixedI128" + }, + "MarginTraderState": { + "equity": "FixedI128", + "margin_held": "FixedI128", + "margin_level": "FixedI128", + "free_margin": "FixedI128", + "unrealized_pl": "FixedI128" + }, + "CurrencyId": { + "_enum": [ + "LAMI", + "AUSD", + "FEUR", + "FJPY", + "FBTC", + "FETH", + "FAUD", + "FCAD", + "FCHF", + "FXAU", + "FOIL", + "FGBP" + ] + }, + "Leverage": { + "_enum": [ + "LongTwo", + "LongThree", + "LongFive", + "LongTen", + "LongTwenty", + "LongThirty", + "LongFifty", + "LongReserved", + "ShortTwo", + "ShortThree", + "ShortFive", + "ShortTen", + "ShortTwenty", + "ShortThirty", + "ShortFifty", + "ShortReserved" + ] + }, + "SwapRate": { + "long": "Rate", + "short": "Rate" + }, + "CurrencyIdOf": "CurrencyId", + "Amount": "FixedI128", + "AmountOf": "Amount", + "OracleKey": "CurrencyId", + "LiquidityPoolId": "u32", + "Leverages": { + "_set": { + "_bitLength": 16, + "LongTwo": 1, + "LongThree": 2, + "LongFive": 4, + "LongTen": 8, + "LongTwenty": 16, + "LongThirty": 32, + "LongFifty": 64, + "LongReserved": 128, + "ShortTwo": 256, + "ShortThree": 512, + "ShortFive": 1024, + "ShortTen": 2048, + "ShortTwenty": 4096, + "ShortThirty": 8192, + "ShortFifty": 16384, + "ShortReserved": 32768 + } + }, + "TradingPair": { + "base": "CurrencyId", + "quote": "CurrencyId" + }, + "AccumulateConfig": { + "frequency": "Moment", + "offset": "Moment" + }, + "IdentityDepositBalanceOf": "Balance", + "Pool": { + "owner": "AccountId", + "balance": "Balance" + }, + "MarginTradingPairOption": { + "enabled": "bool", + "maxSpread": "Option", + "swapRate": "SwapRate", + "accumulateConfig": "Option" + }, + "MarginPoolOption": { + "additionalSwapRate": "FixedI128", + "minLeveragedAmount": "FixedU128" + }, + "MarginPoolTradingPairOption": { + "enabled": "bool", + "bidSpread": "Option", + "askSpread": "Option", + "enabledTrades": "Leverages" + }, + "SyntheticPoolCurrencyOption": { + "bidSpread": "Option", + "askSpread": "Option", + "additionalCollateralRatio": "Option", + "syntheticEnabled": "bool" + }, + "MarginPosition": { + "owner": "AccountId", + "poolId": "LiquidityPoolId", + "pair": "TradingPair", + "leverage": "Leverage", + "leveragedHeld": "FixedI128", + "leveragedDebits": "FixedI128", + "openAccumulatedSwapRate": "Rate", + "marginHeld": "FixedI128" + }, + "SyntheticPosition": { + "collateral": "FixedU128", + "synthetic": "FixedU128" + }, + "RiskThreshold": { + "marginCall": "Permill", + "stopOut": "Permill" + }, + "PositionId": "u64", + "Rate": "FixedI128", + "PoolTraderInfo": { + "positionNum": "PositionId", + "long": "PairInfo", + "short": "PairInfo" + }, + "PairInfo": { + "baseAmount": "FixedI128", + "quoteAmount": "FixedI128" + }, + "TradingPairRiskThreshold": { + "trader": "Option", + "enp": "Option", + "ell": "Option" + }, + "SyntheticTokensRatio": { + "extreme": "Option", + "liquidation": "Option", + "collateral": "Option" + }, + "PositionsSnapshot": { + "positionsCount": "PositionId", + "long": "LeveragedAmounts", + "short": "LeveragedAmounts" + }, + "LeveragedAmounts": { + "held": "FixedI128", + "debits": "FixedI128" + }, + "LiquidityPoolIdentityInfo": { + "legalName": "Vec", + "displayName": "Vec", + "web": "Vec", + "email": "Vec", + "image_url": "Vec" + }, + "SyntheticPoolState": { + "collateral_ratio": "FixedI128", + "is_safe": "boolean" + }, + "Keys": "SessionKeys2" + } + }, + { + "minmax": [ + 400, + null + ], + "types": { + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" + }, + "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", + "frozen": "Balance", + "reserved": "Balance" + }, + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "Share": "u128", + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + }, + "OracleValue": "Price", + "MarginPoolState": { + "enp": "FixedI128", + "ell": "FixedI128", + "required_deposit": "FixedI128" + }, + "MarginTraderState": { + "equity": "FixedI128", + "margin_held": "FixedI128", + "margin_level": "FixedI128", + "free_margin": "FixedI128", + "unrealized_pl": "FixedI128" + }, + "CurrencyId": { + "_enum": [ + "LAMI", + "AUSD", + "DOT", + "FEUR", + "FJPY", + "FBTC", + "FETH", + "FAUD", + "FCAD", + "FCHF", + "FXAU", + "FOIL", + "FGBP" + ] + }, + "Leverage": { + "_enum": [ + "LongTwo", + "LongThree", + "LongFive", + "LongTen", + "LongTwenty", + "LongThirty", + "LongFifty", + "LongReserved", + "ShortTwo", + "ShortThree", + "ShortFive", + "ShortTen", + "ShortTwenty", + "ShortThirty", + "ShortFifty", + "ShortReserved" + ] + }, + "SwapRate": { + "long": "Rate", + "short": "Rate" + }, + "CurrencyIdOf": "CurrencyId", + "Amount": "FixedI128", + "AmountOf": "Amount", + "OracleKey": "CurrencyId", + "LiquidityPoolId": "u32", + "Leverages": { + "_set": { + "_bitLength": 16, + "LongTwo": 1, + "LongThree": 2, + "LongFive": 4, + "LongTen": 8, + "LongTwenty": 16, + "LongThirty": 32, + "LongFifty": 64, + "LongReserved": 128, + "ShortTwo": 256, + "ShortThree": 512, + "ShortFive": 1024, + "ShortTen": 2048, + "ShortTwenty": 4096, + "ShortThirty": 8192, + "ShortFifty": 16384, + "ShortReserved": 32768 + } + }, + "TradingPair": { + "base": "CurrencyId", + "quote": "CurrencyId" + }, + "AccumulateConfig": { + "frequency": "Moment", + "offset": "Moment" + }, + "IdentityDepositBalanceOf": "Balance", + "Pool": { + "owner": "AccountId", + "balance": "Balance" + }, + "MarginTradingPairOption": { + "enabled": "bool", + "maxSpread": "Option", + "swapRate": "SwapRate", + "accumulateConfig": "Option" + }, + "MarginPoolOption": { + "additionalSwapRate": "FixedI128", + "minLeveragedAmount": "FixedU128" + }, + "MarginPoolTradingPairOption": { + "enabled": "bool", + "bidSpread": "Option", + "askSpread": "Option", + "enabledTrades": "Leverages" + }, + "SyntheticPoolCurrencyOption": { + "bidSpread": "Option", + "askSpread": "Option", + "additionalCollateralRatio": "Option", + "syntheticEnabled": "bool" + }, + "MarginPosition": { + "owner": "AccountId", + "poolId": "LiquidityPoolId", + "pair": "TradingPair", + "leverage": "Leverage", + "leveragedHeld": "FixedI128", + "leveragedDebits": "FixedI128", + "openAccumulatedSwapRate": "Rate", + "marginHeld": "FixedI128" + }, + "SyntheticPosition": { + "collateral": "FixedU128", + "synthetic": "FixedU128" + }, + "RiskThreshold": { + "marginCall": "Permill", + "stopOut": "Permill" + }, + "PositionId": "u64", + "Rate": "FixedI128", + "PoolTraderInfo": { + "positionNum": "PositionId", + "long": "PairInfo", + "short": "PairInfo" + }, + "PairInfo": { + "baseAmount": "FixedI128", + "quoteAmount": "FixedI128" + }, + "TradingPairRiskThreshold": { + "trader": "Option", + "enp": "Option", + "ell": "Option" + }, + "SyntheticTokensRatio": { + "extreme": "Option", + "liquidation": "Option", + "collateral": "Option" + }, + "PositionsSnapshot": { + "positionsCount": "PositionId", + "long": "LeveragedAmounts", + "short": "LeveragedAmounts" + }, + "LeveragedAmounts": { + "held": "FixedI128", + "debits": "FixedI128" + }, + "LiquidityPoolIdentityInfo": { + "legalName": "Vec", + "displayName": "Vec", + "web": "Vec", + "email": "Vec", + "image_url": "Vec" + }, + "SyntheticPoolState": { + "collateral_ratio": "FixedI128", + "is_safe": "boolean" + }, + "Keys": "SessionKeys2" + } + } + ] + }, + "litentry": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId" + } + } + ] + }, + "logion": { + "types": [ + { + "minmax": [ + 0, + 109 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "PeerId": "(Vec)", + "AccountInfo": "AccountInfoWithDualRefCount", + "TAssetBalance": "u128", + "AssetId": "u64", + "AssetDetails": { + "owner": "AccountId", + "issuer": "AccountId", + "admin": "AccountId", + "freezer": "AccountId", + "supply": "Balance", + "deposit": "DepositBalance", + "max_zombies": "u32", + "min_balance": "Balance", + "zombies": "u32", + "accounts": "u32", + "is_frozen": "bool" + }, + "AssetMetadata": { + "deposit": "DepositBalance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" + }, + "LocId": "u128", + "LegalOfficerCaseOf": { + "owner": "AccountId", + "requester": "Requester", + "metadata": "Vec", + "files": "Vec", + "closed": "bool", + "loc_type": "LocType", + "links": "Vec", + "void_info": "Option>", + "replacer_of": "Option", + "collection_last_block_submission": "Option", + "collection_max_size": "Option" + }, + "MetadataItem": { + "name": "Vec", + "value": "Vec", + "submitter": "AccountId" + }, + "LocType": { + "_enum": [ + "Transaction", + "Identity", + "Collection" + ] + }, + "LocLink": { + "id": "LocId", + "nature": "Vec" + }, + "File": { + "hash": "Hash", + "nature": "Vec", + "submitter": "AccountId" + }, + "LocVoidInfo": { + "replacer": "Option" + }, + "StorageVersion": { + "_enum": [ + "V1", + "V2MakeLocVoid", + "V3RequesterEnum", + "V4ItemSubmitter", + "V5Collection" + ] + }, + "Requester": { + "_enum": { + "None": null, + "Account": "AccountId", + "Loc": "LocId" + } + }, + "CollectionSize": "u32", + "CollectionItemId": "Hash", + "CollectionItem": { + "description": "Vec" + }, + "FullIdentification": "Exposure", + "IdentificationTuple": "(ValidatorId, FullIdentification)", + "MembershipProof": { + "session": "SessionIndex", + "trieNodes": "Vec>", + "validatorCount": "ValidatorCount" + }, + "SessionIndex": "u32", + "ValidatorCount": "u32", + "SessionKeys2": "(AccountId, AccountId)", + "Keys": "SessionKeys2" + } + }, + { + "minmax": [ + 110, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "PeerId": "(Vec)", + "AccountInfo": "AccountInfoWithDualRefCount", + "TAssetBalance": "u128", + "AssetId": "u64", + "AssetDetails": { + "owner": "AccountId", + "issuer": "AccountId", + "admin": "AccountId", + "freezer": "AccountId", + "supply": "Balance", + "deposit": "DepositBalance", + "max_zombies": "u32", + "min_balance": "Balance", + "zombies": "u32", + "accounts": "u32", + "is_frozen": "bool" + }, + "AssetMetadata": { + "deposit": "DepositBalance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" + }, + "LocId": "u128", + "LegalOfficerCaseOf": { + "owner": "AccountId", + "requester": "Requester", + "metadata": "Vec", + "files": "Vec", + "closed": "bool", + "loc_type": "LocType", + "links": "Vec", + "void_info": "Option>", + "replacer_of": "Option", + "collection_last_block_submission": "Option", + "collection_max_size": "Option", + "collection_can_upload": "bool" + }, + "MetadataItem": { + "name": "Vec", + "value": "Vec", + "submitter": "AccountId" + }, + "LocType": { + "_enum": [ + "Transaction", + "Identity", + "Collection" + ] + }, + "LocLink": { + "id": "LocId", + "nature": "Vec" + }, + "File": { + "hash": "Hash", + "nature": "Vec", + "submitter": "AccountId" + }, + "LocVoidInfo": { + "replacer": "Option" + }, + "StorageVersion": { + "_enum": [ + "V1", + "V2MakeLocVoid", + "V3RequesterEnum", + "V4ItemSubmitter", + "V5Collection", + "V6ItemUpload" + ] + }, + "Requester": { + "_enum": { + "None": null, + "Account": "AccountId", + "Loc": "LocId" + } + }, + "CollectionSize": "u32", + "CollectionItemId": "Hash", + "CollectionItem": { + "description": "Vec", + "files": "Vec>" + }, + "CollectionItemFile": { + "name": "Vec", + "content_type": "Vec", + "fileSize": "u32", + "hash": "Hash" + }, + "FullIdentification": "Exposure", + "IdentificationTuple": "(ValidatorId, FullIdentification)", + "MembershipProof": { + "session": "SessionIndex", + "trieNodes": "Vec>", + "validatorCount": "ValidatorCount" + }, + "SessionIndex": "u32", + "ValidatorCount": "u32", + "SessionKeys2": "(AccountId, AccountId)", + "Keys": "SessionKeys2" + } + } + ] + }, + "logion-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "PeerId": "(Vec)", + "AccountInfo": "AccountInfoWithDualRefCount", + "TAssetBalance": "u128", + "AssetId": "u64", + "AssetDetails": { + "owner": "AccountId", + "issuer": "AccountId", + "admin": "AccountId", + "freezer": "AccountId", + "supply": "Balance", + "deposit": "DepositBalance", + "max_zombies": "u32", + "min_balance": "Balance", + "zombies": "u32", + "accounts": "u32", + "is_frozen": "bool" + }, + "AssetMetadata": { + "deposit": "DepositBalance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" + }, + "LocId": "u128", + "LegalOfficerCaseOf": { + "owner": "AccountId", + "requester": "Requester", + "metadata": "Vec", + "files": "Vec", + "closed": "bool", + "loc_type": "LocType", + "links": "Vec", + "void_info": "Option>", + "replacer_of": "Option", + "collection_last_block_submission": "Option", + "collection_max_size": "Option" + }, + "MetadataItem": { + "name": "Vec", + "value": "Vec", + "submitter": "AccountId" + }, + "LocType": { + "_enum": [ + "Transaction", + "Identity", + "Collection" + ] + }, + "LocLink": { + "id": "LocId", + "nature": "Vec" + }, + "File": { + "hash": "Hash", + "nature": "Vec", + "submitter": "AccountId" + }, + "LocVoidInfo": { + "replacer": "Option" + }, + "StorageVersion": { + "_enum": [ + "V1", + "V2MakeLocVoid", + "V3RequesterEnum", + "V4ItemSubmitter", + "V5Collection" + ] + }, + "Requester": { + "_enum": { + "None": null, + "Account": "AccountId", + "Loc": "LocId" + } + }, + "CollectionSize": "u32", + "CollectionItemId": "Hash", + "CollectionItem": { + "description": "Vec" + } + } + } + ] + }, + "mangata": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "ShufflingSeed": { + "seed": "H256", + "proof": "H512" + }, + "Header": { + "parentHash": "Hash", + "number": "Compact", + "stateRoot": "Hash", + "extrinsicsRoot": "Hash", + "digest": "Digest", + "seed": "ShufflingSeed", + "count": "BlockNumber" + }, + "RpcResult": { + "price": "Balance" + }, + "RPCAmountsResult": { + "firstAssetAmount": "Balance", + "secondAssetAmount": "Balance" + }, + "TokenId": "u32" + } + } + ], + "rpc": { + "xyk": { + "calculate_buy_price": { + "description": "", + "params": [ + { + "name": "input_reserve", + "type": "Balance" + }, + { + "name": "output_reserve", + "type": "Balance" + }, + { + "name": "sell_amount", + "type": "Balance" + } + ], + "type": "RpcResult" + }, + "calculate_sell_price": { + "description": "", + "params": [ + { + "name": "input_reserve", + "type": "Balance" + }, + { + "name": "output_reserve", + "type": "Balance" + }, + { + "name": "sell_amount", + "type": "Balance" + } + ], + "type": "RpcResult" + }, + "get_burn_amount": { + "description": "", + "params": [ + { + "name": "first_asset_id", + "type": "TokenId" + }, + { + "name": "second_asset_id", + "type": "TokenId" + }, + { + "name": "liquidity_asset_amount", + "type": "Balance" + } + ], + "type": "RPCAmountsResult" + }, + "calculate_sell_price_id": { + "description": "", + "params": [ + { + "name": "sold_token_id", + "type": "TokenId" + }, + { + "name": "bought_token_id", + "type": "TokenId" + }, + { + "name": "sell_amount", + "type": "Balance" + } + ], + "type": "RpcResult" + }, + "calculate_buy_price_id": { + "description": "", + "params": [ + { + "name": "sold_token_id", + "type": "TokenId" + }, + { + "name": "bought_token_id", + "type": "TokenId" + }, + { + "name": "buy_amount", + "type": "Balance" + } + ], + "type": "RpcResult" + }, + "calculate_rewards_amount": { + "description": "", + "params": [ + { + "name": "user", + "type": "AccountId" + }, + { + "name": "liquidity_asset_id", + "type": "TokenId" + } + ], + "type": "RpcResult" + } + } + } + }, + "mangata-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "ShufflingSeed": { + "seed": "H256", + "proof": "H512" + }, + "Header": { + "parentHash": "Hash", + "number": "Compact", + "stateRoot": "Hash", + "extrinsicsRoot": "Hash", + "digest": "Digest", + "seed": "ShufflingSeed", + "count": "BlockNumber" + }, + "RpcResult": { + "price": "Balance" + }, + "RPCAmountsResult": { + "firstAssetAmount": "Balance", + "secondAssetAmount": "Balance" + }, + "TokenId": "u32" + } + } + ], + "rpc": { + "xyk": { + "calculate_buy_price": { + "description": "", + "params": [ + { + "name": "input_reserve", + "type": "Balance" + }, + { + "name": "output_reserve", + "type": "Balance" + }, + { + "name": "sell_amount", + "type": "Balance" + } + ], + "type": "RpcResult" + }, + "calculate_sell_price": { + "description": "", + "params": [ + { + "name": "input_reserve", + "type": "Balance" + }, + { + "name": "output_reserve", + "type": "Balance" + }, + { + "name": "sell_amount", + "type": "Balance" + } + ], + "type": "RpcResult" + }, + "get_burn_amount": { + "description": "", + "params": [ + { + "name": "first_asset_id", + "type": "TokenId" + }, + { + "name": "second_asset_id", + "type": "TokenId" + }, + { + "name": "liquidity_asset_amount", + "type": "Balance" + } + ], + "type": "RPCAmountsResult" + }, + "calculate_sell_price_id": { + "description": "", + "params": [ + { + "name": "sold_token_id", + "type": "TokenId" + }, + { + "name": "bought_token_id", + "type": "TokenId" + }, + { + "name": "sell_amount", + "type": "Balance" + } + ], + "type": "RpcResult" + }, + "calculate_buy_price_id": { + "description": "", + "params": [ + { + "name": "sold_token_id", + "type": "TokenId" + }, + { + "name": "bought_token_id", + "type": "TokenId" + }, + { + "name": "buy_amount", + "type": "Balance" + } + ], + "type": "RpcResult" + }, + "calculate_rewards_amount": { + "description": "", + "params": [ + { + "name": "user", + "type": "AccountId" + }, + { + "name": "liquidity_asset_id", + "type": "TokenId" + } + ], + "type": "RpcResult" + } + } + } + }, + "manta-node": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "CurrencyId": { + "_enum": [ + "MA" + ] + }, + "CurrencyIdOf": "CurrencyId", + "Amount": "i128", + "AmountOf": "Amount", + "AccountInfo": "AccountInfoWithDualRefCount" + } + } + ] + }, + "mashnet-node": { + "types": [ + { + "minmax": [ + 0, + 8 + ], + "types": { + "AccountInfo": "AccountInfoWithDualRefCount", + "Address": "AccountId", + "Attestation": { + "ctypeHash": "Hash", + "attester": "AccountId", + "delegationId": "Option", + "revoked": "bool" + }, + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" + }, + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" + }, + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" + }, + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + }, + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } + }, + "XcmError": { + "_enum": { + "Undefined": 0, + "Unimplemented": 1, + "UnhandledXcmVersion": 2, + "UnhandledXcmMessage": 3, + "UnhandledEffect": 4, + "EscalationOfPrivilege": 5, + "UntrustedReserveLocation": 6, + "UntrustedTeleportLocation": 7, + "DestinationBufferOverflow": 8, + "CannotReachDestination": 9, + "MultiLocationFull": 10, + "FailedToDecode": 11, + "BadOrigin": 12, + "ExceedsMaxMessageSize": 13, + "FailedToTransactAsset": 14 + } + }, + "ReferendumInfo": { + "_enum": { + "Ongoing": "ReferendumStatus", + "Finished": "ReferendumInfoFinished" + } + } + } + }, + { + "minmax": [ + 9, + 9 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "DidIdentifierOf", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "DidIdentifierOf", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10, + 11 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 12, + 16 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + } + } + }, + { + "minmax": [ + 17, + 17 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 18, + 18 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" + } + } + }, + { + "minmax": [ + 19, + 19 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "BTreeSet", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "Vec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } + } + }, + { + "minmax": [ + 20, + 20 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "OrderedSet": "BoundedVec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "DidVerificationKeysToRevoke", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "minmax": [ + 21, + 22 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "minmax": [ + 23, + 24 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 25, + 2699 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "submitter": "AccountId" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 2700, + 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": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" + }, + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" + }, + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { + "owner": "AccountId", + "amount": "Balance" + }, + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" + }, + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" + }, + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" + }, + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } + }, + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] + }, + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] + }, + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + } + ] + }, + "mathchain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "Balance": "u128", + "RefCount": "u32", + "Account": { + "nonce": "U256", + "balance": "U256" + }, + "AccountServiceEnum": { + "_enum": { + "Nickname": "String", + "Ethereum": "H160" + } + }, + "MultiAddressDetails": { + "nickname": "AccountServiceEnum", + "ethereum": "AccountServiceEnum" + }, + "Nickname": "String", + "Ethereum": "H160", + "TransferAmountInfo": { + "date": "u64", + "daily_info": "Balance", + "monthly_info": "Balance", + "yearly_info": "Balance" + }, + "AccountLimit": { + "daily_limit": "Balance", + "monthly_limit": "Balance", + "yearly_limit": "Balance" + }, + "Keys": "SessionKeys2" + } + } + ] + }, + "mathchain-galois": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "Balance": "u128", + "RefCount": "u32", + "Account": { + "nonce": "U256", + "balance": "U256" + }, + "AccountServiceEnum": { + "_enum": { + "Nickname": "String", + "Ethereum": "H160" + } + }, + "MultiAddressDetails": { + "nickname": "AccountServiceEnum", + "ethereum": "AccountServiceEnum" + }, + "Nickname": "String", + "Ethereum": "H160", + "TransferAmountInfo": { + "date": "u64", + "daily_info": "Balance", + "monthly_info": "Balance", + "yearly_info": "Balance" + }, + "AccountLimit": { + "daily_limit": "Balance", + "monthly_limit": "Balance", + "yearly_limit": "Balance" + }, + "Keys": "SessionKeys2" + } + } + ] + }, + "moonbase": { + "alias": { + "assetManager": { + "Balance": "TAssetBalance" + }, + "xTokens": { + "Balance": "TAssetBalance" + } + }, + "rpc": { + "txpool": { + "content": { + "aliasSection": "txpool", + "description": "The detailed information regarding Ethereum transactions that are currently in the Substrate transaction pool.", + "params": [], + "type": "TxPoolResultContent" + }, + "inspect": { + "aliasSection": "txpool", + "description": "Summarized information of the Ethereum transactions that are currently in the Substrate transaction pool.", + "params": [], + "type": "TxPoolResultInspect" + }, + "status": { + "aliasSection": "txpool", + "description": "The number of Ethereum transaction that are currently in the Substrate transaction pool.", + "params": [], + "type": "TxPoolResultStatus" + } + }, + "trace": { + "filter": { + "aliasSection": "trace", + "description": "Trace Filter", + "params": [ + { + "name": "filter", + "type": "FilterRequest" + } + ], + "type": "Result>" + } + }, + "debug": { + "traceTransaction": { + "aliasSection": "debug", + "description": "Debug trace tx", + "params": [ + { + "name": "transaction_hash", + "type": "H256" + } + ], + "type": "Result>" + } + }, + "xcm": { + "injectDownwardMessage": { + "description": "Inject a downward message from the relay chain.", + "params": [ + { + "name": "message", + "type": "Vec" + } + ], + "type": "Result<()>" + }, + "injectHrmpMessage": { + "description": "Inject an HRMP message from a dedicated channel from a sibling parachain", + "params": [ + { + "name": "sender", + "type": "ParaId" + }, + { + "name": "message", + "type": "Vec" + } + ], + "type": "Result<()>" + } + }, + "moon": { + "isBlockFinalized": { + "description": "Checks if an Ethereum block is finalized", + "params": [ + { + "name": "blockHash", + "type": "Hash" + } + ], + "type": "bool" + }, + "isTxFinalized": { + "description": "Checks if an Ethereum transaction is finalized", + "params": [ + { + "name": "transactionHash", + "type": "Hash" + } + ], + "type": "bool" + } + }, + "eth": { + "feeHistory": { + "description": "Returns Ethereum fee history", + "params": [ + { + "name": "blockCount", + "type": "U256" + }, + { + "name": "newestBlock", + "type": "BlockNumber" + }, + { + "name": "rewardPercentiles", + "type": "Option>" + } + ], + "type": "FeeHistory" + }, + "maxPriorityFeePerGas": { + "description": "Returns Ethereum max priority fee per gas", + "params": [], + "type": "U256" + } + } + }, + "instances": { + "council": [ + "councilCollective" + ], + "technicalCommittee": [ + "techCommitteeCollective" + ] + }, + "types": [ + { + "minmax": [ + 0, + 4 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "RefCount": "u8", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + } + } + }, + { + "minmax": [ + 5, + 5 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + } + } + }, + { + "minmax": [ + 6, + 19 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "ValidatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "ValidatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + } + } + }, + { + "minmax": [ + 19, + 35 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + } + } + }, + { + "minmax": [ + 36, + 36 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId" + } + }, + { + "minmax": [ + 37, + 42 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + } + } + }, + { + "minmax": [ + 43, + 154 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToBottom": "Null", + "AddedToTop": "Balance" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + } + } + }, + { + "minmax": [ + 155, + 199 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + } + } + }, + { + "minmax": [ + 200, + 399 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + } + } + }, + { + "minmax": [ + 400, + 599 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + } + } + }, + { + "minmax": [ + 600, + 799 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + }, + "AssetType": { + "_enum": { + "Xcm": "MultiLocation" + } + }, + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" + }, + "ENUM_AccountKey20": { + "network": "NetworkId", + "key": "[u8; 20]" + }, + "ENUM_AccountIndex64": { + "network": "NetworkId", + "index": "Compact" + }, + "ENUM_Plurality": { + "id": "BodyId", + "part": "BodyPart" + }, + "JunctionV0": { + "_enum": { + "Parent": "Null", + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" + } + }, + "CurrencyId": { + "_enum": { + "SelfReserve": "Null", + "OtherReserve": "u128" + } + }, + "AssetRegistrarMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "isFrozen": "bool" + }, + "VestingBlockNumber": "u32", + "MultiLocation": "MultiLocationV0" + } + }, + { + "minmax": [ + 800, + 899 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + }, + "AssetType": { + "_enum": { + "Xcm": "MultiLocation" + } + }, + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" + }, + "ENUM_AccountKey20": { + "network": "NetworkId", + "key": "[u8; 20]" + }, + "ENUM_AccountIndex64": { + "network": "NetworkId", + "index": "Compact" + }, + "ENUM_Plurality": { + "id": "BodyId", + "part": "BodyPart" + }, + "JunctionV0": { + "_enum": { + "Parent": "Null", + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" + } + }, + "CurrencyId": { + "_enum": { + "SelfReserve": "Null", + "OtherReserve": "u128" + } + }, + "AssetRegistrarMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "isFrozen": "bool" + }, + "VestingBlockNumber": "u32", + "MultiLocation": "MultiLocationV1", + "JunctionV1": { + "_enum": { + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" + } + } + } + }, + { + "minmax": [ + 900, + null + ], + "types": { + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + } + } + } + ] + }, + "moonbeam": { + "alias": { + "assetManager": { + "Balance": "TAssetBalance" + }, + "xTokens": { + "Balance": "TAssetBalance" + } + }, + "rpc": { + "txpool": { + "content": { + "aliasSection": "txpool", + "description": "The detailed information regarding Ethereum transactions that are currently in the Substrate transaction pool.", + "params": [], + "type": "TxPoolResultContent" + }, + "inspect": { + "aliasSection": "txpool", + "description": "Summarized information of the Ethereum transactions that are currently in the Substrate transaction pool.", + "params": [], + "type": "TxPoolResultInspect" + }, + "status": { + "aliasSection": "txpool", + "description": "The number of Ethereum transaction that are currently in the Substrate transaction pool.", + "params": [], + "type": "TxPoolResultStatus" + } + }, + "trace": { + "filter": { + "aliasSection": "trace", + "description": "Trace Filter", + "params": [ + { + "name": "filter", + "type": "FilterRequest" + } + ], + "type": "Result>" + } + }, + "debug": { + "traceTransaction": { + "aliasSection": "debug", + "description": "Debug trace tx", + "params": [ + { + "name": "transaction_hash", + "type": "H256" + } + ], + "type": "Result>" + } + }, + "xcm": { + "injectDownwardMessage": { + "description": "Inject a downward message from the relay chain.", + "params": [ + { + "name": "message", + "type": "Vec" + } + ], + "type": "Result<()>" + }, + "injectHrmpMessage": { + "description": "Inject an HRMP message from a dedicated channel from a sibling parachain", + "params": [ + { + "name": "sender", + "type": "ParaId" + }, + { + "name": "message", + "type": "Vec" + } + ], + "type": "Result<()>" + } + }, + "moon": { + "isBlockFinalized": { + "description": "Checks if an Ethereum block is finalized", + "params": [ + { + "name": "blockHash", + "type": "Hash" + } + ], + "type": "bool" + }, + "isTxFinalized": { + "description": "Checks if an Ethereum transaction is finalized", + "params": [ + { + "name": "transactionHash", + "type": "Hash" + } + ], + "type": "bool" + } + }, + "eth": { + "feeHistory": { + "description": "Returns Ethereum fee history", + "params": [ + { + "name": "blockCount", + "type": "U256" + }, + { + "name": "newestBlock", + "type": "BlockNumber" + }, + { + "name": "rewardPercentiles", + "type": "Option>" + } + ], + "type": "FeeHistory" + }, + "maxPriorityFeePerGas": { + "description": "Returns Ethereum max priority fee per gas", + "params": [], + "type": "U256" + } + } + }, + "instances": { + "council": [ + "councilCollective" + ], + "technicalCommittee": [ + "techCommitteeCollective" + ] + }, + "types": [ + { + "minmax": [ + 0, + 4 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "RefCount": "u8", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + } + } + }, + { + "minmax": [ + 5, + 5 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + } + } + }, + { + "minmax": [ + 6, + 19 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "ValidatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "ValidatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + } + } + }, + { + "minmax": [ + 19, + 35 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + } + } + }, + { + "minmax": [ + 36, + 36 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId" + } + }, + { + "minmax": [ + 37, + 42 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + } + } + }, + { + "minmax": [ + 43, + 154 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToBottom": "Null", + "AddedToTop": "Balance" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + } + } + }, + { + "minmax": [ + 155, + 199 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + } + } + }, + { + "minmax": [ + 200, + 399 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + } + } + }, + { + "minmax": [ + 400, + 599 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + } + } + }, + { + "minmax": [ + 600, + 799 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + }, + "AssetType": { + "_enum": { + "Xcm": "MultiLocation" + } + }, + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" + }, + "ENUM_AccountKey20": { + "network": "NetworkId", + "key": "[u8; 20]" + }, + "ENUM_AccountIndex64": { + "network": "NetworkId", + "index": "Compact" + }, + "ENUM_Plurality": { + "id": "BodyId", + "part": "BodyPart" + }, + "JunctionV0": { + "_enum": { + "Parent": "Null", + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" + } + }, + "CurrencyId": { + "_enum": { + "SelfReserve": "Null", + "OtherReserve": "u128" + } + }, + "AssetRegistrarMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "isFrozen": "bool" + }, + "VestingBlockNumber": "u32", + "MultiLocation": "MultiLocationV0" + } + }, + { + "minmax": [ + 800, + 899 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + }, + "AssetType": { + "_enum": { + "Xcm": "MultiLocation" + } + }, + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" + }, + "ENUM_AccountKey20": { + "network": "NetworkId", + "key": "[u8; 20]" + }, + "ENUM_AccountIndex64": { + "network": "NetworkId", + "index": "Compact" + }, + "ENUM_Plurality": { + "id": "BodyId", + "part": "BodyPart" + }, + "JunctionV0": { + "_enum": { + "Parent": "Null", + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" + } + }, + "CurrencyId": { + "_enum": { + "SelfReserve": "Null", + "OtherReserve": "u128" + } + }, + "AssetRegistrarMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "isFrozen": "bool" + }, + "VestingBlockNumber": "u32", + "MultiLocation": "MultiLocationV1", + "JunctionV1": { + "_enum": { + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" + } + } + } + }, + { + "minmax": [ + 900, + null + ], + "types": { + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + } + } + } + ] + }, + "moonriver": { + "alias": { + "assetManager": { + "Balance": "TAssetBalance" + }, + "xTokens": { + "Balance": "TAssetBalance" + } + }, + "rpc": { + "txpool": { + "content": { + "aliasSection": "txpool", + "description": "The detailed information regarding Ethereum transactions that are currently in the Substrate transaction pool.", + "params": [], + "type": "TxPoolResultContent" + }, + "inspect": { + "aliasSection": "txpool", + "description": "Summarized information of the Ethereum transactions that are currently in the Substrate transaction pool.", + "params": [], + "type": "TxPoolResultInspect" + }, + "status": { + "aliasSection": "txpool", + "description": "The number of Ethereum transaction that are currently in the Substrate transaction pool.", + "params": [], + "type": "TxPoolResultStatus" + } + }, + "trace": { + "filter": { + "aliasSection": "trace", + "description": "Trace Filter", + "params": [ + { + "name": "filter", + "type": "FilterRequest" + } + ], + "type": "Result>" + } + }, + "debug": { + "traceTransaction": { + "aliasSection": "debug", + "description": "Debug trace tx", + "params": [ + { + "name": "transaction_hash", + "type": "H256" + } + ], + "type": "Result>" + } + }, + "xcm": { + "injectDownwardMessage": { + "description": "Inject a downward message from the relay chain.", + "params": [ + { + "name": "message", + "type": "Vec" + } + ], + "type": "Result<()>" + }, + "injectHrmpMessage": { + "description": "Inject an HRMP message from a dedicated channel from a sibling parachain", + "params": [ + { + "name": "sender", + "type": "ParaId" + }, + { + "name": "message", + "type": "Vec" + } + ], + "type": "Result<()>" + } + }, + "moon": { + "isBlockFinalized": { + "description": "Checks if an Ethereum block is finalized", + "params": [ + { + "name": "blockHash", + "type": "Hash" + } + ], + "type": "bool" + }, + "isTxFinalized": { + "description": "Checks if an Ethereum transaction is finalized", + "params": [ + { + "name": "transactionHash", + "type": "Hash" + } + ], + "type": "bool" + } + }, + "eth": { + "feeHistory": { + "description": "Returns Ethereum fee history", + "params": [ + { + "name": "blockCount", + "type": "U256" + }, + { + "name": "newestBlock", + "type": "BlockNumber" + }, + { + "name": "rewardPercentiles", + "type": "Option>" + } + ], + "type": "FeeHistory" + }, + "maxPriorityFeePerGas": { + "description": "Returns Ethereum max priority fee per gas", + "params": [], + "type": "U256" + } + } + }, + "instances": { + "council": [ + "councilCollective" + ], + "technicalCommittee": [ + "techCommitteeCollective" + ] + }, + "types": [ + { + "minmax": [ + 0, + 4 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "RefCount": "u8", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + } + } + }, + { + "minmax": [ + 5, + 5 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + } + } + }, + { + "minmax": [ + 6, + 19 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "ValidatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "ValidatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + } + } + }, + { + "minmax": [ + 19, + 35 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + } + } + }, + { + "minmax": [ + 36, + 36 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId" + } + }, + { + "minmax": [ + 37, + 42 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + } + } + }, + { + "minmax": [ + 43, + 154 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToBottom": "Null", + "AddedToTop": "Balance" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + } + } + }, + { + "minmax": [ + 155, + 199 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + } + } + }, + { + "minmax": [ + 200, + 399 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + } + } + }, + { + "minmax": [ + 400, + 599 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + } + } + }, + { + "minmax": [ + 600, + 799 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + }, + "AssetType": { + "_enum": { + "Xcm": "MultiLocation" + } + }, + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" + }, + "ENUM_AccountKey20": { + "network": "NetworkId", + "key": "[u8; 20]" + }, + "ENUM_AccountIndex64": { + "network": "NetworkId", + "index": "Compact" + }, + "ENUM_Plurality": { + "id": "BodyId", + "part": "BodyPart" + }, + "JunctionV0": { + "_enum": { + "Parent": "Null", + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" + } + }, + "CurrencyId": { + "_enum": { + "SelfReserve": "Null", + "OtherReserve": "u128" + } + }, + "AssetRegistrarMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "isFrozen": "bool" + }, + "VestingBlockNumber": "u32", + "MultiLocation": "MultiLocationV0" + } + }, + { + "minmax": [ + 800, + 899 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + }, + "AssetType": { + "_enum": { + "Xcm": "MultiLocation" + } + }, + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" + }, + "ENUM_AccountKey20": { + "network": "NetworkId", + "key": "[u8; 20]" + }, + "ENUM_AccountIndex64": { + "network": "NetworkId", + "index": "Compact" + }, + "ENUM_Plurality": { + "id": "BodyId", + "part": "BodyPart" + }, + "JunctionV0": { + "_enum": { + "Parent": "Null", + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" + } + }, + "CurrencyId": { + "_enum": { + "SelfReserve": "Null", + "OtherReserve": "u128" + } + }, + "AssetRegistrarMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "isFrozen": "bool" + }, + "VestingBlockNumber": "u32", + "MultiLocation": "MultiLocationV1", + "JunctionV1": { + "_enum": { + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" + } + } + } + }, + { + "minmax": [ + 900, + null + ], + "types": { + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + } + } + } + ] + }, + "moonshadow": { + "alias": { + "assetManager": { + "Balance": "TAssetBalance" + }, + "xTokens": { + "Balance": "TAssetBalance" + } + }, + "rpc": { + "txpool": { + "content": { + "aliasSection": "txpool", + "description": "The detailed information regarding Ethereum transactions that are currently in the Substrate transaction pool.", + "params": [], + "type": "TxPoolResultContent" + }, + "inspect": { + "aliasSection": "txpool", + "description": "Summarized information of the Ethereum transactions that are currently in the Substrate transaction pool.", + "params": [], + "type": "TxPoolResultInspect" + }, + "status": { + "aliasSection": "txpool", + "description": "The number of Ethereum transaction that are currently in the Substrate transaction pool.", + "params": [], + "type": "TxPoolResultStatus" + } + }, + "trace": { + "filter": { + "aliasSection": "trace", + "description": "Trace Filter", + "params": [ + { + "name": "filter", + "type": "FilterRequest" + } + ], + "type": "Result>" + } + }, + "debug": { + "traceTransaction": { + "aliasSection": "debug", + "description": "Debug trace tx", + "params": [ + { + "name": "transaction_hash", + "type": "H256" + } + ], + "type": "Result>" + } + }, + "xcm": { + "injectDownwardMessage": { + "description": "Inject a downward message from the relay chain.", + "params": [ + { + "name": "message", + "type": "Vec" + } + ], + "type": "Result<()>" + }, + "injectHrmpMessage": { + "description": "Inject an HRMP message from a dedicated channel from a sibling parachain", + "params": [ + { + "name": "sender", + "type": "ParaId" + }, + { + "name": "message", + "type": "Vec" + } + ], + "type": "Result<()>" + } + }, + "moon": { + "isBlockFinalized": { + "description": "Checks if an Ethereum block is finalized", + "params": [ + { + "name": "blockHash", + "type": "Hash" + } + ], + "type": "bool" + }, + "isTxFinalized": { + "description": "Checks if an Ethereum transaction is finalized", + "params": [ + { + "name": "transactionHash", + "type": "Hash" + } + ], + "type": "bool" + } + }, + "eth": { + "feeHistory": { + "description": "Returns Ethereum fee history", + "params": [ + { + "name": "blockCount", + "type": "U256" + }, + { + "name": "newestBlock", + "type": "BlockNumber" + }, + { + "name": "rewardPercentiles", + "type": "Option>" + } + ], + "type": "FeeHistory" + }, + "maxPriorityFeePerGas": { + "description": "Returns Ethereum max priority fee per gas", + "params": [], + "type": "U256" + } + } + }, + "instances": { + "council": [ + "councilCollective" + ], + "technicalCommittee": [ + "techCommitteeCollective" + ] + }, + "types": [ + { + "minmax": [ + 0, + 4 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "RefCount": "u8", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + } + } + }, + { + "minmax": [ + 5, + 5 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + } + } + }, + { + "minmax": [ + 6, + 19 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "ValidatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "ValidatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + } + } + }, + { + "minmax": [ + 19, + 35 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + } + } + }, + { + "minmax": [ + 36, + 36 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId" + } + }, + { + "minmax": [ + 37, + 42 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + } + } + }, + { + "minmax": [ + 43, + 154 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToBottom": "Null", + "AddedToTop": "Balance" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + } + } + }, + { + "minmax": [ + 155, + 199 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + } + } + }, + { + "minmax": [ + 200, + 399 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + } + } + }, + { + "minmax": [ + 400, + 599 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + } + } + }, + { + "minmax": [ + 600, + 799 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + }, + "AssetType": { + "_enum": { + "Xcm": "MultiLocation" + } + }, + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" + }, + "ENUM_AccountKey20": { + "network": "NetworkId", + "key": "[u8; 20]" + }, + "ENUM_AccountIndex64": { + "network": "NetworkId", + "index": "Compact" + }, + "ENUM_Plurality": { + "id": "BodyId", + "part": "BodyPart" + }, + "JunctionV0": { + "_enum": { + "Parent": "Null", + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" + } + }, + "CurrencyId": { + "_enum": { + "SelfReserve": "Null", + "OtherReserve": "u128" + } + }, + "AssetRegistrarMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "isFrozen": "bool" + }, + "VestingBlockNumber": "u32", + "MultiLocation": "MultiLocationV0" + } + }, + { + "minmax": [ + 800, + 899 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { + "owner": "AccountId", + "amount": "Balance" + }, + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } + }, + "Range": "RangeBalance", + "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" + }, + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + }, + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" + }, + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } + }, + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } + }, + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" + }, + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + }, + "AssetType": { + "_enum": { + "Xcm": "MultiLocation" + } + }, + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" + }, + "ENUM_AccountKey20": { + "network": "NetworkId", + "key": "[u8; 20]" + }, + "ENUM_AccountIndex64": { + "network": "NetworkId", + "index": "Compact" + }, + "ENUM_Plurality": { + "id": "BodyId", + "part": "BodyPart" + }, + "JunctionV0": { + "_enum": { + "Parent": "Null", + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" + } + }, + "CurrencyId": { + "_enum": { + "SelfReserve": "Null", + "OtherReserve": "u128" + } + }, + "AssetRegistrarMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "isFrozen": "bool" + }, + "VestingBlockNumber": "u32", + "MultiLocation": "MultiLocationV1", + "JunctionV1": { + "_enum": { + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" + } + } + } + }, + { + "minmax": [ + 900, + null + ], + "types": { + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + } + } + } + ] + }, + "mybank.network Testnet": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Token": "u8", + "DEXShare": "(u8, u8)", + "CurrencyId": { + "_enum": { + "Token": "Token", + "DEXShare": "DEXShare" + } + }, + "TradingPair": "(CurrencyId, CurrencyId)", + "CurrencyIds": { + "_": "Vec" + }, + "TradingPairProvisionParameters": { + "min_contribution": "(Balance, Balance)", + "target_provision": "(Balance, Balance)", + "accumulated_provision": "(Balance, Balance)", + "not_before": "BlockNumber" + }, + "TradingPairStatus": { + "_enum": { + "NotEnabled": null, + "Provisioning": "TradingPairProvisionParameters", + "Enabled": null + } + }, + "PoolId": "CurrencyId", + "Price": "FixedU128", + "OracleKey": "u8", + "OracleValue": "FixedU128", + "Amount": "i128", + "Balance": "u128", + "Ratio": "FixedU128", + "InterestInfo": { + "critical_point": "Ratio", + "base": "Ratio", + "slope_1": "Ratio", + "slope_2": "Ratio" + }, + "AssetPoolInfo": { + "maximum_total_debit_ratio": "Ratio", + "minimum_deposit": "Balance", + "minimum_debit": "Balance", + "health_ratio": "Ratio", + "total_deposit": "Balance", + "total_debit": "Balance", + "deposit_rate": "Ratio", + "debit_rate": "Ratio", + "deposit_apy": "Ratio", + "debit_apy": "Ratio", + "reserve_factor": "Ratio", + "interest_info": "InterestInfo" + }, + "LoanInfo": { + "deposit": "Balance", + "debit": "Balance" + }, + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "u64" + }, + "PoolInfo": { + "total_shares": "Compact", + "total_rewards": "Compact", + "total_withdrawn_rewards": "Compact" + } + } + } + ] + }, + "neatcoin": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Label": "Vec", + "Name": "Vec