diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 000000000000..481d65081a97 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,18 @@ +checks: + argument-count: + config: + threshold: 5 + method-complexity: + config: + threshold: 7 + method-count: + config: + threshold: 25 + method-lines: + config: + threshold: 30 + +exclude_patterns: +- "**/*.spec.js" +- "**/*.spec.ts" +- "packages/apps-config/src/api/**/*.ts" diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 4957eecb4ab5..feee01c6b21e 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps authors & contributors +// Copyright 2017-2022 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 const base = require('@polkadot/dev/config/eslint.cjs'); diff --git a/.github/chain-endpoints.md b/.github/chain-endpoints.md index d1b6b4db6f1e..81a9d1a1bd63 100644 --- a/.github/chain-endpoints.md +++ b/.github/chain-endpoints.md @@ -1,6 +1,6 @@ --- title: Unavailable chain endpoints -labels: ['ci'] +labels: ['ci', '@apps-config'] --- cc @polkadot-js/notifications diff --git a/.github/chain-types.md b/.github/chain-types.md index 4774398317ad..005fb84680e8 100644 --- a/.github/chain-types.md +++ b/.github/chain-types.md @@ -1,6 +1,6 @@ --- title: Outdated chain types -labels: ['ci'] +labels: ['ci', '@apps-config'] --- cc @polkadot-js/notifications diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index ba1cf70adb67..35934d5e3bff 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -9,7 +9,7 @@ jobs: if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)" runs-on: ubuntu-latest steps: - - uses: jacogr/action-approve@795afd1dd096a2071d7ec98740661af4e853b7da + - uses: jacogr/action-approve@9d6ce78d26f23ad29d009d034822cf773f2cb50e with: authors: jacogr labels: -auto diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index dd61ab9903b5..cd3b7fc5da8f 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -8,9 +8,9 @@ jobs: merge: runs-on: ubuntu-latest steps: - - uses: jacogr/action-merge@d2d64b4545acd93b0a9575177d3d215ae3f92029 + - uses: jacogr/action-merge@3b4b49af8a8644bf5cbb5409ee236abe04eeb1b0 with: - checks: pr (build:code),pr (build:i18n),pr (build:electron),pr (lint),pr (test) + checks: build:code,build:i18n,build:electron,lint,test labels: -auto strategy: squash token: ${{ secrets.GH_PAT_BOT }} diff --git a/.github/workflows/chain-endpoints.yml b/.github/workflows/chain-endpoints.yml index f262dd8d20ac..b8af28720d43 100644 --- a/.github/workflows/chain-endpoints.yml +++ b/.github/workflows/chain-endpoints.yml @@ -1,17 +1,13 @@ name: Chain endpoints on: schedule: - - cron: '50 0/12 * * *' + - cron: '45 0/12 * * *' jobs: - endpoints: - if: github.repository == 'polkadot-js/apps' + types: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 'lts/*' + - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e - name: check env: CI_LOG: 123 @@ -21,7 +17,7 @@ jobs: - name: issue if: ${{ failure() }} - uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd + uses: JasonEtco/create-an-issue@v2 env: GITHUB_TOKEN: ${{ secrets.GH_PAT_BOT }} with: diff --git a/.github/workflows/chain-types.yml b/.github/workflows/chain-types.yml index 2f872a78bfc1..9ec21dce8ab4 100644 --- a/.github/workflows/chain-types.yml +++ b/.github/workflows/chain-types.yml @@ -7,10 +7,7 @@ jobs: types: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 'lts/*' + - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e - name: check env: CI_LOG: 123 @@ -20,7 +17,7 @@ jobs: - name: issue if: ${{ failure() }} - uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd + uses: JasonEtco/create-an-issue@v2 env: GITHUB_TOKEN: ${{ secrets.GH_PAT_BOT }} with: diff --git a/.github/workflows/dev.yaml b/.github/workflows/dev.yaml index 923a6282c610..5f7372163c1b 100644 --- a/.github/workflows/dev.yaml +++ b/.github/workflows/dev.yaml @@ -10,7 +10,7 @@ jobs: uses: Cerebellum-Network/reusable-workflows/.github/workflows/build-and-upload-static.yaml@1.0.0 with: runs-on: '["self-hosted", "cere-network-large-workers"]' - build_container: 'node:lts-buster' + build_container: 'node:14-buster' deploy_container: 'ubuntu:20.04' install_packages_command: 'yarn install' build_command: 'yarn build' diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 5908b53843d0..42d0f6769af4 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -8,7 +8,7 @@ jobs: lock: runs-on: ubuntu-latest steps: - - uses: dessant/lock-threads@c1b35aecc5cdb1a34539d14196df55838bb2f836 + - uses: dessant/lock-threads@f1a42f0f44eb83361d617a014663e1a76cf282d2 with: github-token: ${{ secrets.GH_PAT_BOT }} issue-lock-inactive-days: '7' diff --git a/.github/workflows/pr-any.yml b/.github/workflows/pr-any.yml index 8e79a34f1405..7676ebb4c1ba 100644 --- a/.github/workflows/pr-any.yml +++ b/.github/workflows/pr-any.yml @@ -3,16 +3,13 @@ on: [pull_request] jobs: pr: - continue-on-error: true strategy: matrix: step: ['lint', 'test', 'build:code', 'build:i18n', 'build:electron'] + name: ${{ matrix.step }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 'lts/*' + - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e - name: ${{ matrix.step }} run: | yarn install --immutable | grep -v 'YN0013' diff --git a/.github/workflows/prod.yaml b/.github/workflows/prod.yaml index 79a232ddbed2..446a9e5a825d 100644 --- a/.github/workflows/prod.yaml +++ b/.github/workflows/prod.yaml @@ -1,6 +1,5 @@ name: Release to prod on: - workflow_dispatch: push: branches: - master @@ -10,7 +9,7 @@ jobs: uses: Cerebellum-Network/reusable-workflows/.github/workflows/build-and-upload-static.yaml@1.0.0 with: runs-on: '["self-hosted", "cere-network-large-workers"]' - build_container: 'node:lts-buster' + build_container: 'node:14-buster' deploy_container: 'ubuntu:20.04' install_packages_command: 'yarn install' build_command: 'yarn build' diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index be20c3e70876..8501ca00c564 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -11,23 +11,21 @@ jobs: strategy: matrix: step: ['build:release:www'] + name: ${{ matrix.step }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e with: fetch-depth: 0 - token: ${{ secrets.GH_PAT_BOT }} - - uses: actions/setup-node@v3 - with: - node-version: 'lts/*' + token: ${{ secrets.GH_PAT }} - name: ${{ matrix.step }} env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }} CRUST_SEEDS: ${{ secrets.CRUST_SEEDS }} GH_PAGES_SRC: packages/apps/build - GH_PAT: ${{ secrets.GH_PAT_BOT }} - GH_RELEASE_GITHUB_API_TOKEN: ${{ secrets.GH_PAT_BOT }} + GH_PAT: ${{ secrets.GH_PAT }} + GH_RELEASE_GITHUB_API_TOKEN: ${{ secrets.GH_PAT }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }} PINATA_SECRET_KEY: ${{ secrets.PINATA_SECRET_KEY }} @@ -38,12 +36,10 @@ jobs: # only run on "CI skip", i.e. when the actual version has been bumped to release/stable docker: if: "startsWith(github.event.head_commit.message, '[CI Skip] release/stable')" + name: docker runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 'lts/*' + - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e - name: docker env: DOCKER_PASS: ${{ secrets.DOCKER_PASS }} @@ -57,38 +53,36 @@ jobs: matrix: os: [macos-latest, ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} + name: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 - with: - token: ${{ secrets.GH_PAT_BOT }} - - uses: actions/setup-node@v3 - with: - node-version: 'lts/*' - - name: Prepare for app notarization (macOS) - if: startsWith(matrix.os, 'macos') - # Import Apple API key for app notarization on macOS - run: | - mkdir -p ~/private_keys/ - echo '${{ secrets.API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.API_KEY_ID }}.p8 - - name: Build/release Electron app - uses: samuelmeuli/action-electron-builder@v1 - with: - # Base64-encoded code signing certificate for macOS - mac_certs: ${{ secrets.MAC_CERTS }} - # Password for decrypting `mac_certs` - mac_certs_password: ${{ secrets.MAC_CERTS_PASSWORD }} - # Base64-encoded code signing certificate for Windows - windows_certs: ${{ secrets.WINDOWS_CERTS }} - # Password for decrypting `windows_certs` - windows_certs_password: ${{ secrets.WINDOWS_CERTS_PASSWORD }} - # GitHub token, automatically provided to the action - # (No need to define this secret in the repo settings) - github_token: ${{ secrets.GITHUB_TOKEN }} - build_script_name: build:release:electron - # If the commit is tagged with a version (e.g. "v1.0.0"), - # release the app after building - release: ${{ startsWith(github.ref, 'refs/tags/v') }} - env: - # macOS notarization API key - API_KEY_ID: ${{ secrets.API_KEY_ID }} - API_KEY_ISSUER_ID: ${{ secrets.API_KEY_ISSUER_ID }} + - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e + with: + token: ${{ secrets.GH_PAT }} + - name: Prepare for app notarization (macOS) + if: startsWith(matrix.os, 'macos') + # Import Apple API key for app notarization on macOS + run: | + mkdir -p ~/private_keys/ + echo '${{ secrets.API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.API_KEY_ID }}.p8 + - name: Build/release Electron app + uses: samuelmeuli/action-electron-builder@v1 + with: + # Base64-encoded code signing certificate for macOS + mac_certs: ${{ secrets.MAC_CERTS }} + # Password for decrypting `mac_certs` + mac_certs_password: ${{ secrets.MAC_CERTS_PASSWORD }} + # Base64-encoded code signing certificate for Windows + windows_certs: ${{ secrets.WINDOWS_CERTS }} + # Password for decrypting `windows_certs` + windows_certs_password: ${{ secrets.WINDOWS_CERTS_PASSWORD }} + # GitHub token, automatically provided to the action + # (No need to define this secret in the repo settings) + github_token: ${{ secrets.GITHUB_TOKEN }} + build_script_name: build:release:electron + # If the commit is tagged with a version (e.g. "v1.0.0"), + # release the app after building + release: ${{ startsWith(github.ref, 'refs/tags/v') }} + env: + # macOS notarization API key + API_KEY_ID: ${{ secrets.API_KEY_ID }} + API_KEY_ISSUER_ID: ${{ secrets.API_KEY_ISSUER_ID }} diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml new file mode 100644 index 000000000000..40c23dc266c3 --- /dev/null +++ b/.github/workflows/semgrep.yml @@ -0,0 +1,18 @@ +name: Semgrep +on: + pull_request: {} + push: + branches: + - master + +jobs: + check: + if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e + - uses: returntocorp/semgrep-action@aeafd770072c4f48798b991e3449592bddc2c435 + with: + auditOn: push + publishToken: ${{ secrets.SEMGREP_APP_TOKEN }} + publishDeployment: 1395 diff --git a/.github/workflows/stage.yaml b/.github/workflows/stage.yaml index 7f945cbeb694..85c03b86a5fb 100644 --- a/.github/workflows/stage.yaml +++ b/.github/workflows/stage.yaml @@ -1,6 +1,5 @@ name: Release to stage on: - workflow_dispatch: push: branches: - 'release/**' @@ -11,7 +10,7 @@ jobs: uses: Cerebellum-Network/reusable-workflows/.github/workflows/build-and-upload-static.yaml@1.0.0 with: runs-on: '["self-hosted", "cere-network-large-workers"]' - build_container: 'node:lts-buster' + build_container: 'node:14-buster' deploy_container: 'ubuntu:20.04' install_packages_command: 'yarn install' build_command: 'yarn build' diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000000..8ae958e7204b --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,17 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '50 2/3 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@98ed4cb500039dbcccf4bd9bedada4d0187f2757 + with: + repo-token: ${{ secrets.GH_PAT_BOT }} + stale-issue-message: 'This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days.' + stale-issue-label: 'stale' + exempt-issue-labels: '-size-l,-size-m,-size-s,-size-xl,-size-xs,[bug],ci,' + days-before-stale: 21 + days-before-close: 7 diff --git a/.github/workflows/test-nightly.yml b/.github/workflows/test-nightly.yml index b1bc14de468d..62f81292971f 100644 --- a/.github/workflows/test-nightly.yml +++ b/.github/workflows/test-nightly.yml @@ -12,10 +12,7 @@ jobs: name: ${{ matrix.step }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 'lts/*' + - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e - name: ${{ matrix.step }} run: | yarn install --immutable | grep -v 'YN0013' diff --git a/.prettierrc.cjs b/.prettierrc.cjs index 97536bc03ce5..b666884a4aa3 100644 --- a/.prettierrc.cjs +++ b/.prettierrc.cjs @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps authors & contributors +// Copyright 2017-2022 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 module.exports = require('@polkadot/dev/config/prettier.cjs'); diff --git a/CHANGELOG.md b/CHANGELOG.md index 76305dde1d00..6e556a4538be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ ## vNext ... +## 0.23.0 +- Reverted to commit `f778359c` (between tags `v0.121.1` and `v0.122.1` of Polkadot-JS Apps) to align with our node version and fix the Smart Contract Page + ## 0.22.0 - Added Cere Mainnet link to PolkassemblyIo diff --git a/CONTRIBUTORS b/CONTRIBUTORS index a85f0273d6b9..18277bed0cf1 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1,83 +1,73 @@ - 4216 Jaco Don't work around packaging issues, remove usage of them (#9243) + 3794 Jaco Allow deposit referendum refunds (#8160) 79 Thibaut Sardan Nit, use as LedgerTypes casting (#4425) 62 kwingram25 iadd fix (#2911) 48 pan update bifrost providers (#8065) 46 Antoine Estienne Update moonbeam endpoints and moonbase logo and color (#6890) 41 MiZiet Apply styles to the unbonding icon (#6314) - 31 Joakim Nyman Added Dwellir endpoint for Darwinia Crab on Kusama. (#9143) 31 Stefanie Doll Set higher default gas limit, switch from bitlength u32 to u128 for input fields (#2743) 29 Ewa Kowalska Style badges in accounts list (#6208) - 26 Yiwei Li Remove OnFinality endpoint for Westmint due to instability (#9233) 25 Aleksandr Krupenkin Added Shiden Crowdloan 2 (#7426) 25 Krzysztof Jelski Increase UI test timeouts and mark interBTC unreachable (#6247) 25 Luke Schoen fix typo kusama (#3083) 24 brenzi Encointer rococo para setup as teleporter (#7160) 24 sxlwar crab config (#6995) - 24 WoeOm feat: subscan support fellowship, referenda v2 (#8987) - 23 Yongfeng LI Add statescan kusama external link (#9128) + 23 WoeOm Bump darwinia.js version (#5930) 20 Nikita Update icon and colors for Realis.Network (#6336) 18 fomod-in Update translation.json (#5942) - 18 Wei Tang Re-enable Neatcoin endpoint (#8271) 17 Frank Liu Add Onfinality endpoint for Statemint (#6513) - 17 William Freudenberger fix: rollback KILT custom type decorations (#8279) + 17 Joakim Nyman Added Dwellir RPC endpoints for Altair and Centrifuge. (#8161) + 17 Wei Tang Add missing PendingSwap type for Kulupu (#6631) 16 Xiliang Chen allow submit from Decod page (#5759) 15 Eliott Teissonniere add nodle parachain colors (#7353) - 15 Jun Jiang Update and fix Khala typedef (#8272) - 13 Gabriel Facco de Arruda Add InvArch to apps-config (#9145) - 13 lumir-mrkva HydraDX rpc added - ZeePrime (#9047) + 15 William Freudenberger feat: re-enable KILT Rococo parachain (#6963) + 14 Jun Jiang Add Phala (PoC 5) (#6959) + 14 Yongfeng LI Add statescan external links for Litentry/Litmus (#8108) 13 Miguel Hervas Adding Centrifuge OnFinality Service (#7328) - 13 Zombieliu Update Web3Games Chain Network (#8685) 12 Kun [Substrate Files] New files module (#6106) - 12 RadiumBlock Fix statemint endpoint (#9093) - 12 Stefan Popov Update SORA nodes for testing & production (#8432) - 11 Alex D added genshiro crowdloan 2 (#8210) + 12 lumir-mrkva upgraded Galactic Council RPC's (#8085) + 12 Yiwei Li Update OnFinality endpoint for Pichiu network (#8058) + 12 Zombieliu Add Web3Games network Rpc address (#7967) 11 Cheng JIANG switch to load balanced endpoints for parallel (#6056) 11 Daniel Savu Change InterBTC network name to Interlay (#6700) + 11 Gabriel Facco de Arruda Add Tinkernet Rococo (#8114) 11 Kodeist add robonomics and integritee ksm endpoints (#8087) 11 lumir-mrkva refactored lbp types updated (#6504) 11 Nikos Kontakis Add support of light client to rococo (#7363) - 11 qwer951123 update acala types (#8394) 11 Ross Bulat Substrate tab theme adjustment (#939) 11 Sam Elamin use the same paraid as kusama (#7829) + 11 Stefan Popov Add SORA Rococo Parachain & Kusama Parachain (#7870) + 10 Alex D update genshiro defs (#8002) 10 Greg Zaitsev Update Unique Network and Quartz by Unique endpoints (#7689) 10 Nantian add karura (#5441) - 10 Oleh Mell Move Subsocial RPC from Kusama to Polkadot (#9218) + 10 qwer951123 Add Acala Parachain (#6496) 10 zzcwoshizz rm elara endpoint (#6778) 9 Chevdor Add doc related to IPFS and pinning (#2788) - 9 darkfriend77 fix: bad logo after PR 8941 (#8947) 9 Jay Fix darwinia parachain subscan link (#8084) 8 frank Add Live Network Odyssey (#7866) - 8 Gonza Montiel make pendulum reachable (#9014) 8 Greg Hill split interlay and kintsugi testnets (#7927) 8 Hging Add MathChain mainnet support (#6214) 8 illlefr4u new additions to Russian translation (#2948) 8 Jakub Jóźwiak Code signing and Notarization (#2794) - 7 abhath-labs [fix] Update Bitgreen urls (#8866) 7 alanchang124 add onfinality endpoint for acala mandala tc7 (#7615) - 7 albertov19 modified UnitedBloc endpoints (#9244) + 7 darkfriend77 added ajuna network parathread (#8033) 7 Drew Stone Update production.ts (#5757) - 7 icodezjb Update OmniBTC wss url (#8678) 7 Justin Pham Add Bit.Country Pioneer Network to Kusama Relay (#6356) - 7 Kai Update litentry logo and metadata (#9203) 7 Logan Saether Add Zeitgeist para config (#6628) + 7 Oleh Mell Clean subsocial info and add testnets(rococo and solochain) (#7374) 6 Ayush Mishra Added configuration for DataHighway Tanganika (#7285) - 6 Carl chore: update network list in Subscan config (#9192) 6 Daniel Yamuza Swap yes/no (voting) to Toggle (#2519) 6 Dominik Harz refactor: update testnet URL (#7013) 6 Eric Update `paraId` for long-term slot on Rococo (#8129) 6 hoangnl update polkasmith title (#5560) 6 Hoon Kim remove dusty test network (#6912) + 6 icodezjb Update chainx parachain endpoint (#6699) 6 Ivan Rukhavets Update README.md for electron apps (#3362) 6 Joshy Orndorff clarify conviction locking (#6008) 6 mateuszaaa replace outdate mangata testnet with rococo testnet (#7710) - 6 Nikhil Ranjan WeightsV2 support for contracts pallet (#8538) 6 Nizar L Firmansyah Update Bahasa Indonesia Translation (#3823) 6 NZT48 Enable OriginTrail Parachain for Polkadot and update OriginTrail Parachain Testnet (#7674) 6 pangwa update clover types (#6852) - 6 Pierre Besson update Parity's Rockmine RPC URL (#8237) - 6 Rob Thijssen update manta para id and provider endpoint (#9208) 6 stanly-johnson Update rocfinity paraId (#7094) - 6 vol4tim updated paraId for Robonomics crowdloan 2 (#8607) 6 WBH feat: update logo of omnibtc (#7880) 6 Will Ryan Update Creditcoin logos (#7573) 6 YJ change button ordering (#345) @@ -88,23 +78,18 @@ 5 chenwei Add logo to SubDAO. (#5020) 5 Christian Groeschel DataHighway mainnet westlake (#5066) 5 FreePoi remove support of karura by elara (#6639) - 5 Harald Heckmann Move Zeitgeist to Polkadot (#9086) - 5 Ismail Mbarack (Nas) updated Darwinia crab RPC (#9166) - 5 James Bayly Added OnFinality endpoints after testing liveness against GitHub checks (#9084) + 5 Kai adjust litentry-rococo color (#7830) 5 Lovesh Harchandani Update types (#5499) - 5 marco feat: add subzero (#8657) 5 Marko Petrlić Update Ternoa logo and mainnet name (#7758) 5 Marni trying to get mapping of nominators correct (#346) 5 Masterdubs Add KSI and SDX bridge type (#7185) 5 Masterdubs update and clean galital standalone chain specs and type (#5225) 5 Michael Müller Rename `Canvas` to `Contracts` (#7633) 5 mosonyi Add new OnFinality endpoint for Integritee and remove Solo (#7628) - 5 Myron [Crust] Add crust shadow crowdloan 2 (#8185) - 5 Nazar Mokrynskyi Remove extra Subspace Gemini 2a RPC endpoints (#8438) + 5 Pierre Besson Update Rococo genesis hash (#7571) + 5 Rob Thijssen dolphin load balanced endpoint (#7667) 5 xnorly trying to improve the filtering options for target validators (#7080) - 4 Arsenii Medoev Unique Network - remove OnFinality endpoints (#9181) 4 billjhlee Update Unorthodox Kusama Parachain / Standard Westend Test Network Chain Logo (#6192) - 4 Bulat Saifullin New parachain for Kusama (#8590) 4 Caio Update Parachain ID of Zeitgeist (#5798) 4 Dee Evans DotScanner Kusama Support (#5843) 4 Gautham Update Polkadex's parade (#7303) @@ -114,78 +99,71 @@ 4 irsal Remove onfinality from Turing rpc selection (#7959) 4 Jianping Deng Update calamari crowdloan UI and Dropdown menu (#6021) 4 John Whitton Update EAVE Parachain id for Rococo (#5286) - 4 Leemo Updated Robonomics RPCs (#8329) 4 Luke Sugiura Refactor Backup component with hooks (#1927) 4 Marcin Wachulski Account row collapsible row details (#5894) - 4 marco feat: add subzero (#8657) - 4 Max Gravitt adding Hashed Network endpoint back and removing Luhn Network (#9100) + 4 marco feat: add zero alphaville (#7769) + 4 marco feat: add zero alphaville (#7769) 4 mn13 update actual equilibrium version (#6836) - 4 Pavel Sheremetev Add DAO IPCI endpoint (#8223) + 4 Myron Add crust testnet into rococo (#7905) + 4 Nazar Mokrynskyi Add Subspace Gemini 2a endpoints (#8099) + 4 Nikhil Ranjan Polkassembly links (#7839) 4 philipstanislaus Upgrade Centrifuge types (#2428) - 4 Rishi Karthikeyan Removed pinknode enpoints. (#9018) - 4 Shankar D. Warang Update production.ts (#8332) + 4 RadiumBlock Adding RadiumBlock statemint endpoint (#8071) 4 toxotguo Add ChainX endpoints hosted by Patract Elara (#4582) - 4 Yashiro Add crust parachain endpoint (#8770) - 3 1xstj [fix] update tangle rococo url (#9024) - 3 Adam Dossa Fix `Option` encoding (#8336) + 4 vol4tim Update color and logo robonomics (#6807) 3 Alex Siman Add name, color and url of Subsocial parachain (#5006) 3 alexdniep added Genshiro as kusama parachain; fixed colors and logos (#5417) - 3 alexkdefi Endpoint change picasso (#8412) 3 Andreea Eftene change chain name (#7114) - 3 Anthony Lazam Add Polkadot Bridgehub (#8985) 3 bari remote uniarts's isUnreachable (#6027) 3 Benjamin Lau Added Pinknode Endpoints (#5935) 3 benjichat Remove Dwellir endpoints for Composable and Picasso (#8158) 3 Bhanu Teja P Display extrinsic meta documentation on hover (#1247) 3 Bruno Škvorc Clarify signed message input (#3303) - 3 Cameron Fairchild Add bittensor nakamoto (#8618) 3 Caos Update NFTMart logo (#5815) 3 Chris D'Costa Add Totem Stagex & remove Totem Lego & Wapex networks #8144 (#8145) 3 Dmitry Selikhov Update pontem-types-bundle from 1.0.14 to 1.0.15 (#6191) 3 dushaobindoudou fix: translate to chinese (#3091) 3 Eswara Sai Added parser to extract i18n strings (#1710) - 3 Gregory Luneau Astar first wss bootnode (#8330) + 3 Gonza Montiel Add Amplitude chain node provider (#8001) 3 h4x3rotab Update Khala logo, color, and types (#5299) 3 Hyungsuk Kang Update opportunity types (#5574) 3 iiiiiiii update jupiter (#5018) 3 jasonberger0 update logo (#4612) 3 Jhon added validator/nominator flags (#4546) 3 Jiacheng Add metadata for Phala Network (#7290) - 3 Kami Replace Kusama chain logo with a high quality svg (#8660) 3 kotlarmilos Update OriginTrail Parachain on polkadotjs (#7416) - 3 lavish0000 update peaq logo (#9134) 3 Lay Hunt Update Uniarts Chain types & logo & main net (#5253) 3 Leonardo Custodio Updates Rocfinity to use Rocfinity logo instead of Efinity (#8111) - 3 Leszek Wiesner Joystream mainnet released (#8513) 3 limichange Bump @phala/typedefs version (#5709) 3 Mario Pino update PolkaStats logo (#3600) 3 Mike James Li Update bit country pioneer logo for nodes (#7980) - 3 Milos Kriz Add and update IBP endpoints (#9176) - 3 nahuseyoum Update Aventus endpoints and colors (#9121) + 3 Pavel Sheremetev FIX Robonomics paraId in Rococo (#7612) 3 Radha Add info about Bags List (#7283) - 3 Ramsey R Update domain of RPC nodes for Edgeware and Kabocha (#8168) + 3 Rishi Karthikeyan Added Pinknode Enpoints. (#7782) 3 RossAtOnfinality add OnFinality endpoint for Nodle Network (#6850) 3 RyuH1 Update automata-network type definitions (#7321) 3 Sam re-enable dock testnet endpoint (#6472) 3 shareven Change ipse specName (#5158) - 3 Shawn-Eng-888 Remove Pinknode Shibuya (#8559) 3 Squirrel Teleports to statemint are open (#7519) 3 timorl Add Aleph Zero mainnet (#6531) 3 Vincent Geddes Update @snowfork/snowbridge-types to v0.2.6 (#6255) 3 Vitaliy Add sorting for accounts view (#5923) 3 xtony77 feat: update SubGame types (#6674) 2 1devNdogs Subspace farmers network (#11) (#6675) + 2 abhath-labs add bitgreen to polkadot crowdloan (#8116) + 2 Adam Dossa Add updates for Polymesh Mainnet / Testnet (#6555) 2 akashi6824 fix PolkaFoundry color (#4985) + 2 albertov19 adds blast (#7636) 2 Albrecht chore: update WILT paraID & KILT types (#6005) 2 Alexander Popiak Add extra Input types to the UI (#2324) + 2 alexkdefi Update productionRelayPolkadot.ts (#7546) 2 André Silva Fix typo in chain specifications (#5659) - 2 Andy Smith Enable appPromotion RPC for Unique Network (#9188) 2 Anoymous Hentai Update Phala's type definition (#5131) - 2 Antonio feat: re-introduce support for chain names (#8594) - 2 Antonio chore: replace spec-based with name-based declarations for KILT (#8696) - 2 Aten Jin add altlayer's ethereum chain to `ethereumChains` (#8337) + 2 ashkuc Change chain name from "nft" to "unique" (#7998) 2 Branan Riley Re-enable Altair endpoint (#5739) 2 Btwiuse Arch Add NFTMart mainnet staking params (#6405) + 2 Bulat Saifullin remove tick trick track parachains (#6726) + 2 Carl chore: update network list in Subscan config (#8037) 2 carumusan Update commonwealth.ts (#3697) 2 Chris Li Modify OAK Testnet wss endpoint (#5446) 2 chrissoso Add Prism parachain (#5287) @@ -194,77 +172,70 @@ 2 dansoft update manta network logo (#6972) 2 david-rio feat: add RioChain live network config (#5076) 2 Dean update wss endpoint (#5093) - 2 EugenWay Vara network alive (#9215) 2 firke fix: Opportunity chain re-enabled (#7022) 2 Gilles Barnier Fix display issues on the democracy dashboard page (#7360) 2 Hanwen Cheng feat: support import with mini secret key (#2944) + 2 Harald Heckmann Add OnFinality endpoint to Zeitgeist (#7561) 2 Hayden Update Zenlink types (#4835) 2 hellotrongo fix typing error (#5140) - 2 Ignacio Palacios Add Watr Polkadot (#9061) - 2 Irman Nur Muhammad Alamsyah feat: add DeBio Network endpoint (#8478) 2 Jakub Pánik Update types for HydraDX (#5369) + 2 James Bayly Remove OnFinality's Subsocial Endpoint (#6875) 2 Jared Norris Fix Sora configuration (#6677) 2 Jegor Sidorenko NFTs page (#7144) 2 JelliedOwl (Paul) Minor DNS tweak for Kabocha RPC (not urgent) (#8091) 2 jimmy-tudeski Update add-accounts.json (#4759) 2 JimYam fix the bug that have no icon for listen in https://polkadot.js.org/apps (#7241) 2 Justin Zhou currently unreachable (#8130) - 2 LL change riodefi network (#8446) + 2 Kami Update ListNominees.tsx (#7948) + 2 Leszek Wiesner Update Joystream testnet types (Rhodes release) (#7567) 2 Lohsea Add new color and logo (#6004) 2 Maciej Nemś Change Aleph Zero Testnet name (#6145) 2 maestro779 Update translation.json (#3903) + 2 Max Gravitt Updating Rococo parachain ID for MD5 Network (#8121) 2 maxwellfoley Allow custom node URLs in settings (issue #644) (#657) 2 Michael (GP) Updating gamepower types (#5251) - 2 Min-seong Kwon Fix to use the correct logo. (thebifrost network) (#8977) 2 momo200e add new types to SubGame network (#5954) 2 mosonyi Add integritee to polkadot (#7846) 2 Muhammad Yahya Fix/display oli logo (#7886) 2 Muhammad Zoaib activating arctic again with correct endpoint (#7791) + 2 nahuseyoum Update paraID for Aventus to match mainnet (#8103) 2 Nikita Polyakov update type defenitions to 1.8.30 (#7488) - 2 NingBo Wang Update bifrost rococo paraId (#8232) - 2 Nisheeth Barthwal display discord identity in profile sidebar (#9185) 2 qinghuan add chainx rococo node (#4772) - 2 sander2 fix: add account derive (#8683) - 2 Serban Iorga Add bridge hub logos (#8883) + 2 Ramsey R Kabocha updates for Kusama and Rococo (#8149) + 2 Shankar D. Warang Typo: elpased -> elapsed (#4110) 2 sharkygg add subdao test and polkadot parachain network; (#6515) 2 Shawn Tabrizi allow dissolve by anyone when ended (#7184) + 2 Shawn-Eng-888 Remove Pinknode Polkadex Endpoint (#7843) 2 Shumo Chu Manta crowdloan (#6493) 2 Shunsuke Watanabe Added Astar/Shiden WS endpoint (#7960) 2 Sonal Banerjii Add bengali translation (#7422) 2 superpw minor fix for button/sliders colors (#4715) - 2 Teodorus Nathaniel Set provider for subsocial to only para.subsocial.network (#8868) 2 Toney change chainid from 128 to 2048 for apron (#5081) 2 usetech-llc Fix unique types import (#4764) 2 VladSemenik change Equilibrium production relay polkadot provider (#7323) - 2 Wil Wade Add Frequency Mainnet (#8398) 2 Will Update homepage for Shiden Network (#7464) 2 Witek Make Efinity reachable productionRelayPolkadot.ts (#6580) + 2 Yashiro Hotfix files upload progress style (#6997) 2 Yashiro Add crust mainnet endpoint (#5929) 2 Yuri Gii update singular url to singular v2 (#7888) 2 zhenfei updating `Manta Network` parachain ID (#5149) 1 0xrust Add snow to kusama endpoint option array (#7893) - 1 0xSamsara Added Samsara RPC to Robonomics parachain (#8240) - 1 3ierratango add ferrum network (#8877) - 1 abhi fix text and isUnreachable properties for SNOW Network (#8252) + 1 1xstj add eggnet to rococo (#7918) 1 Adam new edeware logo and color (#6249) 1 Aidan Starke Add `Root Network` types (#8034) 1 Albert Apply Nunito fonts globally (#3882) - 1 Alex Add Curio parachain (#9183) 1 Alex Sedighi Update URL for Nodle Testing Parachain on Rococo (#7810) - 1 Alex Won support ethereum compatibility for bifrost network (#8733) - 1 Alexander Wilke add t3rn parachain (#9195) 1 Alexey Rename SORA-staging Node to Sora (#5084) 1 Alistair Singh Add Rococo Snowbridge (#7630) 1 Anakorn Tata Kyavatanakij fix SummaryBar (#1981) 1 Andrew Jones Fix upload and deploy contract(s) after rename (#1346) - 1 Andy Bell Dali to Picasso (#9102) - 1 Anthony Chan fix the cess testnet logo wrong bug (#8649) - 1 Ayush Ethos added to Rococo (#8571) + 1 Anthony Lazam Add new RPC for common parachain (#7882) + 1 Antonio chore: update KILT types to v0.2 (#8094) + 1 Aten Jin add altlayer's ethereum chain to `ethereumChains` (#7826) 1 Bart200c add kylin network (#7865) 1 Bill Laboon Add explanation that Docker port is 80 (#1480) 1 BoBin Add subscan rococo extra link (#4439) 1 Bobo type def update (#6612) - 1 BOBOKaa update ipfs endpoint domain (#8686) 1 Bojian Ho Added fantour network config (#5764) 1 Boyquotes Fix FR translation (#7817) 1 Brandon Kite Support for optional usage of pallet_balance (#2578) @@ -274,13 +245,10 @@ 1 CherryLiang show play/stop button (#1804) 1 chiefbiiko Add t0rn Rococo parachain (#7443) 1 Chris Ganga use selected theme in the validator stats page (#5391) - 1 clangenb Add custom signed extension for the enconter chains and update encointer types. (#8425) 1 composerpeter Added Composable Finance (#6685) - 1 cr4pt0 Update Pendulum chain logo (#8530) 1 crownsterlingllc Add Production Crown Sterling blockchain (#6097) 1 cuardaigh add virto-network parachain to rococo (#7582) 1 Dan Forbes Add block number to events on explorer page (#2759) - 1 Daniel Maricic add idiyanale to testing relay rococo (#9000) 1 ddorgan Fix container build (#1456) 1 ddorgan Initial commit of kubernetes deployment (#616) 1 Dean mybank.network (#5024) @@ -289,11 +257,9 @@ 1 Dmytro Filippov Targets page: fix validators sorting (#6886) 1 Eddie Machado not truncating the address (#4311) 1 Emilio Silva Schlenker [#943] Make hash/number query available globally to explorer (#1111) - 1 Emmanuel Thomas add kaizen endpoint to apps-ui (#9022) 1 equilibrium-de updates genshiro info (#6412) 1 fadomire Fix translations loading for ever (#5282) 1 fixxxedpoint Changed THRESHOLD in useBlockTime so chains that uses values smaller than 1s for the MinimumPeriod (pallet_timestamp) parameter are displayed correctly (#6045) - 1 FOB Fix Polymesh types bundle to use correct specNames and update branding (#9182) 1 Fr4ctalbit Turn Submit proposal tab into a modal (#1698) 1 Francesco Occhipinti [CI Skip] update the remote server location, closes #487 (#492) 1 Francisco Gamundi Updated Moonbeam Foundation's Moonriver endpoint (#7028) @@ -302,7 +268,6 @@ 1 George Angelopoulos typo fix (#5704) 1 Georgi Zlatarev Dolphin parachain on Rococo (#7401) 1 Gerawork Aynekulu Update RILT paraId (#7736) - 1 Giovanni Petrantoni Add Fragnova mainnet and testnet (#9198) 1 gojazdev feat(apps-config): introduce Jaz node (#7805) 1 goldsteinsveta Style bug fix: Balances asset selector (#6668) 1 green-jay add hydradx rococo (#8154) @@ -314,6 +279,7 @@ 1 Harry Liu Update README.md (#1437) 1 Henry Bump moonbeam-types-bundle version in apps-config to fix some missing types (#8008) 1 Ian He add onfinality endpoint for polkadot and kusama (#4070) + 1 Ignacio Palacios Add Watr Rococo (#8122) 1 igorgogo Add Spanner (#6058) 1 imam hermawan add myriad endpoint (#7792) 1 Jake Naviasky Bump edgeware types version for new testnet. (#3825) @@ -327,10 +293,8 @@ 1 Jun Zhang Update translation.json (#4508) 1 Kai Fix broken contract deployment function (#1643) 1 kaichao Refresh zh translations (#3322) - 1 kamrangul2404 Add krest parachain (kusama) (#9079) 1 Kerwin Zhu fix Chinese translation of 'comm.' (#4464) 1 Kevin Gislason add manta testnet (#5355) - 1 Kirill Shirobokov ru translations for page-accouts are added (#9219) 1 KkenWv Add KICO logo and endpoint (#6906) 1 KRogLA sub accounts search fix (#2572) 1 kyilkhor feat: Moonsama Development parachain on Rococo (#7014) @@ -339,41 +303,31 @@ 1 lreesby Turing added to Rococo (#7603) 1 lulu Update Ares Protocol parachain ID (#5160) 1 LusWar Update Phala testnet (PoC2 => PoC3) (#4148) - 1 marcin Update t0rn websocket endpoint (#8823) 1 Marcin Żółkiewski Expose signed transactions (#2203) 1 Marin Petrunić add Vedran westend provider (#4674) 1 mark hayward Accounts typo (#4673) 1 Matej Nemček Removed broken link to app-nodeinfo from README (#1392) 1 Maxim Surkov Update sora library version (#4918) 1 Meghashyam Kodmad updated react-dropzone to 10.1.9 (#1682) - 1 Michal Danco remove onfinality url from mangata (#9237) 1 Mickaël Canu fix error on validator word (#7110) 1 Mickael Faust Added TerraBioDAO to the GM nodes list (#8010) - 1 Mike Godenzi Acurast added to Rococo (#8546) - 1 Mikhail Fedosov feat: add 3dpass network (#8540) 1 mikolajsobolewski Added Equilibrium Test Network logos & endpoints (#3792) - 1 MinjieTian deleted onfinality ajuna endpoint (#8848) 1 Mokhtar Naamani Fix app-accounts Restore feature (#761) 1 motinados fill in all empty values in all languageCaches. (#3606) - 1 MOZGIII Add Humanode network endpoint and logo (#8919) 1 Nantian update acala rpc (#6704) 1 nasa8x Add GeekCash testnet, logo, color (#5265) 1 NightingaleAsh Add loom network kusama (#5591) 1 Nikhil Saboo Add Zeitgeist battery station endpoint (#6265) 1 Nikolay Pasynkov Enable Opal by Unique (#7833) - 1 octavei add aband info (#8929) + 1 NingBo Wang Add miniX node (#7122) 1 ok.man update-mandala (#6785) - 1 Owen add kico2 (#8374) 1 paulhealy09 Update Unit Network logo (Thanks to https://github.com/unit-network) (#5027) 1 Pavel Added new community node for SORA (#5600) 1 Peter Chung Align Sig Validity Indicator (#1660) (#1697) - 1 Peter White Small fixes to provide council page compatibility (#8791) 1 Pierre Krieger Update translation.json (#6266) 1 Pierre-Luc Gagné Added a warning popup at account creation for seed backup (#325) - 1 Polkassembly Added fellowship refrenda (#9135) 1 Preschian Febryantara add KodaDot logo (#7151) 1 Puneet Saraswat Frequency rococo (#8076) - 1 Qinxuan Chen Add frontier template into ethereum chains (#9202) 1 Radka Gettová Make Block Hash "Hover to Copy"-able (#458) 1 Raoul Millais Upgrade @substrate/connect@0.3.16 (#5855) 1 Raphael Flechtner chore: use new kilt logo (#5649) @@ -381,7 +335,6 @@ 1 Raymond Zhong Add types for beresheet runtime (#5576) 1 Ricardo Rius Update stable poc types (#3783) 1 robcxyz Add geometry labs endpoints for polkadot and kusama (#6477) - 1 Robert Gabriel Jakabosky Support BTreeSet. (#9206) 1 Robin Syihab Fix typo in ID translation (#5865) 1 Rocco Musolino italian translation typo fix (#3813) 1 Saad Reskinning Composable Finance/Picasso Portal Colors (#7696) @@ -389,7 +342,6 @@ 1 Satyam Agrawal Add Polymesh ITN Provider (#5242) 1 Sergei Lonshakov Robonomics ParaID 2077 added (#5706) 1 Shailesh B Nair Add KlugDossier (#5456) - 1 Shamil Move Vara from Live networks to Test networks (#8295) 1 Shaun Wang Fix spelling: Javascript -> JavaScript. (#4698) 1 Shunfan Zhou Re-enable Phala (PoC 5) Testnet (#7462) 1 SimonKraus fix(staking): fix typo (#4926) @@ -402,17 +354,13 @@ 1 Subsocial Specify the custom types for Subsocial parachain (#5009) 1 tarrball Grammar fix in staking tooltip (#6727) 1 Teddy Rogers Add CESS Testnet to TEST NETWORK (#7908) - 1 Tom Add stake.plus rpc endpoints for westend, kusama, polkadot (#8291) - 1 Tommy Remove OnFinality from Efinity providers (#8744) + 1 Teodorus Nathaniel Add subid link to bit country chain (#8097) 1 Tore19 Added Stafi Network logos & endpoints (#3683) - 1 Toufeeq Pasha Added GIANT parachain to rococo network (#9034) - 1 unitpdw unitlogo changes 1 (#8335) 1 Vadim fix overflow issue in extensions table (#7767) 1 valentunn Fix Kusama name in ru translation (#7498) 1 Vasylenko Yevhen Add Subzero Rococo parachain (#7919) 1 Vedhavyas Singareddi enable subscan external link for centrifuge (#4307) 1 Vlad Proshchavaiev Add Subsocial into apps-config (#3523) - 1 Vladimir Pouzanov Allow to run with isDevelopment on ethereum-like chains (#9227) 1 Vladyslav Samchuk Enable sub.id link (#7806) 1 Wenfeng Wang Added Phala PC1 Rococo V1 endpoint (#4468) 1 willeslau Add Konomi Network chain info to Rococo (#5171) @@ -423,10 +371,8 @@ 1 xsteadybcgo feat: update statemine & westmint config (#5476) 1 y Add Phoenix parachain (#4939) 1 YessineAmor add ar translation for page-calendar (#3816) - 1 Yin Jiaquan Add Automata private RPC relay (#8167) 1 yooml update parachain id (#5065) 1 Илья Петров Add files via upload (#7001) 1 制杖 add trustbase network (#5854) 1 小白 My contacts chinese suggest calling 我的合约账户 (#3288) - 1 战神西红柿 restore onfinality provider (#9081) 1 早晨海风 Confti added to Rococo (#8029) \ No newline at end of file diff --git a/README.md b/README.md index c6b366cec2da..14f9224de53f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +[![polkadotjs](https://img.shields.io/badge/polkadot-js-orange?style=flat-square)](https://polkadot.js.org) +![license](https://img.shields.io/badge/License-Apache%202.0-blue?logo=apache&style=flat-square) +[![maintainability](https://img.shields.io/codeclimate/maintainability-percentage/polkadot-js/apps?logo=code-climate&style=flat-square)](https://codeclimate.com/github/polkadot-js/apps) + # @polkadot/apps A Portal into the Polkadot and Substrate networks. Provides a view and interaction layer from a browser. @@ -8,11 +12,29 @@ If you run one or more IPFS node(s), pinning the UI (which only gets updated on **Important** If you are a chain developer and would like to add support for your chain to the UI, all the local configuration (API types, settings, logos) can be customized in [the apps-config package](packages/apps-config#README.md), complete with instructions of what goes where. +## overview + +The repo is split into a number of packages, each representing an application. These are - -## Overview +- [apps](packages/apps/) This is the main entry point. It handles the selection sidebar and routing to the specific application being displayed. +- [apps-electron](packages/apps-electron/) Desktop app running [apps](packages/apps/). +- [page-accounts](packages/page-accounts/) A basic account management app. +- [page-address-book](packages/page-address-book/) A basic address management app. +- [page-democracy](packages/page-democracy/) A basic voting app, allowing votes on activate proposals and referenda. +- [page-explorer](packages/page-explorer/) A simple block explorer. It only shows the most recent blocks, updating as they become available. +- [page-extrinsics](packages/page-extrinsics/) Submission of extrinsics to a node. +- [page-js](packages/page-js/) An online code editor with [@polkadot-js/api](https://github.com/polkadot-js/api/tree/master/packages/api) access to the currently connected node. +- [page-settings](packages/page-settings/) A basic settings management app, allowing choice of language, node to connect to, and theme +- [page-staking](packages/page-staking/) A basic staking management app, allowing staking and nominations. +- [page-storage](packages/page-storage/) A simple node storage query application. Multiple queries can be queued and updates as new values become available. +- [page-toolbox](packages/page-toolbox/) Submission of raw data to RPC endpoints and utility hashing functions. +- [page-transfer](packages/page-transfer/) A basic account management app, allowing transfer of Units/DOTs between accounts. -The repo is split into a number of packages, each representing an application. +In addition the following libraries are also included in the repo. These are to be moved to the [@polkadot/ui](https://github.com/polkadot-js/ui/) repository once it reaches a base level of stability and usability. (At this point with the framework being tested on the apps above, it makes development easier having it close) +- [react-components](packages/react-components/) A reactive (using RxJS) application framework with a number of useful shared components. +- [react-signer](packages/react-signer/) Signer implementation for apps. +- [react-query](packages/react-query) Base components that use the RxJS Observable APIs ## Development @@ -29,7 +51,6 @@ To get started - 5. Ready! Now you can launch the UI (assuming you have a local Polkadot Node running), via `yarn run start` 6. Access the UI via [http://localhost:3000](http://localhost:3000) - ## Docker You can run a docker container via - diff --git a/babel.config.cjs b/babel.config.cjs new file mode 100644 index 000000000000..c762fc3762de --- /dev/null +++ b/babel.config.cjs @@ -0,0 +1,4 @@ +// Copyright 2017-2022 @polkadot/apps authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +module.exports = require('@polkadot/dev/config/babel-config-cjs.cjs'); diff --git a/docker/Dockerfile b/docker/Dockerfile index 2b003a08c6b7..86e2b82c2ba3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,11 +1,11 @@ -FROM ubuntu:latest as builder +FROM ubuntu:18.04 as builder # Install any needed packages RUN apt-get update && \ - apt-get install --no-install-recommends -y build-essential curl git gnupg ca-certificates + apt-get install --no-install-recommends -y curl git gnupg ca-certificates # install nodejs -RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash - +RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - RUN apt-get install --no-install-recommends -y nodejs && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/docker/build.sh b/docker/build.sh index a07104ede402..ee4f53c25f8a 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2017-2023 @polkadot/apps authors & contributors +# Copyright 2017-2022 @polkadot/apps authors & contributors # This software may be modified and distributed under the terms # of the Apache-2.0 license. See the LICENSE file for details. diff --git a/env.sh b/env.sh index d3fca83b74c5..841ee8dc26a3 100755 --- a/env.sh +++ b/env.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2017-2023 @polkadot/apps authors & contributors +# Copyright 2017-2022 @polkadot/apps authors & contributors # SPDX-License-Identifier: Apache-2.0 # This script is used when the docker container starts and does the magic to diff --git a/i18next-scanner.config.cjs b/i18next-scanner.config.cjs index 4d30c60df854..dc8859249216 100644 --- a/i18next-scanner.config.cjs +++ b/i18next-scanner.config.cjs @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps authors & contributors +// Copyright 2017-2022 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 const fs = require('fs'); diff --git a/jest-ci.config.cjs b/jest-ci.config.cjs new file mode 100644 index 000000000000..f2ced3584c8d --- /dev/null +++ b/jest-ci.config.cjs @@ -0,0 +1,10 @@ +// Copyright 2017-2022 @polkadot/apps authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +const config = require('@polkadot/dev/config/jest.cjs'); + +module.exports = { + ...config, + moduleNameMapper: {}, + testTimeout: 2 * 60 * 1000 +}; diff --git a/jest-slow.config.cjs b/jest-slow.config.cjs new file mode 100644 index 000000000000..1bd6bdbed77e --- /dev/null +++ b/jest-slow.config.cjs @@ -0,0 +1,11 @@ +// Copyright 2017-2022 @polkadot/apps authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +const config = require('./jest.config.cjs'); + +module.exports = { + ...config, + displayName: 'all-tests', + globalSetup: './jest/globalSetup.cjs', + globalTeardown: './jest/globalTeardown.cjs' +}; diff --git a/jest.config.cjs b/jest.config.cjs new file mode 100644 index 000000000000..5908e68234b2 --- /dev/null +++ b/jest.config.cjs @@ -0,0 +1,31 @@ +// Copyright 2017-2022 @polkadot/apps authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +const config = require('@polkadot/dev/config/jest.cjs'); + +const findPackages = require('./scripts/findPackages.cjs'); + +module.exports = { + ...config, + moduleNameMapper: { + ...( + findPackages() + .filter(({ name }) => !['@polkadot/apps'].includes(name)) + .reduce((modules, { dir, name }) => { + modules[`${name}(.*)$`] = `/packages/${dir}/src/$1`; + + return modules; + }, {}) + ), + '@polkadot/apps/(.*)$': '/packages/apps/src/$1', + '\\.(css|less)$': 'empty/object', + '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': 'empty/object', + '\\.(md)$': '/jest/mocks/empty.js' + }, + setupFilesAfterEnv: ['/jest/setupEnv.cjs'], + testEnvironment: 'jsdom', + testTimeout: 90000, + // NOTE: While we can remove @polkadot/etc. react-markdown still has issues with Jest 28 + // ... TL;DR We still end up with a massive list here + transformIgnorePatterns: ['/node_modules/(?!react-markdown|vfile|vfile-|unified|unist-|bail|is-plain-obj|trough|remark-parse|mdast-|micromark|decode-named-character-reference|character-entities|remark-rehype|property-information|hast-util-|hast-to-|space-separated-tokens|comma-separated-tokens|rehype-raw|hastscript|web-namespaces|zwitch|html-void-elements|multiformats|is-ipfs|uint8arrays|chart.js)'] +}; diff --git a/jest/globalSetup.cjs b/jest/globalSetup.cjs new file mode 100644 index 000000000000..c5ab67f0cd2c --- /dev/null +++ b/jest/globalSetup.cjs @@ -0,0 +1,25 @@ +// Copyright 2017-2022 @polkadot/apps authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +const { AlwaysPullPolicy, GenericContainer, Wait } = require('testcontainers'); + +const startSubstrate = async () => { + console.log('Substrate container starting...'); + + const startedTestContainer = await new GenericContainer('parity/substrate') + .withPullPolicy(new AlwaysPullPolicy()) + .withName('polkadot-apps-test-substrate') + .withExposedPorts(9944) + .withCmd(['--dev', '--ws-port=9944', '--unsafe-ws-external']) + .withWaitStrategy(Wait.forLogMessage('New epoch 0 launching')) + .start(); + + console.log('Done.'); + + process.env.TEST_SUBSTRATE_PORT = startedTestContainer.getMappedPort(9944)?.toString() || ''; + global.__SUBSTRATE__ = startedTestContainer; +}; + +module.exports = async () => { + await startSubstrate(); +}; diff --git a/jest/globalTeardown.cjs b/jest/globalTeardown.cjs new file mode 100644 index 000000000000..fe7439d48688 --- /dev/null +++ b/jest/globalTeardown.cjs @@ -0,0 +1,10 @@ +// Copyright 2017-2022 @polkadot/apps authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +module.exports = async () => { + console.log('Shutting down Substrate container...'); + + await global.__SUBSTRATE__.stop(); + + console.log('Done.'); +}; diff --git a/jest/mocks/empty.js b/jest/mocks/empty.js new file mode 100644 index 000000000000..8d0ddc389c3b --- /dev/null +++ b/jest/mocks/empty.js @@ -0,0 +1,5 @@ +// Copyright 2019-2022 @polkadot/apps authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +// eslint-disable-line +module.exports = ''; diff --git a/jest/setupEnv.cjs b/jest/setupEnv.cjs new file mode 100644 index 000000000000..cbd1c94dd7d5 --- /dev/null +++ b/jest/setupEnv.cjs @@ -0,0 +1,21 @@ +// Copyright 2017-2022 @polkadot/apps authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +require('@testing-library/jest-dom'); + +const nodeCrypto = require('crypto'); +const { configure } = require('@testing-library/dom'); + +CSS = { + supports () { + return false; + } +} + +window.crypto = { + getRandomValues: function (buffer) { + return nodeCrypto.randomFillSync(buffer); + } +}; + +configure({ asyncUtilTimeout: 10000 }); diff --git a/package.json b/package.json index 3371d8ce0914..72e7898248ff 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,8 @@ "author": "Jaco Greeff ", "bugs": "https://github.com/polkadot-js/apps/issues", "description": "An Apps portal into the Polkadot network", - "engine-strict": true, "engines": { - "node": ">=18.14" + "node": ">=14.0.0" }, "homepage": "https://github.com/polkadot-js/apps#readme", "license": "Apache-2.0", @@ -16,36 +15,30 @@ "url": "https://github.com/polkadot-js/apps.git" }, "sideEffects": false, - "version": "0.22.0-cere", - "versions": { - "git": "0.22.0-cere", - "npm": "0.22.0-cere" - }, + "version": "0.23.0", "workspaces": [ "packages/*" ], "main": "packages/apps-electron/build/electron.js", "scripts": { - "analyze": "yarn clean && BUILD_ANALYZE=1 yarn run build:code && yarn source-map-explorer packages/apps/build/app.*.js", + "analyze": "yarn clean && BUILD_ANALYZE=1 yarn run build:code && yarn source-map-explorer packages/apps/build/main.*.js", "build": "yarn run build:i18n && yarn run build:code", - "build:before": "yarn build:images && yarn build:typesBundle", "build:code": "NODE_ENV=production yarn polkadot-dev-build-ts", "build:devElectronMain": "cd packages/apps-electron && yarn polkadot-exec-webpack --config webpack.main.cjs", "build:devElectronRenderer": "cd packages/apps-electron && yarn polkadot-exec-webpack --config webpack.renderer.cjs", "build:electron": "yarn clean:electronBuild && yarn build:electronMain && yarn build:electronRenderer", "build:electronMain": "cd packages/apps-electron && NODE_ENV=production yarn polkadot-exec-webpack --config webpack.main.cjs", "build:electronRenderer": "cd packages/apps-electron && NODE_ENV=production yarn polkadot-exec-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:images": "node scripts/imgConvert.mjs", "build:release:electron": "yarn build && yarn build:electron && yarn postinstall:electron", "build:release:ghpages": "yarn polkadot-ci-ghact-docs", "build:release:ipfs": "node scripts/ipfsUpload.mjs", "build:release:www": "yarn polkadot-ci-ghact-build && yarn build:release:ghpages && yarn build:release:ipfs", "build:robohash": "node scripts/robohash.cjs", - "build:typesBundle": "polkadot-dev-run-test --env node --experimental-specifier-resolution=node packages/apps-config/src/api/typesBundle.spec.ts", "build:www": "rm -rf packages/apps/build && mkdir -p packages/apps/build && yarn run build:i18n && cd packages/apps && yarn polkadot-exec-webpack --config webpack.config.cjs", - "ci:chainEndpoints": "polkadot-dev-run-test --env node packages/apps-config/src/ci/chainEndpoints --log .github/chain-endpoints.md", - "ci:chainTypes": "echo ok", + "ci:chainEndpoints": "NODE_OPTIONS=--experimental-vm-modules polkadot-dev-run-test --config ./jest-ci.config.cjs --runInBand --forceExit packages/apps-config/src/ci/chainEndpoints", + "ci:chainTypes": "NODE_OPTIONS=--experimental-vm-modules polkadot-dev-run-test --config ./jest-ci.config.cjs --runInBand --forceExit packages/apps-config/src/ci/chainTypes", "clean": "polkadot-dev-clean-build", "clean:electronBuild": "cd packages/apps-electron && polkadot-dev-clean-build", "clean:electronRelease": "cd packages/apps-electron && rm -rf release", @@ -61,67 +54,65 @@ "postinstall:electron": "electron-builder install-app-deps", "start": "yarn clean && cd packages/apps && yarn polkadot-exec-webpack serve --config webpack.serve.cjs --port 3000", "start:electron": "yarn clean:electronBuild && concurrently 'yarn build:devElectronMain && cd packages/apps-electron && electron ./build/electron.js' 'yarn build:devElectronRenderer'", - "test": "polkadot-dev-run-test --env browser --experimental-specifier-resolution=node ^typesBundle ^chainEndpoints ^chainTypes ^page- ^react- ^apps-electron", - "test:all": "polkadot-dev-run-test --env browser ^chainEndpoints ^chainTypes", - "test:one": "polkadot-dev-run-test --env browser", + "test": "polkadot-dev-run-test --runInBand --testPathIgnorePatterns slow --testNamePattern='^((?!--SLOW--).)*$'", + "test:all": "polkadot-dev-run-test --runInBand --config ./jest-slow.config.cjs", + "test:one": "polkadot-dev-run-test", "test:skipped": "echo 'tests skipped'" }, "devDependencies": { + "@babel/core": "^7.19.1", + "@babel/register": "^7.18.9", + "@babel/runtime": "^7.19.0", "@crustio/crust-pin": "^1.0.0", - "@pinata/sdk": "^2.1.0", - "@polkadot/dev": "^0.72.25", + "@pinata/sdk": "^1.1.26", + "@polkadot/dev": "^0.67.130", "@types/chart.js": "^2.9.37", "@types/file-saver": "^2.0.5", - "@types/react-beautiful-dnd": "^13.1.4", + "@types/jest": "^29.0.3", + "@types/react-beautiful-dnd": "^13.1.2", "@types/react-copy-to-clipboard": "^5.0.4", - "@types/react-dom": "^18.0.11", + "@types/react-dom": "^18.0.6", "@types/react-router-dom": "^5.3.3", "@types/store": "^2.0.2", "@types/styled-components": "^5.1.26", "@types/styled-theming": "^2.2.5", - "concurrently": "^7.6.0", + "concurrently": "^7.3.0", "devtron": "^1.4.0", "dnslink-cloudflare": "^3.0.0", - "electron": "^23.2.0", - "electron-builder": "23.6.0", - "electron-builder-notarize": "^1.5.1", - "i18next-scanner": "^4.2.0", + "electron": "^12.2.3", + "electron-builder": "22.14.13", + "electron-builder-notarize": "^1.2.0", + "i18next-scanner": "^4.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-is": "^18.2.0", - "source-map-explorer": "^2.5.3", - "styled-components": "^5.3.9" + "source-map-explorer": "^2.5.2", + "styled-components": "^5.3.5" }, "resolutions": { - "@polkadot/api": "^10.2.1", - "@polkadot/api-augment": "^10.2.1", - "@polkadot/api-base": "^10.2.1", - "@polkadot/api-contract": "^10.2.1", - "@polkadot/api-derive": "^10.2.1", - "@polkadot/hw-ledger": "^11.1.2", - "@polkadot/keyring": "^11.1.2", - "@polkadot/networks": "^11.1.2", - "@polkadot/phishing": "^0.20.4", - "@polkadot/rpc-augment": "^10.2.1", - "@polkadot/rpc-core": "^10.2.1", - "@polkadot/rpc-provider": "^10.2.1", - "@polkadot/types": "^10.2.1", - "@polkadot/types-augment": "^10.2.1", - "@polkadot/types-codec": "^10.2.1", - "@polkadot/types-create": "^10.2.1", - "@polkadot/types-known": "^10.2.1", - "@polkadot/types-support": "^10.2.1", - "@polkadot/util": "^11.1.2", - "@polkadot/util-crypto": "^11.1.2", - "@polkadot/wasm-crypto": "^7.0.3", - "@polkadot/x-bigint": "^11.1.2", - "@polkadot/x-fetch": "^11.1.2", - "@polkadot/x-global": "^11.1.2", - "@polkadot/x-randomvalues": "^11.1.2", - "@polkadot/x-textdecoder": "^11.1.2", - "@polkadot/x-textencoder": "^11.1.2", - "@polkadot/x-ws": "^11.1.2", + "@polkadot/api": "^9.4.1", + "@polkadot/api-augment": "^9.4.1", + "@polkadot/api-base": "^9.4.1", + "@polkadot/api-contract": "^9.4.1", + "@polkadot/api-derive": "^9.4.1", + "@polkadot/hw-ledger": "^10.1.8", + "@polkadot/keyring": "^10.1.8", + "@polkadot/networks": "^10.1.8", + "@polkadot/phishing": "^0.18.8", + "@polkadot/rpc-augment": "^9.4.1", + "@polkadot/rpc-core": "^9.4.1", + "@polkadot/rpc-provider": "^9.4.1", + "@polkadot/types": "^9.4.1", + "@polkadot/types-augment": "^9.4.1", + "@polkadot/types-codec": "^9.4.1", + "@polkadot/types-create": "^9.4.1", + "@polkadot/types-known": "^9.4.1", + "@polkadot/types-support": "^9.4.1", + "@polkadot/util": "^10.1.8", + "@polkadot/util-crypto": "^10.1.8", + "@polkadot/wasm-crypto": "^6.3.1", + "babel-core": "^7.0.0-bridge.0", "styled-components": "^5.3.1", - "typescript": "^5.0.2" + "typescript": "^4.8.3" } } diff --git a/packages/apps-config/LICENSE b/packages/apps-config/LICENSE new file mode 100644 index 000000000000..0d381b2e97dc --- /dev/null +++ b/packages/apps-config/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/packages/apps-config/README.md b/packages/apps-config/README.md index 466ae0d6c3a6..4b620acac6bb 100644 --- a/packages/apps-config/README.md +++ b/packages/apps-config/README.md @@ -3,7 +3,9 @@ General config for various services, including settings, external links & types. This is a central source of all the configuration settings that can be tweaked. This also means that it can be customized (via PR) to support any additional chains. The internals are split into a number of settings - - [api](./src/api) - Here you can add any chain or node-type specific types configuration. When added, it means that when the UI connects to either a runtime with a spec name, or a chain with a specific name, the types will be automatically added to the API as used in the app. -- [endpoints](./src/endpoints) - Configuration for specific per-type chain endpoints. +- [links](./src/links) - These are all links to external providers such as explorers. This information is used anywhere where there is an external link to determine the providers for these links. +- [settings](./src/settings) - These are used in dropdowns, specifically under the settings page. +- [ui](./src/ui) - Logos & color settings for chain and node spec specific overrides. This means that when the runtime/chain is detected, the specific logo would be used. Customization for each of these are discussed next. @@ -16,10 +18,26 @@ The API config can be done in one of two ways - The actual type definitions you should be familiar with, it is exactly the same as you would upload via the settings page in JSON, or as detailed in the [API types pages](https://polkadot.js.org/api/start/types.extend.html#extending-types). +## Links -## Endpoints +We are not going to spend too much time here, since it is generally applicable to explorers and like services. However, should you run one of these services, you can take a look at the existing configs and customize for your setup. -1. Add your chain logo (if available) to either `ui/logos/chains` or `ui/logos/nodes` (the second is generally used) -2. Run the image build command to generate an inline version via `yarn build:images` -3. Add your chain to `endpoints/{production, productionRelay, testing, testingRelay*}` as applicable for your deployment -3. The `ui.color` specifies the chain color, the `ui.logo` (importted from generated), specifies the specific logo +## Settings + +There are 2 general areas of interest here - + +- [endpoints](./src/settings) - This is where we can add additional endpoints to appear in the dropdowns. We would like to keep this to mostly live networks, although based on demand can probably extend to a testing-only section as well. +- [ss58](./src/settings) - Should you wish to add your ss58Format to the settings dropdown, this is where the configuration take place + +## UI + +These are self-explanatory and config here actually does get used in other parts as well. Basically the information here is broken down into a couple of categories - + +- [colors](./src/ui/colors.ts) + - color configuration based on chain +- [identityIcon](./src/ui/identityIcons) + - specific identityIcon to use based on node name +- [logos](./src/ui/logos) + - chains - Specific logos when connecting to a specific chain + - nodes - Logos that are used when connecting to a specific runtime spec type (catch-all) + - named - These logos are used as overrides when we pass an explicit logo name diff --git a/packages/apps-config/package.json b/packages/apps-config/package.json index f59fa05e76a7..906f6280e303 100644 --- a/packages/apps-config/package.json +++ b/packages/apps-config/package.json @@ -1,8 +1,5 @@ { "bugs": "https://github.com/polkadot-js/apps/issues", - "engines": { - "node": ">=14" - }, "homepage": "https://github.com/polkadot-js/apps/tree/master/packages/apps-config#readme", "license": "Apache-2.0", "name": "@polkadot/apps-config", @@ -13,49 +10,45 @@ }, "sideEffects": false, "type": "module", - "version": "0.124.2-199-x", + "version": "0.121.2-71-x", "main": "index.js", "dependencies": { - "@acala-network/type-definitions": "4.1.8-13", - "@bifrost-finance/type-definitions": "1.7.2", + "@acala-network/type-definitions": "^4.1.5", + "@babel/runtime": "^7.19.0", + "@bifrost-finance/type-definitions": "1.6.1", "@crustio/type-definitions": "1.3.0", "@darwinia/types": "2.8.10", "@darwinia/types-known": "2.8.10", "@digitalnative/type-definitions": "1.1.27", - "@docknetwork/node-types": "0.15.0", + "@docknetwork/node-types": "0.10.0", "@edgeware/node-types": "3.6.2-wako", - "@equilab/definitions": "1.4.18", - "@fragnova/api-augment": "0.1.0-spec-1.0.4-mainnet", - "@frequency-chain/api-augment": "1.3.0", - "@interlay/interbtc-types": "1.12.0", - "@kiltprotocol/type-definitions": "0.32.0", + "@equilab/definitions": "1.4.13", + "@interlay/interbtc-types": "1.9.0", + "@kiltprotocol/type-definitions": "^0.2.1", "@laminar/type-definitions": "0.3.1", - "@logion/node-api": "0.9.0-3", - "@mangata-finance/types": "0.18.0", - "@metaverse-network-sdk/type-definitions": "0.0.1-16", - "@parallel-finance/type-definitions": "1.7.16", - "@phala/typedefs": "0.2.33", - "@polkadot/api": "^10.2.1", - "@polkadot/api-derive": "^10.2.1", - "@polkadot/networks": "^11.1.2", - "@polkadot/types": "^10.2.1", - "@polkadot/util": "^11.1.2", - "@polkadot/wasm-util": "^7.0.3", - "@polkadot/x-fetch": "^11.1.2", - "@polkadot/x-ws": "^11.1.2", - "@polymeshassociation/polymesh-types": "5.3.0", + "@logion/node-api": "^0.5.0-2", + "@mangata-finance/types": "^0.8.0", + "@metaverse-network-sdk/type-definitions": "^0.0.1-13", + "@parallel-finance/type-definitions": "1.7.13", + "@phala/typedefs": "0.2.31", + "@polkadot/api": "^9.4.1", + "@polkadot/api-derive": "^9.4.1", + "@polkadot/networks": "^10.1.8", + "@polkadot/types": "^9.4.1", + "@polkadot/util": "^10.1.8", + "@polkadot/x-fetch": "^10.1.8", + "@polymathnetwork/polymesh-types": "0.0.2", "@snowfork/snowbridge-types": "0.2.7", - "@sora-substrate/type-definitions": "1.15.12", - "@subsocial/definitions": "0.8.7", - "@unique-nft/opal-testnet-types": "937.53.1", - "@unique-nft/quartz-mainnet-types": "937.53.1", - "@unique-nft/sapphire-mainnet-types": "937.53.1", - "@unique-nft/unique-mainnet-types": "937.53.1", - "@zeitgeistpm/type-defs": "1.0.0", + "@sora-substrate/type-definitions": "1.10.0-beta.7", + "@subsocial/definitions": "^0.6.12-parachain.0", + "@unique-nft/opal-testnet-types": "0.5.3", + "@unique-nft/quartz-mainnet-types": "0.6.1", + "@unique-nft/unique-mainnet-types": "0.6.3", + "@zeitgeistpm/type-defs": "0.8.0", "@zeroio/type-definitions": "0.0.14", - "moonbeam-types-bundle": "2.0.10", + "lodash": "^4.17.21", + "moonbeam-types-bundle": "2.0.8", "pontem-types-bundle": "1.0.15", - "rxjs": "^7.8.0", - "tslib": "^2.5.0" + "rxjs": "^7.5.6" } } diff --git a/packages/apps-config/src/api/chain/index.ts b/packages/apps-config/src/api/chain/index.ts deleted file mode 100644 index 34faa6ff4aa7..000000000000 --- a/packages/apps-config/src/api/chain/index.ts +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - -import kilt from './kilt.js'; - -// NOTE: The mapping is done from chain name in system.chain -const chain: Record = { - 'KILT Mashnet': kilt['KILT Mashnet'], - 'KILT Peregrine': kilt['KILT Peregrine'], - 'KILT Peregrine Stagenet': kilt['KILT Peregrine Stagenet'], - 'KILT Spiritnet': kilt['KILT Spiritnet'], - 'KILT Spiritnet Develop': kilt['KILT Spiritnet Develop'] -}; - -export default chain; diff --git a/packages/apps-config/src/api/chain/kilt.ts b/packages/apps-config/src/api/chain/kilt.ts deleted file mode 100644 index 300b667def87..000000000000 --- a/packages/apps-config/src/api/chain/kilt.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - -import { typesBundle } from '@kiltprotocol/type-definitions'; - -export default typesBundle.chain as Record; diff --git a/packages/apps-config/src/api/constants.ts b/packages/apps-config/src/api/constants.ts index ac8178688f03..a6fb234d1571 100644 --- a/packages/apps-config/src/api/constants.ts +++ b/packages/apps-config/src/api/constants.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/app-accounts authors & contributors +// Copyright 2017-2022 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import { knownGenesis } from '@polkadot/networks/defaults'; diff --git a/packages/apps-config/src/api/derives.ts b/packages/apps-config/src/api/derives.ts index 35a0ef6ae928..c4de22eb95ca 100644 --- a/packages/apps-config/src/api/derives.ts +++ b/packages/apps-config/src/api/derives.ts @@ -1,12 +1,12 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// 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.js'; -import genshiro from './spec/genshiro.js'; -import interbtc from './spec/interbtc.js'; -import subspace from './spec/subspace.js'; +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']], diff --git a/packages/apps-config/src/api/index.spec.ts b/packages/apps-config/src/api/index.spec.ts index 13843c1e56f8..61fb64d38189 100644 --- a/packages/apps-config/src/api/index.spec.ts +++ b/packages/apps-config/src/api/index.spec.ts @@ -1,12 +1,10 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// 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/index.js'; -import { typesBundle } from './index.js'; +import spec from './spec'; +import { typesBundle } from '.'; function getDerives (spec: Record): string[] { return Object diff --git a/packages/apps-config/src/api/index.ts b/packages/apps-config/src/api/index.ts index 95b722dd16e6..b8dc7526b9cc 100644 --- a/packages/apps-config/src/api/index.ts +++ b/packages/apps-config/src/api/index.ts @@ -1,10 +1,10 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { applyDerives } from './derives.js'; -import { typesBundle as typesOnlyBundle } from './typesBundle.js'; +import { applyDerives } from './derives'; +import { typesBundle as typesOnlyBundle } from './typesBundle'; -export * from './params/index.js'; -export * from './constants.js'; +export * from './constants'; +export * from './params'; export const typesBundle = applyDerives(typesOnlyBundle); diff --git a/packages/apps-config/src/api/params/index.ts b/packages/apps-config/src/api/params/index.ts index ef397c8a662f..ffea76f0eab7 100644 --- a/packages/apps-config/src/api/params/index.ts +++ b/packages/apps-config/src/api/params/index.ts @@ -1,7 +1,7 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -export * from './inflation.js'; -export * from './proposalThresholds.js'; -export * from './teleport.js'; -export * from './tracks/index.js'; +export * from './inflation'; +export * from './proposalThresholds'; +export * from './teleport'; +export * from './tracks'; diff --git a/packages/apps-config/src/api/params/inflation.ts b/packages/apps-config/src/api/params/inflation.ts index 524d48647431..6c741d1c99a2 100644 --- a/packages/apps-config/src/api/params/inflation.ts +++ b/packages/apps-config/src/api/params/inflation.ts @@ -3,7 +3,7 @@ import type { ApiPromise } from '@polkadot/api'; -import { DOCK_POS_TESTNET_GENESIS, KUSAMA_GENESIS, NEATCOIN_GENESIS, NFTMART_GENESIS, POLKADOT_GENESIS } from '../constants.js'; +import { DOCK_POS_TESTNET_GENESIS, KUSAMA_GENESIS, NEATCOIN_GENESIS, NFTMART_GENESIS, POLKADOT_GENESIS } from '../constants'; interface InflationParams { auctionAdjust: number; diff --git a/packages/apps-config/src/api/params/proposalThresholds.ts b/packages/apps-config/src/api/params/proposalThresholds.ts index 2968f3693c15..a0d998e9636c 100644 --- a/packages/apps-config/src/api/params/proposalThresholds.ts +++ b/packages/apps-config/src/api/params/proposalThresholds.ts @@ -1,9 +1,9 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; -import { KULUPU_GENESIS, KUSAMA_GENESIS, POLKADOT_GENESIS } from '../constants.js'; +import { KULUPU_GENESIS, KUSAMA_GENESIS, POLKADOT_GENESIS } from '../constants'; // normal fast-track proposals const FAST_TRACK: Record = { diff --git a/packages/apps-config/src/api/params/teleport.ts b/packages/apps-config/src/api/params/teleport.ts index e78df02ab632..0ad07e9d09ee 100644 --- a/packages/apps-config/src/api/params/teleport.ts +++ b/packages/apps-config/src/api/params/teleport.ts @@ -1,9 +1,9 @@ -// Copyright 2017-2023 @polkadot/app-config authors & contributors +// Copyright 2017-2022 @polkadot/app-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; -import { KUSAMA_GENESIS } from '../constants.js'; +import { KUSAMA_GENESIS } from '../constants'; // 4 * BaseXcmWeight on Kusama const KUSAMA_WEIGHT = 4 * 1_000_000_000; diff --git a/packages/apps-config/src/api/params/tracks.ts b/packages/apps-config/src/api/params/tracks.ts new file mode 100644 index 000000000000..58ca237224b8 --- /dev/null +++ b/packages/apps-config/src/api/params/tracks.ts @@ -0,0 +1,60 @@ +// Copyright 2017-2022 @polkadot/app-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import type { ApiPromise } from '@polkadot/api'; + +import { KUSAMA_GENESIS } from '../constants'; + +type Origins = [[number, string], Record][]; + +const KUSAMA: Record = { + fellowshipReferenda: [ + [[0, 'candidates'], { Origins: 'FellowshipInitiates' }], + [[1, 'members'], { Origins: 'Fellowship1Dan' }], + [[2, 'proficients'], { Origins: 'Fellowship2Dan' }], + [[3, 'fellows'], { Origins: 'Fellowship3Dan' }], + [[4, 'senior fellows'], { Origins: 'Fellowship4Dan' }], + [[5, 'experts'], { Origins: 'Fellowship5Dan' }], + [[6, 'senior experts'], { Origins: 'Fellowship6Dan' }], + [[7, 'masters'], { Origins: 'Fellowship7Dan' }], + [[8, 'senior masters'], { Origins: 'Fellowship8Dan' }], + [[9, 'grand masters'], { Origins: 'Fellowship9Dan' }] + ], + referenda: [ + [[0, 'root'], { system: 'Root' }], + [[1, 'whitelisted_caller'], { Origins: 'WhitelistedCaller' }], + [[10, 'staking_admin'], { Origins: 'StakingAdmin' }], + [[11, 'treasurer'], { Origins: 'Treasurer' }], + [[12, 'lease_admin'], { Origins: 'LeaseAdmin' }], + [[13, 'fellowship_admin'], { Origins: 'FellowshipAdmin' }], + [[14, 'general_admin'], { Origins: 'GeneralAdmin' }], + [[15, 'auction_admin'], { Origins: 'AuctionAdmin' }], + [[20, 'referendum_canceller'], { Origins: 'ReferendumCanceller' }], + [[21, 'referendum_killer'], { Origins: 'ReferendumKiller' }], + [[30, 'small_tipper'], { Origins: 'SmallTipper' }], + [[31, 'big_tipper'], { Origins: 'BigTipper' }], + [[32, 'small_spender'], { Origins: 'SmallSpender' }], + [[33, 'medium_spender'], { Origins: 'MediumSpender' }], + [[34, 'big_spender'], { Origins: 'BigSpender' }] + ] +}; + +const KNOWN_GENE_TRACKS: Record> = { + [KUSAMA_GENESIS]: KUSAMA +}; + +const KNOWN_SPEC_TRACKS: Record> = { + kusama: KUSAMA, + // for kitchensink, we just use the root + node: { + referenda: [ + [[0, 'root'], { system: 'Root' }] + ] + } +}; + +export function getGovernanceTracks (api: ApiPromise, specName: string, palletReferenda: string): Origins | undefined { + const lookup = KNOWN_GENE_TRACKS[api.genesisHash.toHex()] || KNOWN_SPEC_TRACKS[specName]; + + return lookup && lookup[palletReferenda]; +} diff --git a/packages/apps-config/src/api/params/tracks/index.ts b/packages/apps-config/src/api/params/tracks/index.ts deleted file mode 100644 index bf32da77fa3d..000000000000 --- a/packages/apps-config/src/api/params/tracks/index.ts +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2017-2023 @polkadot/app-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { ApiPromise } from '@polkadot/api'; -import type { TrackInfo } from './types.js'; - -import { KUSAMA_GENESIS, POLKADOT_GENESIS } from '../../constants.js'; -import { kusama } from './kusama.js'; -import { polkadot } from './polkadot.js'; - -const KNOWN_GENE_TRACKS: Record> = { - [KUSAMA_GENESIS]: kusama, - [POLKADOT_GENESIS]: polkadot -}; - -const KNOWN_SPEC_TRACKS: Record> = { - kusama, - // for kitchensink, we just use the root - node: { - referenda: [ - { - id: 0, - name: 'root', - origin: { system: 'Root' } - } - ] - }, - polkadot -}; - -export function getGovernanceTracks (api: ApiPromise, specName: string, palletReferenda: string): TrackInfo[] | undefined { - const lookup = KNOWN_GENE_TRACKS[api.genesisHash.toHex()] || KNOWN_SPEC_TRACKS[specName]; - - return lookup && lookup[palletReferenda]; -} diff --git a/packages/apps-config/src/api/params/tracks/kusama.ts b/packages/apps-config/src/api/params/tracks/kusama.ts deleted file mode 100644 index 082a0373015e..000000000000 --- a/packages/apps-config/src/api/params/tracks/kusama.ts +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2017-2023 @polkadot/app-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { TrackInfo } from './types.js'; - -import { BN } from '@polkadot/util'; - -import { compareFellowshipRank, formatSpendFactory } from './util.js'; - -// hardcoded here since this is static (hopefully no re-denomination anytime...) -const formatSpend = formatSpendFactory({ - decimals: 12, - forceUnit: '-', - withSi: true, - withUnit: 'KSM' -}); - -// https://github.com/paritytech/polkadot/blob/6e3f2c5b4b6e6927915de2f784e1d831717760fa/runtime/kusama/constants/src/lib.rs#L28-L32 -const UNITS = new BN(1_000_000_000_000); -const QUID = UNITS.divn(30); -const GRAND = QUID.muln(1_000); - -// https://github.com/paritytech/polkadot/blob/6e3f2c5b4b6e6927915de2f784e1d831717760fa/runtime/kusama/src/governance/origins.rs#L170-L179 -const SPEND_LIMITS = { - BigSpender: formatSpend(1_000, GRAND), - BigTipper: formatSpend(1, GRAND), - MediumSpender: formatSpend(100, GRAND), - SmallSpender: formatSpend(10, GRAND), - SmallTipper: formatSpend(250, QUID), - Treasurer: formatSpend(10_000, GRAND) -}; - -export const kusama: Record = { - fellowshipReferenda: [ - { - compare: compareFellowshipRank(0), - id: 0, - name: 'candidates', - origin: { Origins: 'FellowshipInitiates' }, - text: 'Origin commanded by any members of the Polkadot Fellowship (no Dan grade needed)' - }, - { - compare: compareFellowshipRank(1), - id: 1, - name: 'members', - origin: { Origins: 'Fellowship1Dan' }, - text: 'Origin commanded by rank 1 of the Polkadot Fellowship and with a success of 1' - }, - { - compare: compareFellowshipRank(2), - id: 2, - name: 'proficients', - origin: { Origins: 'Fellowship2Dan' }, - text: 'Origin commanded by rank 2 of the Polkadot Fellowship and with a success of 2' - }, - { - - compare: compareFellowshipRank(3), - id: 3, - name: 'fellows', - origin: [ - { Origins: 'Fellowship3Dan' }, - { Origins: 'Fellows' } - ], - text: 'Origin commanded by Polkadot Fellows (3rd Dan fellows or greater)' - }, - { - compare: compareFellowshipRank(4), - id: 4, - name: 'senior fellows', - origin: { Origins: 'Fellowship4Dan' }, - text: 'Origin commanded by rank 4 of the Polkadot Fellowship and with a success of 4' - }, - { - compare: compareFellowshipRank(5), - id: 5, - name: 'experts', - origin: [ - { Origins: 'Fellowship5Dan' }, - { Origins: 'FellowshipExperts' } - ], - text: 'Origin commanded by Polkadot Experts (5th Dan fellows or greater)' - }, - { - compare: compareFellowshipRank(6), - id: 6, - name: 'senior experts', - origin: { Origins: 'Fellowship6Dan' }, - text: 'Origin commanded by rank 6 of the Polkadot Fellowship and with a success of 6' - }, - { - compare: compareFellowshipRank(7), - id: 7, - name: 'masters', - origin: [ - { Origins: 'Fellowship7Dan' }, - { Origins: 'FellowshipMasters' } - ], - text: 'Origin commanded by Polkadot Masters (7th Dan fellows of greater)' - }, - { - compare: compareFellowshipRank(8), - id: 8, - name: 'senior masters', - origin: { Origins: 'Fellowship8Dan' }, - text: 'Origin commanded by rank 8 of the Polkadot Fellowship and with a success of 8' - }, - { - compare: compareFellowshipRank(9), - id: 9, - name: 'grand masters', - origin: { Origins: 'Fellowship9Dan' }, - text: 'Origin commanded by rank 9 of the Polkadot Fellowship and with a success of 9' - } - ], - referenda: [ - { - id: 0, - name: 'root', - origin: { system: 'Root' }, - text: 'Origin for the system root' - }, - { - id: 1, - name: 'whitelisted_caller', - origin: { Origins: 'WhitelistedCaller' }, - text: 'Origin able to dispatch a whitelisted call' - }, - { - id: 10, - name: 'staking_admin', - origin: { Origins: 'StakingAdmin' }, - text: 'Origin for cancelling slashes' - }, - { - id: 11, - name: 'treasurer', - origin: { Origins: 'Treasurer' }, - text: 'Origin for spending (any amount of) funds' - }, - { - id: 12, - name: 'lease_admin', - origin: { Origins: 'LeaseAdmin' }, - text: 'Origin able to force slot leases' - }, - { - id: 13, - name: 'fellowship_admin', - origin: { Origins: 'FellowshipAdmin' }, - text: 'Origin for managing the composition of the fellowship' - }, - { - id: 14, - name: 'general_admin', - origin: { Origins: 'GeneralAdmin' }, - text: 'Origin for managing the registrar' - }, - { - id: 15, - name: 'auction_admin', - origin: { Origins: 'AuctionAdmin' }, - text: 'Origin for starting auctions' - }, - { - id: 20, - name: 'referendum_canceller', - origin: { Origins: 'ReferendumCanceller' }, - text: 'Origin able to cancel referenda' - }, - { - id: 21, - name: 'referendum_killer', - origin: { Origins: 'ReferendumKiller' }, - text: 'Origin able to kill referenda' - }, - { - id: 30, - name: 'small_tipper', - origin: { Origins: 'SmallTipper' }, - text: `Origin able to spend up to ${SPEND_LIMITS.SmallTipper} from the treasury at once` - }, - { - id: 31, - name: 'big_tipper', - origin: { Origins: 'BigTipper' }, - text: `Origin able to spend up to ${SPEND_LIMITS.BigTipper} from the treasury at once` - }, - { - id: 32, - name: 'small_spender', - origin: { Origins: 'SmallSpender' }, - text: `Origin able to spend up to ${SPEND_LIMITS.SmallSpender} from the treasury at once` - }, - { - id: 33, - name: 'medium_spender', - origin: { Origins: 'MediumSpender' }, - text: `Origin able to spend up to ${SPEND_LIMITS.MediumSpender} from the treasury at once` - }, - { - id: 34, - name: 'big_spender', - origin: { Origins: 'BigSpender' }, - text: `Origin able to spend up to ${SPEND_LIMITS.BigSpender} from the treasury at once` - } - ] -}; diff --git a/packages/apps-config/src/api/params/tracks/polkadot.ts b/packages/apps-config/src/api/params/tracks/polkadot.ts deleted file mode 100644 index 3cc6ef05cf69..000000000000 --- a/packages/apps-config/src/api/params/tracks/polkadot.ts +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2017-2023 @polkadot/app-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { TrackInfo } from './types.js'; - -import { BN } from '@polkadot/util'; - -import { compareFellowshipRank, formatSpendFactory } from './util.js'; - -// hardcoded here since this is static (hopefully no re-denomination anytime...) -const formatSpend = formatSpendFactory({ - decimals: 10, - forceUnit: '-', - withSi: true, - withUnit: 'DOT' -}); - -// https://github.com/paritytech/polkadot/blob/6e3f2c5b4b6e6927915de2f784e1d831717760fa/runtime/kusama/constants/src/lib.rs#L28-L32 -const UNITS = new BN(10_000_000_000); -const DOLLARS = UNITS; -const GRAND = DOLLARS.muln(1_000); - -// https://github.com/paritytech/polkadot/blob/6e3f2c5b4b6e6927915de2f784e1d831717760fa/runtime/kusama/src/governance/origins.rs#L170-L179 -const SPEND_LIMITS = { - BigSpender: formatSpend(1_000, GRAND), - BigTipper: formatSpend(1, GRAND), - MediumSpender: formatSpend(100, GRAND), - SmallSpender: formatSpend(10, GRAND), - SmallTipper: formatSpend(250, DOLLARS), - Treasurer: formatSpend(10_000, GRAND) -}; - -export const polkadot: Record = { - fellowshipReferenda: [ - { - compare: compareFellowshipRank(0), - id: 0, - name: 'candidates', - origin: { Origins: 'FellowshipInitiates' }, - text: 'Origin commanded by any members of the Polkadot Fellowship (no Dan grade needed)' - }, - { - compare: compareFellowshipRank(1), - id: 1, - name: 'members', - origin: { Origins: 'Fellowship1Dan' }, - text: 'Origin commanded by rank 1 of the Polkadot Fellowship and with a success of 1' - }, - { - compare: compareFellowshipRank(2), - id: 2, - name: 'proficients', - origin: { Origins: 'Fellowship2Dan' }, - text: 'Origin commanded by rank 2 of the Polkadot Fellowship and with a success of 2' - }, - { - - compare: compareFellowshipRank(3), - id: 3, - name: 'fellows', - origin: [ - { Origins: 'Fellowship3Dan' }, - { Origins: 'Fellows' } - ], - text: 'Origin commanded by Polkadot Fellows (3rd Dan fellows or greater)' - }, - { - compare: compareFellowshipRank(4), - id: 4, - name: 'senior fellows', - origin: { Origins: 'Fellowship4Dan' }, - text: 'Origin commanded by rank 4 of the Polkadot Fellowship and with a success of 4' - }, - { - compare: compareFellowshipRank(5), - id: 5, - name: 'experts', - origin: [ - { Origins: 'Fellowship5Dan' }, - { Origins: 'FellowshipExperts' } - ], - text: 'Origin commanded by Polkadot Experts (5th Dan fellows or greater)' - }, - { - compare: compareFellowshipRank(6), - id: 6, - name: 'senior experts', - origin: { Origins: 'Fellowship6Dan' }, - text: 'Origin commanded by rank 6 of the Polkadot Fellowship and with a success of 6' - }, - { - compare: compareFellowshipRank(7), - id: 7, - name: 'masters', - origin: [ - { Origins: 'Fellowship7Dan' }, - { Origins: 'FellowshipMasters' } - ], - text: 'Origin commanded by Polkadot Masters (7th Dan fellows of greater)' - }, - { - compare: compareFellowshipRank(8), - id: 8, - name: 'senior masters', - origin: { Origins: 'Fellowship8Dan' }, - text: 'Origin commanded by rank 8 of the Polkadot Fellowship and with a success of 8' - }, - { - compare: compareFellowshipRank(9), - id: 9, - name: 'grand masters', - origin: { Origins: 'Fellowship9Dan' }, - text: 'Origin commanded by rank 9 of the Polkadot Fellowship and with a success of 9' - } - ], - referenda: [ - { - id: 0, - name: 'root', - origin: { system: 'Root' }, - text: 'Origin for the system root' - }, - { - id: 1, - name: 'whitelisted_caller', - origin: { Origins: 'WhitelistedCaller' }, - text: 'Origin able to dispatch a whitelisted call' - }, - { - id: 10, - name: 'staking_admin', - origin: { Origins: 'StakingAdmin' }, - text: 'Origin for cancelling slashes' - }, - { - id: 11, - name: 'treasurer', - origin: { Origins: 'Treasurer' }, - text: 'Origin for spending (any amount of) funds' - }, - { - id: 12, - name: 'lease_admin', - origin: { Origins: 'LeaseAdmin' }, - text: 'Origin able to force slot leases' - }, - { - id: 13, - name: 'fellowship_admin', - origin: { Origins: 'FellowshipAdmin' }, - text: 'Origin for managing the composition of the fellowship' - }, - { - id: 14, - name: 'general_admin', - origin: { Origins: 'GeneralAdmin' }, - text: 'Origin for managing the registrar' - }, - { - id: 15, - name: 'auction_admin', - origin: { Origins: 'AuctionAdmin' }, - text: 'Origin for starting auctions' - }, - { - id: 20, - name: 'referendum_canceller', - origin: { Origins: 'ReferendumCanceller' }, - text: 'Origin able to cancel referenda' - }, - { - id: 21, - name: 'referendum_killer', - origin: { Origins: 'ReferendumKiller' }, - text: 'Origin able to kill referenda' - }, - { - id: 30, - name: 'small_tipper', - origin: { Origins: 'SmallTipper' }, - text: `Origin able to spend up to ${SPEND_LIMITS.SmallTipper} from the treasury at once` - }, - { - id: 31, - name: 'big_tipper', - origin: { Origins: 'BigTipper' }, - text: `Origin able to spend up to ${SPEND_LIMITS.BigTipper} from the treasury at once` - }, - { - id: 32, - name: 'small_spender', - origin: { Origins: 'SmallSpender' }, - text: `Origin able to spend up to ${SPEND_LIMITS.SmallSpender} from the treasury at once` - }, - { - id: 33, - name: 'medium_spender', - origin: { Origins: 'MediumSpender' }, - text: `Origin able to spend up to ${SPEND_LIMITS.MediumSpender} from the treasury at once` - }, - { - id: 34, - name: 'big_spender', - origin: { Origins: 'BigSpender' }, - text: `Origin able to spend up to ${SPEND_LIMITS.BigSpender} from the treasury at once` - } - ] -}; diff --git a/packages/apps-config/src/api/params/tracks/types.ts b/packages/apps-config/src/api/params/tracks/types.ts deleted file mode 100644 index 88f51321b9ec..000000000000 --- a/packages/apps-config/src/api/params/tracks/types.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2017-2023 @polkadot/app-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { BN } from '@polkadot/util'; - -export type Origin = { system: string } | { Origins: string }; - -export interface TrackInfo { - // TODO We would want to make this generic for non-fellowship - compare?: (memberInfo: BN) => boolean; - id: number; - name: string; - origin: Origin | Origin[]; - text?: string; -} diff --git a/packages/apps-config/src/api/params/tracks/util.ts b/packages/apps-config/src/api/params/tracks/util.ts deleted file mode 100644 index 1714e38b4b21..000000000000 --- a/packages/apps-config/src/api/params/tracks/util.ts +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2017-2023 @polkadot/app-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import { BN, formatBalance } from '@polkadot/util'; - -interface FormatOptions { - decimals: number; - forceUnit: '-', - withSi: true, - withUnit: string; -} - -export function formatSpendFactory (options: FormatOptions): (mul: number, value: BN) => string { - return (mul: number, value: BN): string => { - // We lose the decimals here... depending on chain config, this could be non-optimal - // (A simple formatBalance(value.muln(mul), FMT_OPTS) formats to 4 decimals) - return `${formatBalance(value.muln(mul), options).split('.')[0]} ${options.withUnit}`; - }; -} - -export function compareFellowshipRank (trackId: number): (rank: BN) => boolean { - return (rank: BN): boolean => - rank.gten(trackId); -} diff --git a/packages/apps-config/src/api/spec/acala.ts b/packages/apps-config/src/api/spec/acala.ts index 4eb470909be2..6c972b01e06f 100644 --- a/packages/apps-config/src/api/spec/acala.ts +++ b/packages/apps-config/src/api/spec/acala.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import { typesBundleForPolkadot } from '@acala-network/type-definitions'; diff --git a/packages/apps-config/src/api/spec/ajuna.ts b/packages/apps-config/src/api/spec/ajuna.ts index 8d19aebf6419..c741d532ce80 100644 --- a/packages/apps-config/src/api/spec/ajuna.ts +++ b/packages/apps-config/src/api/spec/ajuna.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/altair.ts b/packages/apps-config/src/api/spec/altair.ts index 9ddcb11ca3dc..c42e2aba418f 100644 --- a/packages/apps-config/src/api/spec/altair.ts +++ b/packages/apps-config/src/api/spec/altair.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/apron.ts b/packages/apps-config/src/api/spec/apron.ts index f6e17ba63646..5ebd2d88973d 100644 --- a/packages/apps-config/src/api/spec/apron.ts +++ b/packages/apps-config/src/api/spec/apron.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/ares-gladios.ts b/packages/apps-config/src/api/spec/ares-gladios.ts index 112cfa4efee7..a2bfee0331f7 100644 --- a/packages/apps-config/src/api/spec/ares-gladios.ts +++ b/packages/apps-config/src/api/spec/ares-gladios.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/ares-parachain.ts b/packages/apps-config/src/api/spec/ares-parachain.ts index 59419280caaa..663e74ff2fe0 100644 --- a/packages/apps-config/src/api/spec/ares-parachain.ts +++ b/packages/apps-config/src/api/spec/ares-parachain.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/astar.ts b/packages/apps-config/src/api/spec/astar.ts index b69ab79cdec3..3734dfedfa05 100644 --- a/packages/apps-config/src/api/spec/astar.ts +++ b/packages/apps-config/src/api/spec/astar.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/automata.ts b/packages/apps-config/src/api/spec/automata.ts index d3d4fef15689..182505362108 100644 --- a/packages/apps-config/src/api/spec/automata.ts +++ b/packages/apps-config/src/api/spec/automata.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/bajun.ts b/packages/apps-config/src/api/spec/bajun.ts index 8d19aebf6419..c741d532ce80 100644 --- a/packages/apps-config/src/api/spec/bajun.ts +++ b/packages/apps-config/src/api/spec/bajun.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/basilisk.ts b/packages/apps-config/src/api/spec/basilisk.ts index 4c6a759b9c46..bc42c219529b 100644 --- a/packages/apps-config/src/api/spec/basilisk.ts +++ b/packages/apps-config/src/api/spec/basilisk.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/beresheet.ts b/packages/apps-config/src/api/spec/beresheet.ts index 44d649ec43b7..52f29455f270 100644 --- a/packages/apps-config/src/api/spec/beresheet.ts +++ b/packages/apps-config/src/api/spec/beresheet.ts @@ -1,11 +1,11 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import pkg from '@edgeware/node-types'; +import { spec } from '@edgeware/node-types'; // There is no separate types bundle for testnet at this time -const beresheet = pkg.spec.typesBundle.spec?.edgeware as OverrideBundleDefinition; +const beresheet = spec.typesBundle.spec?.edgeware as OverrideBundleDefinition; export default beresheet; diff --git a/packages/apps-config/src/api/spec/bifrost-asgard.ts b/packages/apps-config/src/api/spec/bifrost-asgard.ts index e1232ade1cd5..ec873b418ca8 100644 --- a/packages/apps-config/src/api/spec/bifrost-asgard.ts +++ b/packages/apps-config/src/api/spec/bifrost-asgard.ts @@ -1,8 +1,6 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - import { typesBundleForPolkadot } from '@bifrost-finance/type-definitions'; -export default (typesBundleForPolkadot as { spec: { asgard: OverrideBundleDefinition } }).spec.asgard; +export default typesBundleForPolkadot.spec.asgard; diff --git a/packages/apps-config/src/api/spec/bifrost-parachain.ts b/packages/apps-config/src/api/spec/bifrost-parachain.ts index 2d04ab875319..16c60ae9d434 100644 --- a/packages/apps-config/src/api/spec/bifrost-parachain.ts +++ b/packages/apps-config/src/api/spec/bifrost-parachain.ts @@ -1,8 +1,6 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - import { typesBundleForPolkadot } from '@bifrost-finance/type-definitions'; -export default (typesBundleForPolkadot as { spec: { bifrost: OverrideBundleDefinition } }).spec.bifrost; +export default typesBundleForPolkadot.spec.bifrost; diff --git a/packages/apps-config/src/api/spec/bifrost-type-definitions.d.ts b/packages/apps-config/src/api/spec/bifrost-type-definitions.d.ts deleted file mode 100644 index b4d6518685dc..000000000000 --- a/packages/apps-config/src/api/spec/bifrost-type-definitions.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -declare module '@bifrost-finance/type-definitions'; diff --git a/packages/apps-config/src/api/spec/bifrost.ts b/packages/apps-config/src/api/spec/bifrost.ts index 2d04ab875319..16c60ae9d434 100644 --- a/packages/apps-config/src/api/spec/bifrost.ts +++ b/packages/apps-config/src/api/spec/bifrost.ts @@ -1,8 +1,6 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - import { typesBundleForPolkadot } from '@bifrost-finance/type-definitions'; -export default (typesBundleForPolkadot as { spec: { bifrost: OverrideBundleDefinition } }).spec.bifrost; +export default typesBundleForPolkadot.spec.bifrost; diff --git a/packages/apps-config/src/api/spec/bitcountry-pioneer.ts b/packages/apps-config/src/api/spec/bitcountry-pioneer.ts index c86de25e7cbf..40cece597e10 100644 --- a/packages/apps-config/src/api/spec/bitcountry-pioneer.ts +++ b/packages/apps-config/src/api/spec/bitcountry-pioneer.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import { types } from '@metaverse-network-sdk/type-definitions'; diff --git a/packages/apps-config/src/api/spec/bitcountry-rococo.ts b/packages/apps-config/src/api/spec/bitcountry-rococo.ts index 8b291cf67e05..3fa9852534ea 100644 --- a/packages/apps-config/src/api/spec/bitcountry-rococo.ts +++ b/packages/apps-config/src/api/spec/bitcountry-rococo.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/bitcountry.ts b/packages/apps-config/src/api/spec/bitcountry.ts index 2942c8873ed1..9cbe1afc4938 100644 --- a/packages/apps-config/src/api/spec/bitcountry.ts +++ b/packages/apps-config/src/api/spec/bitcountry.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/bittensor.ts b/packages/apps-config/src/api/spec/bittensor.ts deleted file mode 100644 index 512c8425191d..000000000000 --- a/packages/apps-config/src/api/spec/bittensor.ts +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - -// structs need to be in order -/* eslint-disable sort-keys */ - -const definitions: OverrideBundleDefinition = { - types: [ - { - // on all versions - minmax: [0, undefined], - types: { - Balance: 'u64', - NeuronMetadata: { - version: 'u32', - ip: 'u128', - port: 'u16', - ipType: 'u8', - uid: 'u32', - netuid: 'u16', - modality: 'u8', - hotkey: 'AccountId', - coldkey: 'AccountId', - active: 'u32', - lastUpdate: 'u64', - priority: 'u64', - stake: 'u64', - rank: 'u64', - trust: 'u64', - consensus: 'u64', - incentive: 'u64', - dividends: 'u64', - emission: 'u64', - bonds: 'Vec<(u32, u64)>', - weights: 'Vec<(u32, u32)>' - } - } - } - ] -}; - -export default definitions; diff --git a/packages/apps-config/src/api/spec/centrifuge-chain.ts b/packages/apps-config/src/api/spec/centrifuge-chain.ts index a61fa3b494f4..8c6491b3be8d 100644 --- a/packages/apps-config/src/api/spec/centrifuge-chain.ts +++ b/packages/apps-config/src/api/spec/centrifuge-chain.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/centrifuge.ts b/packages/apps-config/src/api/spec/centrifuge.ts index e15bca06045c..b79b5b2d3434 100644 --- a/packages/apps-config/src/api/spec/centrifuge.ts +++ b/packages/apps-config/src/api/spec/centrifuge.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/chainx.ts b/packages/apps-config/src/api/spec/chainx.ts index c5bc1a7a4453..50667e4542e7 100644 --- a/packages/apps-config/src/api/spec/chainx.ts +++ b/packages/apps-config/src/api/spec/chainx.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/clover-rococo.ts b/packages/apps-config/src/api/spec/clover-rococo.ts index 9e4504b4fc67..83ea5d3f88cb 100644 --- a/packages/apps-config/src/api/spec/clover-rococo.ts +++ b/packages/apps-config/src/api/spec/clover-rococo.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/clover.ts b/packages/apps-config/src/api/spec/clover.ts index ca00f4c0cab9..5579f30da8d6 100644 --- a/packages/apps-config/src/api/spec/clover.ts +++ b/packages/apps-config/src/api/spec/clover.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/coinversation.ts b/packages/apps-config/src/api/spec/coinversation.ts index f6e17ba63646..5ebd2d88973d 100644 --- a/packages/apps-config/src/api/spec/coinversation.ts +++ b/packages/apps-config/src/api/spec/coinversation.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/competitors-club.ts b/packages/apps-config/src/api/spec/competitors-club.ts index f7c191d72eae..6e5e54db386e 100644 --- a/packages/apps-config/src/api/spec/competitors-club.ts +++ b/packages/apps-config/src/api/spec/competitors-club.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/contracts.ts b/packages/apps-config/src/api/spec/contracts.ts index e3b2d8d5c127..cc8253e12965 100644 --- a/packages/apps-config/src/api/spec/contracts.ts +++ b/packages/apps-config/src/api/spec/contracts.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/crab.ts b/packages/apps-config/src/api/spec/crab.ts index 8b52c7f899ab..45035a3d153e 100644 --- a/packages/apps-config/src/api/spec/crab.ts +++ b/packages/apps-config/src/api/spec/crab.ts @@ -1,6 +1,6 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { typesBundleForPolkadotApps } from '@darwinia/types/mix/index.js'; +import { typesBundleForPolkadotApps } from '@darwinia/types/mix'; export default typesBundleForPolkadotApps.spec.Crab; diff --git a/packages/apps-config/src/api/spec/crown-sterling.ts b/packages/apps-config/src/api/spec/crown-sterling.ts index c57d8c9eb6e2..f0aec3011df8 100644 --- a/packages/apps-config/src/api/spec/crown-sterling.ts +++ b/packages/apps-config/src/api/spec/crown-sterling.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/crust.ts b/packages/apps-config/src/api/spec/crust.ts index e01830dfeb26..1255db8b7dbf 100644 --- a/packages/apps-config/src/api/spec/crust.ts +++ b/packages/apps-config/src/api/spec/crust.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/cumulus-test-parachain.ts b/packages/apps-config/src/api/spec/cumulus-test-parachain.ts index f6e17ba63646..5ebd2d88973d 100644 --- a/packages/apps-config/src/api/spec/cumulus-test-parachain.ts +++ b/packages/apps-config/src/api/spec/cumulus-test-parachain.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/curio.ts b/packages/apps-config/src/api/spec/curio.ts deleted file mode 100644 index 4795cba4ddee..000000000000 --- a/packages/apps-config/src/api/spec/curio.ts +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - -/* eslint-disable sort-keys */ -const definitions: OverrideBundleDefinition = { - types: [ - { - // on all versions - minmax: [0, undefined], - types: { - StakingRates: { - collatorStakingRate: 'Perquintill', - collatorRewardRate: 'Perquintill', - delegatorStakingRate: 'Perquintill', - delegatorRewardRate: 'Perquintill' - } - } - } - ], - runtime: { - Staking: [ - { - methods: { - get_staking_rates: { - description: 'Calculate the current staking and reward rates for collators and delegators', - params: [], - type: 'StakingRates' - }, - get_unclaimed_staking_rewards: { - description: 'Calculate the claimable staking rewards for a given account address', - params: [ - { - name: 'account', - type: 'AccountId32' - } - ], - type: 'Balance' - } - }, - version: 1 - } - ] - } -}; - -export default definitions; diff --git a/packages/apps-config/src/api/spec/darwinia.ts b/packages/apps-config/src/api/spec/darwinia.ts index 3b2f9271de63..855ae00a37a5 100644 --- a/packages/apps-config/src/api/spec/darwinia.ts +++ b/packages/apps-config/src/api/spec/darwinia.ts @@ -1,6 +1,6 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { typesBundleForPolkadotApps } from '@darwinia/types/mix/index.js'; +import { typesBundleForPolkadotApps } from '@darwinia/types/mix'; export default typesBundleForPolkadotApps.spec.Darwinia; diff --git a/packages/apps-config/src/api/spec/datahighway.ts b/packages/apps-config/src/api/spec/datahighway.ts index 20ffe119f449..59d05e98ca7a 100644 --- a/packages/apps-config/src/api/spec/datahighway.ts +++ b/packages/apps-config/src/api/spec/datahighway.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/dock-mainnet.ts b/packages/apps-config/src/api/spec/dock-mainnet.ts index 94a3711f4d80..24b76135c24a 100644 --- a/packages/apps-config/src/api/spec/dock-mainnet.ts +++ b/packages/apps-config/src/api/spec/dock-mainnet.ts @@ -1,9 +1,10 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import types from '@docknetwork/node-types'; +// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-var-requires +const types: any = require('@docknetwork/node-types'); // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access const definitions = types.spec['dock-main-runtime'] as OverrideBundleDefinition; diff --git a/packages/apps-config/src/api/spec/dock-testnet.ts b/packages/apps-config/src/api/spec/dock-testnet.ts index 24462e260b85..391652970b01 100644 --- a/packages/apps-config/src/api/spec/dock-testnet.ts +++ b/packages/apps-config/src/api/spec/dock-testnet.ts @@ -1,9 +1,10 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import types from '@docknetwork/node-types'; +// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-var-requires +const types: any = require('@docknetwork/node-types'); // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access const definitions = types.spec['dock-test-runtime'] as OverrideBundleDefinition; diff --git a/packages/apps-config/src/api/spec/docknetwork__node-types.d.ts b/packages/apps-config/src/api/spec/docknetwork__node-types.d.ts deleted file mode 100644 index 1212d401f71a..000000000000 --- a/packages/apps-config/src/api/spec/docknetwork__node-types.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -declare module '@docknetwork/node-types'; diff --git a/packages/apps-config/src/api/spec/dolphin.ts b/packages/apps-config/src/api/spec/dolphin.ts index e68721835750..452aa3a75ee0 100644 --- a/packages/apps-config/src/api/spec/dolphin.ts +++ b/packages/apps-config/src/api/spec/dolphin.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/dotmog.ts b/packages/apps-config/src/api/spec/dotmog.ts index 736ade1a8b01..9b5c06ce2e6d 100644 --- a/packages/apps-config/src/api/spec/dotmog.ts +++ b/packages/apps-config/src/api/spec/dotmog.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/eave.ts b/packages/apps-config/src/api/spec/eave.ts index 5ff77bbde7d0..97925164cee4 100644 --- a/packages/apps-config/src/api/spec/eave.ts +++ b/packages/apps-config/src/api/spec/eave.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/edgeware.ts b/packages/apps-config/src/api/spec/edgeware.ts index 26ffd14bcc11..0babfe3de7cc 100644 --- a/packages/apps-config/src/api/spec/edgeware.ts +++ b/packages/apps-config/src/api/spec/edgeware.ts @@ -1,10 +1,10 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import pkg from '@edgeware/node-types'; +import { spec } from '@edgeware/node-types'; -const edgeware = pkg.spec.typesBundle.spec?.edgeware as OverrideBundleDefinition; +const edgeware = spec.typesBundle.spec?.edgeware as OverrideBundleDefinition; export default edgeware; diff --git a/packages/apps-config/src/api/spec/encointer-node-notee.ts b/packages/apps-config/src/api/spec/encointer-node-notee.ts index 09cb3102ed5c..12d2c944afee 100644 --- a/packages/apps-config/src/api/spec/encointer-node-notee.ts +++ b/packages/apps-config/src/api/spec/encointer-node-notee.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; @@ -9,246 +9,74 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types'; const definitions: OverrideBundleDefinition = { types: [ { - // Metadata v14 was introduced here. Hence, we don't need type overrides anymore. - minmax: [9, undefined], + // on all versions + minmax: [0, undefined], types: { - // Types for the signed extensions still need to be declared. - CommunityIdentifier: { - geohash: 'GeoHash', - digest: 'CidDigest' - }, - GeoHash: '[u8; 5]', - // We need to call it `CidDigest` because plain `Digest` is already a substrate type. - CidDigest: '[u8; 4]' - } - }, - { - // until v14 - minmax: [0, 8], - types: { - ShardIdentifier: 'Hash', - GetterArgs: '(AccountId, CommunityIdentifier)', - Enclave: { - pubkey: 'AccountId', - mrenclave: 'Hash', - timestamp: 'u64', - url: 'Text' - }, - PublicGetter: { - _enum: { - total_issuance: 'CommunityIdentifier', - participant_count: 'CommunityIdentifier', - meetup_count: 'CommunityIdentifier', - ceremony_reward: 'CommunityIdentifier', - location_tolerance: 'CommunityIdentifier', - time_tolerance: 'CommunityIdentifier', - scheduler_state: 'CommunityIdentifier' - } - }, - TrustedGetter: { - _enum: { - balance: '(AccountId, CommunityIdentifier)', - participant_index: '(AccountId, CommunityIdentifier)', - meetup_index: '(AccountId, CommunityIdentifier)', - attestations: '(AccountId, CommunityIdentifier)', - meetup_registry: '(AccountId, CommunityIdentifier)' - } - }, - TrustedGetterSigned: { - getter: 'TrustedGetter', - signature: 'Signature' - }, - Getter: { - _enum: { - public: 'PublicGetter', - trusted: 'TrustedGetterSigned' - } - }, - ClientRequest: { - _enum: { - PubKeyWorker: null, - MuRaPortWorker: null, - StfState: '(Getter, ShardIdentifier)' - } - }, - WorkerEncoded: 'Vec', - Request: { - shard: 'ShardIdentifier', - cyphertext: 'WorkerEncoded' - }, - TrustedCallSigned: { - call: 'TrustedCall', - nonce: 'u32', - signature: 'Signature' - }, - TrustedCall: { - _enum: { - balance_transfer: 'BalanceTransferArgs', - ceremonies_register_participant: 'RegisterParticipantArgs', - ceremonies_register_attestations: 'RegisterAttestationsArgs', - ceremonies_grant_reputation: 'GrantReputationArgs' - } + Address: 'MultiAddress', + LookupSource: 'MultiAddress', + CeremonyPhaseType: { + _enum: [ + 'Registering', + 'Assigning', + 'Attesting' + ] }, - BalanceTransferArgs: '(AccountId, AccountId, CommunityIdentifier, BalanceType)', - RegisterParticipantArgs: '(AccountId, CommunityIdentifier, Option>)', - RegisterAttestationsArgs: '(AccountId, Vec>)', - GrantReputationArgs: '(AccountId, CommunityIdentifier, AccountId)', + CeremonyIndexType: 'u32', + ParticipantIndexType: 'u64', + MeetupIndexType: 'u64', + AttestationIndexType: 'u64', + CurrencyIdentifier: 'Hash', BalanceType: 'i128', BalanceEntry: { - principal: 'BalanceType', - lastUpdate: 'BlockNumber' + principal: 'i128', + last_update: 'BlockNumber' }, - Demurrage: 'BalanceType', - - BusinessIdentifier: { - communityIdentifier: 'CommunityIdentifier', - controller: 'AccountId' + CurrencyCeremony: { + cid: 'CurrencyIdentifier', + cindex: 'CeremonyIndexType' }, - OfferingIdentifier: 'u32', - BusinessData: { - url: 'PalletString', - last_oid: 'u32' - }, - OfferingData: { - url: 'PalletString' - }, - PalletString: 'Text', - IpfsCid: 'Text', - FixedI64F64: { - bits: 'i128' - }, - CeremonyIndexType: 'u32', - CeremonyPhaseType: { - _enum: ['Registering', 'Assigning', 'Attesting'] + Location: { + lat: 'i64', + lon: 'i64' }, - ParticipantIndexType: 'u64', - MeetupIndexType: 'u64', - AttestationIndexType: 'u64', - MeetupAssignment: '(MeetupIndexType, Option)', - MeetupTimeOffsetType: 'i32', Reputation: { - _enum: ['Unverified', 'UnverifiedReputable', 'VerifiedUnlinked', 'VerifiedLinked'] + _enum: [ + 'Unverified', + 'UnverifiedReputable', + 'VerifiedUnlinked', + 'VerifiedLinked' + ] }, - CommunityReputation: { - communityIdentifier: 'CommunityIdentifier', - reputation: 'Reputation' + CurrencyPropertiesType: { + name_utf8: 'Text', + demurrage_per_block: 'i128' }, ClaimOfAttendance: { - claimantPublic: 'AccountId', - ceremonyIndex: 'CeremonyIndexType', - communityIdentifier: 'CommunityIdentifier', - meetupIndex: 'MeetupIndexType', + claimant_public: 'AccountId', + ceremony_index: 'CeremonyIndexType', + currency_identifier: 'CurrencyIdentifier', + meetup_index: 'MeetupIndexType', location: 'Location', timestamp: 'Moment', - numberOfParticipantsConfirmed: 'u32', - claimantSignature: 'Option' - }, - ClaimOfAttendanceSigningPayload: { - claimantPublic: 'AccountId', - ceremonyIndex: 'CeremonyIndexType', - communityIdentifier: 'CommunityIdentifier', - meetupIndex: 'MeetupIndexType', - location: 'Location', - timestamp: 'Moment', - numberOfParticipantsConfirmed: 'u32' - }, - AssignmentCount: { - bootstrappers: 'ParticipantIndexType', - reputables: 'ParticipantIndexType', - endorsees: 'ParticipantIndexType', - newbies: 'ParticipantIndexType' - }, - Assignment: { - bootstrappersReputables: 'AssignmentParams', - endorsees: 'AssignmentParams', - newbies: 'AssignmentParams', - locations: 'AssignmentParams' - }, - AssignmentParams: { - m: 'u64', - s1: 'u64', - s2: 'u64' - }, - CommunityCeremonyStats: { - communityCeremony: '(CommunityIdentifier, CeremonyIndexType)', - assignment: 'Assignment', - assignmentCount: 'AssignmentCount', - meetupCount: 'MeetupIndexType', - meetups: 'Vec' + number_of_participants_confirmed: 'u32' }, - Meetup: { - index: 'MeetupIndexType', - location: 'LocationRpc', - time: 'Moment', - registrations: 'Vec<(AccountId, ParticipantRegistration)>' - }, - ParticipantRegistration: { - index: 'ParticipantIndexType', - registrationType: 'RegistrationType' - }, - RegistrationType: { - _enum: ['Bootstrapper', 'Reputable', 'Endorsee', 'Newbie'] - }, - // Todo: remove this type does no longer exist in ceremonies, but it still exists in the trusted stuff. Attestation: { claim: 'ClaimOfAttendance', - signature: 'MultiSignature', + signature: 'Signature', public: 'AccountId' }, ProofOfAttendance: { - proverPublic: 'AccountId', - ceremonyIndex: 'CeremonyIndexType', - communityIdentifier: 'CommunityIdentifier', - attendeePublic: 'AccountId', - attendeeSignature: 'MultiSignature' - }, - CommunityIdentifier: { - geohash: 'GeoHash', - digest: 'CidDigest' - }, - GeoHash: '[u8; 5]', - // We need to call it `CidDigest` because plain `Digest` is already a substrate type. - CidDigest: '[u8; 4]', - CommunityCeremony: '(CommunityIdentifier,CeremonyIndexType)', - NominalIncomeType: 'BalanceType', - // This is used when handling fixed-point numbers that have been serialized with `serialize_fixed` on rusts end, - // which is the case when we call any rpc-getters. - DegreeRpc: 'Text', - // This is used when we need to encode fixed-point numbers with scale-codec, e.g., when using it in an extrinsic. - DegreeFixed: 'i128', - Location: { - lat: 'DegreeFixed', - lon: 'DegreeFixed' - }, - LocationRpc: { - lat: 'DegreeRpc', - lon: 'DegreeRpc' - }, - CidName: { - cid: 'CommunityIdentifier', - name: 'Text' - }, - CommunityMetadataType: { - name: 'Text', - symbol: 'Text', - assets: 'Text', - theme: 'Option', - url: 'Option' - }, - SystemNumber: 'u32', - SchedulerState: '(CeremonyIndexType, CeremonyPhaseType, SystemNumber)' + prover_public: 'AccountId', + ceremony_index: 'CeremonyIndexType', + currency_identifier: 'CurrencyIdentifier', + attendee_public: 'AccountId', + attendee_signature: 'Signature' + }, + ShopIdentifier: 'Text', + ArticleIdentifier: 'Text' } } - ], - signedExtensions: { - ChargeAssetTxPayment: { - extrinsic: { - tip: 'Compact', - assetId: 'Option' - }, - payload: {} - } - } + ] }; export default definitions; diff --git a/packages/apps-config/src/api/spec/encointer-node-teeproxy.ts b/packages/apps-config/src/api/spec/encointer-node-teeproxy.ts index b3184a8699f3..a2aabb7cb62f 100644 --- a/packages/apps-config/src/api/spec/encointer-node-teeproxy.ts +++ b/packages/apps-config/src/api/spec/encointer-node-teeproxy.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/encointer-para.ts b/packages/apps-config/src/api/spec/encointer-para.ts index 1e61c25c32c3..7ae4b42b9343 100644 --- a/packages/apps-config/src/api/spec/encointer-para.ts +++ b/packages/apps-config/src/api/spec/encointer-para.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; @@ -9,250 +9,81 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types'; const definitions: OverrideBundleDefinition = { types: [ { - // metadata v14 was introduced here. Hence, we don't need type overrides anymore. - minmax: [3, undefined], + // on all versions + minmax: [0, undefined], types: { - CommunityIdentifier: { - geohash: 'GeoHash', - digest: 'CidDigest' - }, - GeoHash: '[u8; 5]', - // We need to call it `CidDigest` because plain `Digest` is already a substrate type. - CidDigest: '[u8; 4]' - } - }, - { - // until metadata v14 - minmax: [0, 2], - types: { - ShardIdentifier: 'Hash', - GetterArgs: '(AccountId, CommunityIdentifier)', - Enclave: { - pubkey: 'AccountId', - mrenclave: 'Hash', - timestamp: 'u64', - url: 'Text' - }, - PublicGetter: { - _enum: { - total_issuance: 'CommunityIdentifier', - participant_count: 'CommunityIdentifier', - meetup_count: 'CommunityIdentifier', - ceremony_reward: 'CommunityIdentifier', - location_tolerance: 'CommunityIdentifier', - time_tolerance: 'CommunityIdentifier', - scheduler_state: 'CommunityIdentifier' - } - }, - TrustedGetter: { - _enum: { - balance: '(AccountId, CommunityIdentifier)', - participant_index: '(AccountId, CommunityIdentifier)', - meetup_index: '(AccountId, CommunityIdentifier)', - attestations: '(AccountId, CommunityIdentifier)', - meetup_registry: '(AccountId, CommunityIdentifier)' - } - }, - TrustedGetterSigned: { - getter: 'TrustedGetter', - signature: 'Signature' - }, - Getter: { - _enum: { - public: 'PublicGetter', - trusted: 'TrustedGetterSigned' - } - }, - ClientRequest: { - _enum: { - PubKeyWorker: null, - MuRaPortWorker: null, - StfState: '(Getter, ShardIdentifier)' - } - }, - WorkerEncoded: 'Vec', - Request: { - shard: 'ShardIdentifier', - cyphertext: 'WorkerEncoded' - }, - TrustedCallSigned: { - call: 'TrustedCall', - nonce: 'u32', - signature: 'Signature' - }, - TrustedCall: { - _enum: { - balance_transfer: 'BalanceTransferArgs', - ceremonies_register_participant: 'RegisterParticipantArgs', - ceremonies_register_attestations: 'RegisterAttestationsArgs', - ceremonies_grant_reputation: 'GrantReputationArgs' - } + Address: 'AccountId', + LookupSource: 'AccountId', + CeremonyPhaseType: { + _enum: [ + 'Registering', + 'Assigning', + 'Attesting' + ] }, - BalanceTransferArgs: '(AccountId, AccountId, CommunityIdentifier, BalanceType)', - RegisterParticipantArgs: '(AccountId, CommunityIdentifier, Option>)', - RegisterAttestationsArgs: '(AccountId, Vec>)', - GrantReputationArgs: '(AccountId, CommunityIdentifier, AccountId)', - + CeremonyIndexType: 'u32', + ParticipantIndexType: 'u64', + MeetupIndexType: 'u64', + AttestationIndexType: 'u64', + CommunityIdentifier: 'Hash', BalanceType: 'i128', BalanceEntry: { - principal: 'BalanceType', - lastUpdate: 'BlockNumber' - }, - Demurrage: 'BalanceType', - - BusinessIdentifier: { - communityIdentifier: 'CommunityIdentifier', - controller: 'AccountId' + principal: 'i128', + last_update: 'BlockNumber' }, - OfferingIdentifier: 'u32', - BusinessData: { - url: 'PalletString', - last_oid: 'u32' - }, - OfferingData: { - url: 'PalletString' - }, - - PalletString: 'Text', - IpfsCid: 'Text', - FixedI64F64: { - bits: 'i128' + CommunityCeremony: { + cid: 'CommunityIdentifier', + cindex: 'CeremonyIndexType' }, - - CeremonyIndexType: 'u32', - CeremonyPhaseType: { - _enum: ['Registering', 'Assigning', 'Attesting'] + Location: { + lat: 'i64', + lon: 'i64' }, - ParticipantIndexType: 'u64', - MeetupIndexType: 'u64', - AttestationIndexType: 'u64', - MeetupAssignment: '(MeetupIndexType, Option)', - MeetupTimeOffsetType: 'i32', Reputation: { - _enum: ['Unverified', 'UnverifiedReputable', 'VerifiedUnlinked', 'VerifiedLinked'] + _enum: [ + 'Unverified', + 'UnverifiedReputable', + 'VerifiedUnlinked', + 'VerifiedLinked' + ] }, - CommunityReputation: { - communityIdentifier: 'CommunityIdentifier', - reputation: 'Reputation' + CommunityPropertiesType: { + name_utf8: 'Text', + demurrage_per_block: 'i128' }, ClaimOfAttendance: { - claimantPublic: 'AccountId', - ceremonyIndex: 'CeremonyIndexType', - communityIdentifier: 'CommunityIdentifier', - meetupIndex: 'MeetupIndexType', + claimant_public: 'AccountId', + ceremony_index: 'CeremonyIndexType', + community_identifier: 'CommunityIdentifier', + meetup_index: 'MeetupIndexType', location: 'Location', timestamp: 'Moment', - numberOfParticipantsConfirmed: 'u32', - claimantSignature: 'Option' - }, - ClaimOfAttendanceSigningPayload: { - claimantPublic: 'AccountId', - ceremonyIndex: 'CeremonyIndexType', - communityIdentifier: 'CommunityIdentifier', - meetupIndex: 'MeetupIndexType', - location: 'Location', - timestamp: 'Moment', - numberOfParticipantsConfirmed: 'u32' - }, - AssignmentCount: { - bootstrappers: 'ParticipantIndexType', - reputables: 'ParticipantIndexType', - endorsees: 'ParticipantIndexType', - newbies: 'ParticipantIndexType' - }, - Assignment: { - bootstrappersReputables: 'AssignmentParams', - endorsees: 'AssignmentParams', - newbies: 'AssignmentParams', - locations: 'AssignmentParams' - }, - AssignmentParams: { - m: 'u64', - s1: 'u64', - s2: 'u64' - }, - CommunityCeremonyStats: { - communityCeremony: '(CommunityIdentifier, CeremonyIndexType)', - assignment: 'Assignment', - assignmentCount: 'AssignmentCount', - meetupCount: 'MeetupIndexType', - meetups: 'Vec' - }, - Meetup: { - index: 'MeetupIndexType', - location: 'LocationRpc', - time: 'Moment', - registrations: 'Vec<(AccountId, ParticipantRegistration)>' + number_of_participants_confirmed: 'u32' }, - ParticipantRegistration: { - index: 'ParticipantIndexType', - registrationType: 'RegistrationType' - }, - RegistrationType: { - _enum: ['Bootstrapper', 'Reputable', 'Endorsee', 'Newbie'] - }, - // Todo: remove this type does no longer exist in ceremonies, but it still exists in the trusted stuff. Attestation: { claim: 'ClaimOfAttendance', - signature: 'MultiSignature', + signature: 'Signature', public: 'AccountId' }, ProofOfAttendance: { - proverPublic: 'AccountId', - ceremonyIndex: 'CeremonyIndexType', - communityIdentifier: 'CommunityIdentifier', - attendeePublic: 'AccountId', - attendeeSignature: 'MultiSignature' - }, - - CommunityIdentifier: { - geohash: 'GeoHash', - digest: 'CidDigest' - }, - GeoHash: '[u8; 5]', - // We need to call it `CidDigest` because plain `Digest` is already a substrate type. - CidDigest: '[u8; 4]', - CommunityCeremony: '(CommunityIdentifier,CeremonyIndexType)', - NominalIncomeType: 'BalanceType', - // This is used when handling fixed-point numbers that have been serialized with `serialize_fixed` on rusts end, - // which is the case when we call any rpc-getters. - DegreeRpc: 'Text', - // This is used when we need to encode fixed-point numbers with scale-codec, e.g., when using it in an extrinsic. - DegreeFixed: 'i128', - Location: { - lat: 'DegreeFixed', - lon: 'DegreeFixed' - }, - LocationRpc: { - lat: 'DegreeRpc', - lon: 'DegreeRpc' - }, - CidName: { - cid: 'CommunityIdentifier', - name: 'Text' - }, - CommunityMetadataType: { - name: 'Text', - symbol: 'Text', - assets: 'Text', - theme: 'Option', - url: 'Option' - }, - - SystemNumber: 'u32', - SchedulerState: '(CeremonyIndexType, CeremonyPhaseType, SystemNumber)' + 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' + ] + } } } - ], - signedExtensions: { - ChargeAssetTxPayment: { - extrinsic: { - tip: 'Compact', - assetId: 'Option' - }, - payload: {} - } - } + ] }; export default definitions; diff --git a/packages/apps-config/src/api/spec/equilibrium.ts b/packages/apps-config/src/api/spec/equilibrium.ts index 12b6d66f8f5a..6e7e0a12f704 100644 --- a/packages/apps-config/src/api/spec/equilibrium.ts +++ b/packages/apps-config/src/api/spec/equilibrium.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Observable } from 'rxjs'; @@ -6,7 +6,7 @@ import type { ApiInterfaceRx, AugmentedQuery, RxResult } from '@polkadot/api/typ import type { AccountData, AccountId, AccountIndex, Address, Balance } from '@polkadot/types/interfaces'; import type { Codec, OverrideBundleDefinition } from '@polkadot/types/types'; -import eqDefs from '@equilab/definitions'; +import { equilibrium, equilibriumNext } from '@equilab/definitions'; import { map } from 'rxjs'; import { Enum } from '@polkadot/types'; @@ -37,8 +37,6 @@ type EqBalanceDoubleMap = AugmentedQuery< [AccountId, Currency] > -const { equilibrium, equilibriumNext } = eqDefs; - export const u64FromCurrency = (currency: string): number => { const buf = Buffer.from(currency.toLowerCase()); const size = buf.length; @@ -95,7 +93,7 @@ const signedBalancePredicate = (raw: Codec): raw is SignedBalance => ); export const createCustomAccount = (currency: string, currencyToAsset: (curr: string, api?: ApiInterfaceRx) => A, accountDataType = 'AccountData'): -(instanceId: string, api: ApiInterfaceRx) => RxResult<(arg: string | Uint8Array | AccountId) => Observable> => (_instanceId: string, api: ApiInterfaceRx) => { +(instanceId: string, api: ApiInterfaceRx) => RxResult<(arg: string | Uint8Array | AccountId) => Observable> => (instanceId: string, api: ApiInterfaceRx) => { const registry = api.registry; const transform = (balance: SB): AccountData => { diff --git a/packages/apps-config/src/api/spec/fantour.ts b/packages/apps-config/src/api/spec/fantour.ts index 9a55665e5b2b..cf6d5496350c 100644 --- a/packages/apps-config/src/api/spec/fantour.ts +++ b/packages/apps-config/src/api/spec/fantour.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/fragnova.ts b/packages/apps-config/src/api/spec/fragnova.ts deleted file mode 100644 index 5a7cff6276f9..000000000000 --- a/packages/apps-config/src/api/spec/fragnova.ts +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -// Not used/included in index.ts as of https://github.com/polkadot-js/apps/pull/9243 - -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - -import { options } from '@fragnova/api-augment'; - -export default { - ...options, - types: [ - { - // on all versions - minmax: [0, undefined], - types: options.types - } - ] -} as OverrideBundleDefinition; diff --git a/packages/apps-config/src/api/spec/frequency.ts b/packages/apps-config/src/api/spec/frequency.ts deleted file mode 100644 index 6eb8e4e86338..000000000000 --- a/packages/apps-config/src/api/spec/frequency.ts +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -// Not used/included in index.ts as of https://github.com/polkadot-js/apps/pull/9243 - -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - -import { rpc, runtime, signedExtensions, types } from '@frequency-chain/api-augment'; - -export default { - rpc, - runtime, - signedExtensions, - types: [ - { - // on all versions - minmax: [0, undefined], - types - } - ] -} as OverrideBundleDefinition; diff --git a/packages/apps-config/src/api/spec/galital-parachain.ts b/packages/apps-config/src/api/spec/galital-parachain.ts index 99598fb88153..1e851d7dae80 100644 --- a/packages/apps-config/src/api/spec/galital-parachain.ts +++ b/packages/apps-config/src/api/spec/galital-parachain.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/galital.ts b/packages/apps-config/src/api/spec/galital.ts index 502ff22a78d1..193cd17f7bf6 100644 --- a/packages/apps-config/src/api/spec/galital.ts +++ b/packages/apps-config/src/api/spec/galital.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/galois.ts b/packages/apps-config/src/api/spec/galois.ts index 7b500fbe71a8..b427a71134b7 100644 --- a/packages/apps-config/src/api/spec/galois.ts +++ b/packages/apps-config/src/api/spec/galois.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/gamepower.ts b/packages/apps-config/src/api/spec/gamepower.ts index 2252d19bccc6..7eb3dd278de6 100644 --- a/packages/apps-config/src/api/spec/gamepower.ts +++ b/packages/apps-config/src/api/spec/gamepower.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/genshiro.ts b/packages/apps-config/src/api/spec/genshiro.ts index 2ced580f6272..32dcd63a8391 100644 --- a/packages/apps-config/src/api/spec/genshiro.ts +++ b/packages/apps-config/src/api/spec/genshiro.ts @@ -1,13 +1,11 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import eqDefs from '@equilab/definitions'; +import { genshiro } from '@equilab/definitions'; -import { createCustomAccount, u64FromCurrency } from './equilibrium.js'; - -const { genshiro } = eqDefs; +import { createCustomAccount, u64FromCurrency } from './equilibrium'; const definitions: OverrideBundleDefinition = { derives: { diff --git a/packages/apps-config/src/api/spec/hanonycash.ts b/packages/apps-config/src/api/spec/hanonycash.ts index 7a1b7baee47f..c5ed1b4539c8 100644 --- a/packages/apps-config/src/api/spec/hanonycash.ts +++ b/packages/apps-config/src/api/spec/hanonycash.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/hydrate.ts b/packages/apps-config/src/api/spec/hydrate.ts index b435dd3fe962..909c416b9367 100644 --- a/packages/apps-config/src/api/spec/hydrate.ts +++ b/packages/apps-config/src/api/spec/hydrate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/idavoll.ts b/packages/apps-config/src/api/spec/idavoll.ts index f6e17ba63646..5ebd2d88973d 100644 --- a/packages/apps-config/src/api/spec/idavoll.ts +++ b/packages/apps-config/src/api/spec/idavoll.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/imbue.ts b/packages/apps-config/src/api/spec/imbue.ts index 951463a626d5..80ab6904e262 100644 --- a/packages/apps-config/src/api/spec/imbue.ts +++ b/packages/apps-config/src/api/spec/imbue.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index da74ea08b7df..e4b6b4e05457 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -1,139 +1,132 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import acala from './acala.js'; -import ajuna from './ajuna.js'; -import altair from './altair.js'; -import apron from './apron.js'; -import aresGladios from './ares-gladios.js'; -import aresParachain from './ares-parachain.js'; -import astar from './astar.js'; -import automata from './automata.js'; -import bajun from './bajun.js'; -import basilisk from './basilisk.js'; -import beresheet from './beresheet.js'; -import bifrost from './bifrost.js'; -import bifrostAsgard from './bifrost-asgard.js'; -import bifrostParachain from './bifrost-parachain.js'; -import bitcountry from './bitcountry.js'; -import bitcountryPioneer from './bitcountry-pioneer.js'; -import bitcountryParachain from './bitcountry-rococo.js'; -import centrifuge from './centrifuge.js'; -import centrifugeChain from './centrifuge-chain.js'; -import chainx from './chainx.js'; -import clover from './clover.js'; -import cloverRococo from './clover-rococo.js'; -import coinversation from './coinversation.js'; -import competitorsClub from './competitors-club.js'; -import contracts from './contracts.js'; -import crab from './crab.js'; -import crownSterlingChain from './crown-sterling.js'; -import crust from './crust.js'; -import testPara from './cumulus-test-parachain.js'; -import curio from './curio.js'; -import darwinia from './darwinia.js'; -import datahighwayParachain from './datahighway.js'; -import dockMainnet from './dock-mainnet.js'; -import dockTestnet from './dock-testnet.js'; -import dotmog from './dotmog.js'; -import eave from './eave.js'; -import edgeware from './edgeware.js'; -import encointerNodeNotee from './encointer-node-notee.js'; -import encointerNodeTeeproxy from './encointer-node-teeproxy.js'; -import encointerPara from './encointer-para.js'; -import equilibrium from './equilibrium.js'; -import fantour from './fantour.js'; -// See https://github.com/polkadot-js/apps/pull/9243 -// import fragnova from './fragnova.js'; -// See https://github.com/polkadot-js/apps/pull/9243 -// import frequency from './frequency.js'; -import galital from './galital.js'; -import galitalParachain from './galital-parachain.js'; -import galois from './galois.js'; -import gamepower from './gamepower.js'; -import genshiro from './genshiro.js'; -import hanonycash from './hanonycash.js'; -import hydrate from './hydrate.js'; -import idavoll from './idavoll.js'; -import imbue from './imbue.js'; -import integritee from './integritee.js'; -import interbtc from './interbtc.js'; -import ipse from './ipse.js'; -import jupiter from './jupiter.js'; -import jupiterRococo from './jupiter-rococo.js'; -import jur from './jur.js'; -import khala from './khala.js'; -import konomi from './konomi.js'; -import kpron from './kpron.js'; -import kulupu from './kulupu.js'; -import kusari from './kusari.js'; -import kylin from './kylin.js'; -import laminar from './laminar.js'; -import litentry from './litentry.js'; -import logion from './logion.js'; -import logionParachain from './logion-parachain.js'; -import mangata from './mangata.js'; -import manta from './manta.js'; -import mathchain from './mathchain.js'; -import moonbeam from './moonbeam.js'; -import mybank from './mybank.js'; -import neatcoin from './neatcoin.js'; -import nftmart from './nftmart.js'; -import nodle from './nodle.js'; -import oak from './oak.js'; -import opal from './opal.js'; -import opportunity from './opportunity.js'; -import origintrail from './origintrail.js'; -import pangolin from './pangolin.js'; -import pangoro from './pangoro.js'; -import parallel from './parallel.js'; -import parami from './parami.js'; -import phoenix from './phoenix.js'; -import pichiu from './pichiu.js'; -import polkadex from './polkadex.js'; -import polkafoundry from './polkafoundry.js'; -import polymeshMainnet from './polymesh-mainnet.js'; -import polymeshTestnet from './polymesh-testnet.js'; -import pontem from './pontem.js'; -import prism from './prism.js'; -import quartz from './quartz.js'; -import realis from './realis.js'; -import riochain from './riochain.js'; -import robonomics from './robonomics.js'; -import rootnet from './rootnet.js'; -import sapphire from './sapphire.js'; -import shibuya from './shibuya.js'; -import shiden from './shiden.js'; -import snowbridge from './snowbridge.js'; -import soraSubstrate from './soraSubstrate.js'; -import spanner from './spanner.js'; -import stafi from './stafi.js'; -import standard from './standard.js'; -import subdao from './subdao.js'; -import subgame from './subgame.js'; -import subsocial from './subsocial.js'; -import subspace from './subspace.js'; -import substrateContractsNode from './substrateContractsNode.js'; -import swapdex from './swapdex.js'; -import t0rn from './t0rn.js'; -import ternoa from './ternoa.js'; -import trustbase from './trustbase.js'; -import turing from './turing.js'; -import uart from './uart.js'; -import unique from './unique.js'; -import unitnetwork from './unitnetwork.js'; -import unitv from './unitv.js'; -import vln from './vln.js'; -import vlnrococo from './vln-rococo.js'; -import vodka from './vodka.js'; -import web3games from './web3games.js'; -import westlake from './westlake.js'; -import zCloak from './zCloak.js'; -import zeitgeist from './zeitgeist.js'; -import zenlink from './zenlink.js'; -import zero from './zero.js'; +import acala from './acala'; +import ajuna from './ajuna'; +import altair from './altair'; +import apron from './apron'; +import aresGladios from './ares-gladios'; +import aresParachain from './ares-parachain'; +import astar from './astar'; +import automata from './automata'; +import bajun from './bajun'; +import basilisk from './basilisk'; +import beresheet from './beresheet'; +import bifrost from './bifrost'; +import bifrostAsgard from './bifrost-asgard'; +import bifrostParachain from './bifrost-parachain'; +import bitcountry from './bitcountry'; +import bitcountryPioneer from './bitcountry-pioneer'; +import bitcountryParachain from './bitcountry-rococo'; +import centrifuge from './centrifuge'; +import centrifugeChain from './centrifuge-chain'; +import chainx from './chainx'; +import clover from './clover'; +import cloverRococo from './clover-rococo'; +import coinversation from './coinversation'; +import competitorsClub from './competitors-club'; +import contracts from './contracts'; +import crab from './crab'; +import crownSterlingChain from './crown-sterling'; +import crust from './crust'; +import testPara from './cumulus-test-parachain'; +import darwinia from './darwinia'; +import datahighwayParachain from './datahighway'; +import dockMainnet from './dock-mainnet'; +import dockTestnet from './dock-testnet'; +import dotmog from './dotmog'; +import eave from './eave'; +import edgeware from './edgeware'; +import encointerNodeNotee from './encointer-node-notee'; +import encointerNodeTeeproxy from './encointer-node-teeproxy'; +import encointerPara from './encointer-para'; +import equilibrium from './equilibrium'; +import fantour from './fantour'; +import galital from './galital'; +import galitalParachain from './galital-parachain'; +import galois from './galois'; +import gamepower from './gamepower'; +import genshiro from './genshiro'; +import hanonycash from './hanonycash'; +import hydrate from './hydrate'; +import idavoll from './idavoll'; +import imbue from './imbue'; +import integritee from './integritee'; +import interbtc from './interbtc'; +import ipse from './ipse'; +import joystream from './joystream'; +import jupiter from './jupiter'; +import jupiterRococo from './jupiter-rococo'; +import khala from './khala'; +import kilt from './kilt'; +import konomi from './konomi'; +import kpron from './kpron'; +import kulupu from './kulupu'; +import kusari from './kusari'; +import kylin from './kylin'; +import laminar from './laminar'; +import litentry from './litentry'; +import logion from './logion'; +import logionParachain from './logion-parachain'; +import mangata from './mangata'; +import manta from './manta'; +import mathchain from './mathchain'; +import moonbeam from './moonbeam'; +import mybank from './mybank'; +import neatcoin from './neatcoin'; +import nftmart from './nftmart'; +import nodle from './nodle'; +import oak from './oak'; +import opal from './opal'; +import opportunity from './opportunity'; +import origintrail from './origintrail'; +import pangolin from './pangolin'; +import pangoro from './pangoro'; +import parallel from './parallel'; +import parami from './parami'; +import phoenix from './phoenix'; +import pichiu from './pichiu'; +import polkadex from './polkadex'; +import polkafoundry from './polkafoundry'; +import polymesh from './polymesh'; +import pontem from './pontem'; +import prism from './prism'; +import quartz from './quartz'; +import realis from './realis'; +import riochain from './riochain'; +import robonomics from './robonomics'; +import rootnet from './rootnet'; +import shibuya from './shibuya'; +import shiden from './shiden'; +import snowbridge from './snowbridge'; +import soraSubstrate from './soraSubstrate'; +import spanner from './spanner'; +import stafi from './stafi'; +import standard from './standard'; +import subdao from './subdao'; +import subgame from './subgame'; +import subsocial from './subsocial'; +import subspace from './subspace'; +import substrateContractsNode from './substrateContractsNode'; +import swapdex from './swapdex'; +import t0rn from './t0rn'; +import ternoa from './ternoa'; +import trustbase from './trustbase'; +import turing from './turing'; +import uart from './uart'; +import unique from './unique'; +import unitv from './unitv'; +import vln from './vln'; +import vlnrococo from './vln-rococo'; +import vodka from './vodka'; +import web3games from './web3games'; +import westlake from './westlake'; +import zCloak from './zCloak'; +import zeitgeist from './zeitgeist'; +import zenlink from './zenlink'; +import zero from './zero'; // NOTE: The mapping is done from specName in state.getRuntimeVersion const spec: Record = { @@ -179,8 +172,6 @@ const spec: Record = { crust, 'crust-parachain': crust, 'cumulus-test-parachain': testPara, - 'curio-devnet': curio, - 'curio-testnet': curio, datahighway: westlake, 'datahighway-parachain': datahighwayParachain, dawn: eave, @@ -193,12 +184,6 @@ const spec: Record = { 'encointer-node-teeproxy': encointerNodeTeeproxy, 'encointer-parachain': encointerPara, fantour, - // See https://github.com/polkadot-js/apps/pull/9243 - // fragnova, - // 'fragnova-testnet': fragnova, - // See https://github.com/polkadot-js/apps/pull/9243 - // frequency, - // 'frequency-rococo': frequency, galital, 'galital-collator': galitalParachain, gamepower, @@ -214,11 +199,13 @@ const spec: Record = { 'interbtc-standalone': interbtc, 'interlay-parachain': interbtc, 'ipse-node': ipse, + 'joystream-node': joystream, 'jupiter-prep': jupiter, 'jupiter-rococo': jupiterRococo, - 'jur-chain': jur, kerria: parallel, khala, + 'kilt-parachain': kilt, + 'kilt-spiritnet': kilt, 'kintsugi-parachain': interbtc, konomi, kpron, @@ -232,6 +219,7 @@ const spec: Record = { mangata, 'mangata-parachain': mangata, 'manta-node': manta, + 'mashnet-node': kilt, mathchain, 'mathchain-galois': galois, moonbase: moonbeam, @@ -254,8 +242,7 @@ const spec: Record = { 'phoenix-parachain': phoenix, pichiu, 'pioneer-runtime': bitcountryPioneer, - polymesh_mainnet: polymeshMainnet, - polymesh_testnet: polymeshTestnet, + polymesh, 'pontem-node': pontem, prism, quartz, @@ -263,7 +250,6 @@ const spec: Record = { 'riochain-runtime': riochain, robonomics, root: rootnet, - sapphire, shibuya, shiden, snowbridge, @@ -290,11 +276,8 @@ const spec: Record = { unique, 'unit-node': unitv, 'unit-parachain': unitv, - 'unitnetwork-node': unitnetwork, - 'unitnetwork-parachain': unitnetwork, unorthodox: standard, vanilla: parallel, - vara: standard, vodka, 'web3games-node': web3games, 'zcloak-network': zCloak, diff --git a/packages/apps-config/src/api/spec/integritee.ts b/packages/apps-config/src/api/spec/integritee.ts index 18c03ef9da91..5a7fab026fd7 100644 --- a/packages/apps-config/src/api/spec/integritee.ts +++ b/packages/apps-config/src/api/spec/integritee.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/interbtc.ts b/packages/apps-config/src/api/spec/interbtc.ts index 562e1975e778..e53b9652e774 100644 --- a/packages/apps-config/src/api/spec/interbtc.ts +++ b/packages/apps-config/src/api/spec/interbtc.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-assignment */ @@ -14,7 +14,6 @@ import { DeriveBalancesAll } from '@polkadot/api-derive/types'; import { memo } from '@polkadot/api-derive/util'; import { TypeRegistry, U128 } from '@polkadot/types'; import { Balance } from '@polkadot/types/interfaces'; -import { FrameSystemAccountInfo } from '@polkadot/types/lookup'; import { BN, formatBalance } from '@polkadot/util'; function balanceOf (number: number | string): U128 { @@ -50,12 +49,11 @@ export function getBalance ( return memo( instanceId, (account: string): Observable => - combineLatest<[any, any]>([api.query.tokens.accounts(account, { Token: nativeToken }), api.query.system.account(account)]).pipe( - map(([data, systemAccount]: [OrmlAccountData, FrameSystemAccountInfo]): DeriveBalancesAll => { + combineLatest<[any]>([api.query.tokens.accounts(account, { Token: nativeToken })]).pipe( + map(([data]: [OrmlAccountData]): DeriveBalancesAll => { return { ...defaultAccountBalance(), accountId: api.registry.createType('AccountId', account), - accountNonce: systemAccount.nonce, availableBalance: api.registry.createType('Balance', data.free.sub(data.frozen)), freeBalance: data.free, lockedBalance: data.frozen, @@ -69,7 +67,6 @@ export function getBalance ( const definitions: OverrideBundleDefinition = { derives: { balances: { - account: getBalance, all: getBalance } }, diff --git a/packages/apps-config/src/api/spec/ipse.ts b/packages/apps-config/src/api/spec/ipse.ts index fcc3a09728e5..64a37999f400 100644 --- a/packages/apps-config/src/api/spec/ipse.ts +++ b/packages/apps-config/src/api/spec/ipse.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/joystream.ts b/packages/apps-config/src/api/spec/joystream.ts new file mode 100644 index 000000000000..278fb087a3c6 --- /dev/null +++ b/packages/apps-config/src/api/spec/joystream.ts @@ -0,0 +1,879 @@ +// Copyright 2017-2022 @polkadot/apps-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import type { OverrideBundleDefinition } from '@polkadot/types/types'; + +// structs need to be in order +/* eslint-disable sort-keys */ + +const definitions: OverrideBundleDefinition = { + types: [ + { + // on all versions + minmax: [0, undefined], + 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' + } + } + ] +}; + +export default definitions; diff --git a/packages/apps-config/src/api/spec/jupiter-rococo.ts b/packages/apps-config/src/api/spec/jupiter-rococo.ts index dd59647c404c..41ec3d184dec 100644 --- a/packages/apps-config/src/api/spec/jupiter-rococo.ts +++ b/packages/apps-config/src/api/spec/jupiter-rococo.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/jupiter.ts b/packages/apps-config/src/api/spec/jupiter.ts index c4a9aad8f31d..55d3acae114c 100644 --- a/packages/apps-config/src/api/spec/jupiter.ts +++ b/packages/apps-config/src/api/spec/jupiter.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/jur.ts b/packages/apps-config/src/api/spec/jur.ts deleted file mode 100644 index daf3946df5f3..000000000000 --- a/packages/apps-config/src/api/spec/jur.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - -const definitions: OverrideBundleDefinition = { - types: [ - { - // on all versions - minmax: [0, undefined], - types: {} - } - ] -}; - -export default definitions; diff --git a/packages/apps-config/src/api/spec/khala.ts b/packages/apps-config/src/api/spec/khala.ts index 6d6e0d26a84a..f556a9ddd442 100644 --- a/packages/apps-config/src/api/spec/khala.ts +++ b/packages/apps-config/src/api/spec/khala.ts @@ -1,8 +1,8 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import { typesBundle } from '@phala/typedefs'; +import { versionedKhala } from '@phala/typedefs'; -export default typesBundle as OverrideBundleDefinition; +export default versionedKhala as OverrideBundleDefinition; diff --git a/packages/apps-config/src/api/spec/kilt.ts b/packages/apps-config/src/api/spec/kilt.ts new file mode 100644 index 000000000000..6349bdd0ddd8 --- /dev/null +++ b/packages/apps-config/src/api/spec/kilt.ts @@ -0,0 +1,8 @@ +// Copyright 2017-2022 @polkadot/apps-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import type { OverrideBundleDefinition } from '@polkadot/types/types'; + +import { typeBundleForPolkadot } from '@kiltprotocol/type-definitions'; + +export default typeBundleForPolkadot as unknown as OverrideBundleDefinition; diff --git a/packages/apps-config/src/api/spec/konomi.ts b/packages/apps-config/src/api/spec/konomi.ts index f6e17ba63646..5ebd2d88973d 100644 --- a/packages/apps-config/src/api/spec/konomi.ts +++ b/packages/apps-config/src/api/spec/konomi.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/kpron.ts b/packages/apps-config/src/api/spec/kpron.ts index f6e17ba63646..5ebd2d88973d 100644 --- a/packages/apps-config/src/api/spec/kpron.ts +++ b/packages/apps-config/src/api/spec/kpron.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/kulupu.ts b/packages/apps-config/src/api/spec/kulupu.ts index 1364b6e72d04..014d2ed35a54 100644 --- a/packages/apps-config/src/api/spec/kulupu.ts +++ b/packages/apps-config/src/api/spec/kulupu.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/kusari.ts b/packages/apps-config/src/api/spec/kusari.ts index 1cac59b62cdf..1fe1974325cb 100644 --- a/packages/apps-config/src/api/spec/kusari.ts +++ b/packages/apps-config/src/api/spec/kusari.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/kylin.ts b/packages/apps-config/src/api/spec/kylin.ts index f9a5d9b245c7..de0e4341fcc3 100644 --- a/packages/apps-config/src/api/spec/kylin.ts +++ b/packages/apps-config/src/api/spec/kylin.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/laminar.ts b/packages/apps-config/src/api/spec/laminar.ts index 12035f7e3d0b..164382dbf7ef 100644 --- a/packages/apps-config/src/api/spec/laminar.ts +++ b/packages/apps-config/src/api/spec/laminar.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/litentry.ts b/packages/apps-config/src/api/spec/litentry.ts index f6e17ba63646..5ebd2d88973d 100644 --- a/packages/apps-config/src/api/spec/litentry.ts +++ b/packages/apps-config/src/api/spec/litentry.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/logion-parachain.ts b/packages/apps-config/src/api/spec/logion-parachain.ts index 85ba613720ff..d5fd1307f24e 100644 --- a/packages/apps-config/src/api/spec/logion-parachain.ts +++ b/packages/apps-config/src/api/spec/logion-parachain.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/logion.ts b/packages/apps-config/src/api/spec/logion.ts index 3022fc2e0c73..b5b46be82838 100644 --- a/packages/apps-config/src/api/spec/logion.ts +++ b/packages/apps-config/src/api/spec/logion.ts @@ -1,12 +1,12 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -// structs need to be in order -/* eslint-disable sort-keys */ - import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import logionDefault, { session as logionSession } from '@logion/node-api/dist/interfaces/definitions.js'; +import logionDefault, { session as logionSession } from '@logion/node-api/dist/interfaces/definitions'; + +// structs need to be in order +/* eslint-disable sort-keys */ const defaultTypesUpTo109 = { Address: 'MultiAddress', diff --git a/packages/apps-config/src/api/spec/mangata.ts b/packages/apps-config/src/api/spec/mangata.ts index a8cf3d2bee2c..0afbc60d1f62 100644 --- a/packages/apps-config/src/api/spec/mangata.ts +++ b/packages/apps-config/src/api/spec/mangata.ts @@ -1,6 +1,8 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { typesBundleForPolkadotApps } from '@mangata-finance/types'; +// Since this libary includes augmented definitions, we inmport it via +// a CJS bridge ... which hopefully just short-circuits all of that +import { typesBundleForPolkadotApps } from '../../cjs/mangata.js'; export default typesBundleForPolkadotApps; diff --git a/packages/apps-config/src/api/spec/manta.ts b/packages/apps-config/src/api/spec/manta.ts index 51a0c1766ade..e1b11cc7f641 100644 --- a/packages/apps-config/src/api/spec/manta.ts +++ b/packages/apps-config/src/api/spec/manta.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/mathchain.ts b/packages/apps-config/src/api/spec/mathchain.ts index 7b500fbe71a8..b427a71134b7 100644 --- a/packages/apps-config/src/api/spec/mathchain.ts +++ b/packages/apps-config/src/api/spec/mathchain.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/moonbeam.ts b/packages/apps-config/src/api/spec/moonbeam.ts index 23032dca175c..28681e8d0518 100644 --- a/packages/apps-config/src/api/spec/moonbeam.ts +++ b/packages/apps-config/src/api/spec/moonbeam.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import { moonbeamDefinitions } from 'moonbeam-types-bundle'; diff --git a/packages/apps-config/src/api/spec/moonsama-development.ts b/packages/apps-config/src/api/spec/moonsama-development.ts index f6e17ba63646..5ebd2d88973d 100644 --- a/packages/apps-config/src/api/spec/moonsama-development.ts +++ b/packages/apps-config/src/api/spec/moonsama-development.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/mybank.ts b/packages/apps-config/src/api/spec/mybank.ts index cf332001c9ac..a3d4b1f440fd 100644 --- a/packages/apps-config/src/api/spec/mybank.ts +++ b/packages/apps-config/src/api/spec/mybank.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/neatcoin.ts b/packages/apps-config/src/api/spec/neatcoin.ts index 0d2adf7fb4ab..4a360fea574a 100644 --- a/packages/apps-config/src/api/spec/neatcoin.ts +++ b/packages/apps-config/src/api/spec/neatcoin.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/nftmart.ts b/packages/apps-config/src/api/spec/nftmart.ts index 692108d0b9df..f21ecd3d2b01 100644 --- a/packages/apps-config/src/api/spec/nftmart.ts +++ b/packages/apps-config/src/api/spec/nftmart.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/nodle.ts b/packages/apps-config/src/api/spec/nodle.ts index e03ad6b0270a..b8d2a2261cf6 100644 --- a/packages/apps-config/src/api/spec/nodle.ts +++ b/packages/apps-config/src/api/spec/nodle.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/oak.ts b/packages/apps-config/src/api/spec/oak.ts index e9fd5708e1a5..d813192f4dcd 100644 --- a/packages/apps-config/src/api/spec/oak.ts +++ b/packages/apps-config/src/api/spec/oak.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/opal.ts b/packages/apps-config/src/api/spec/opal.ts index f80f37b36121..89266a28d2c5 100644 --- a/packages/apps-config/src/api/spec/opal.ts +++ b/packages/apps-config/src/api/spec/opal.ts @@ -1,19 +1,10 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import pkg from '@unique-nft/opal-testnet-types/definitions.js'; - -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-ignore -const { appPromotion, unique } = pkg; +import { unique } from '@unique-nft/opal-testnet-types/definitions'; export default { - rpc: { - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access - appPromotion: appPromotion.rpc, - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access - unique: unique.rpc - } + rpc: { unique: unique.rpc } } as OverrideBundleDefinition; diff --git a/packages/apps-config/src/api/spec/opportunity-defs.d.ts b/packages/apps-config/src/api/spec/opportunity-defs.d.ts index a9b18f4fe963..1fe7a0a257f0 100644 --- a/packages/apps-config/src/api/spec/opportunity-defs.d.ts +++ b/packages/apps-config/src/api/spec/opportunity-defs.d.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -declare module '@digitalnative/type-definitions/opportunity/index.js'; +declare module '@digitalnative/type-definitions/opportunity'; diff --git a/packages/apps-config/src/api/spec/opportunity.ts b/packages/apps-config/src/api/spec/opportunity.ts index a1e31d568ebc..da9714a4acc3 100644 --- a/packages/apps-config/src/api/spec/opportunity.ts +++ b/packages/apps-config/src/api/spec/opportunity.ts @@ -1,7 +1,7 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import definitions from '@digitalnative/type-definitions/opportunity/index.js'; +import definitions from '@digitalnative/type-definitions/opportunity'; import { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/origintrail.ts b/packages/apps-config/src/api/spec/origintrail.ts index f6e17ba63646..5ebd2d88973d 100644 --- a/packages/apps-config/src/api/spec/origintrail.ts +++ b/packages/apps-config/src/api/spec/origintrail.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/pangolin.ts b/packages/apps-config/src/api/spec/pangolin.ts index d457bd4d7887..8a05c46ec713 100644 --- a/packages/apps-config/src/api/spec/pangolin.ts +++ b/packages/apps-config/src/api/spec/pangolin.ts @@ -1,6 +1,6 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { typesBundleForPolkadotApps } from '@darwinia/types/mix/index.js'; +import { typesBundleForPolkadotApps } from '@darwinia/types/mix'; export default typesBundleForPolkadotApps.spec.Pangolin; diff --git a/packages/apps-config/src/api/spec/pangoro.ts b/packages/apps-config/src/api/spec/pangoro.ts index bd9c8057979d..e75cf90f4ea8 100644 --- a/packages/apps-config/src/api/spec/pangoro.ts +++ b/packages/apps-config/src/api/spec/pangoro.ts @@ -1,7 +1,7 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { typesBundleForPolkadotApps } from '@darwinia/types/mix/index.js'; +import { typesBundleForPolkadotApps } from '@darwinia/types/mix'; // use pangolin types; export default typesBundleForPolkadotApps.spec.Pangolin; diff --git a/packages/apps-config/src/api/spec/parallel.ts b/packages/apps-config/src/api/spec/parallel.ts index 0f4b2763cda8..75b30e6d1751 100644 --- a/packages/apps-config/src/api/spec/parallel.ts +++ b/packages/apps-config/src/api/spec/parallel.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import { typesBundleForPolkadot } from '@parallel-finance/type-definitions'; diff --git a/packages/apps-config/src/api/spec/parami.ts b/packages/apps-config/src/api/spec/parami.ts index e9fd5708e1a5..d813192f4dcd 100644 --- a/packages/apps-config/src/api/spec/parami.ts +++ b/packages/apps-config/src/api/spec/parami.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/phoenix.ts b/packages/apps-config/src/api/spec/phoenix.ts index 1445582775c9..46b25d173cbf 100644 --- a/packages/apps-config/src/api/spec/phoenix.ts +++ b/packages/apps-config/src/api/spec/phoenix.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/pichiu.ts b/packages/apps-config/src/api/spec/pichiu.ts index f9a5d9b245c7..de0e4341fcc3 100644 --- a/packages/apps-config/src/api/spec/pichiu.ts +++ b/packages/apps-config/src/api/spec/pichiu.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/plasm.ts b/packages/apps-config/src/api/spec/plasm.ts index ccba8d5d6385..1fd3a7b8a004 100644 --- a/packages/apps-config/src/api/spec/plasm.ts +++ b/packages/apps-config/src/api/spec/plasm.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/polkadex.ts b/packages/apps-config/src/api/spec/polkadex.ts index 87bb5d1f3ada..50b1346f7170 100644 --- a/packages/apps-config/src/api/spec/polkadex.ts +++ b/packages/apps-config/src/api/spec/polkadex.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/polkafoundry.ts b/packages/apps-config/src/api/spec/polkafoundry.ts index 6c251b7b980e..7d83d4050884 100644 --- a/packages/apps-config/src/api/spec/polkafoundry.ts +++ b/packages/apps-config/src/api/spec/polkafoundry.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/polymesh-mainnet.ts b/packages/apps-config/src/api/spec/polymesh-mainnet.ts deleted file mode 100644 index 7cfd50785ed2..000000000000 --- a/packages/apps-config/src/api/spec/polymesh-mainnet.ts +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - -import { typesBundle } from '@polymeshassociation/polymesh-types'; - -const definitions: OverrideBundleDefinition = typesBundle.spec.polymesh_mainnet; - -export default definitions; diff --git a/packages/apps-config/src/api/spec/polymesh-testnet.ts b/packages/apps-config/src/api/spec/polymesh-testnet.ts deleted file mode 100644 index 6f67b9ca6a97..000000000000 --- a/packages/apps-config/src/api/spec/polymesh-testnet.ts +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - -import { typesBundle } from '@polymeshassociation/polymesh-types'; - -const definitions: OverrideBundleDefinition = typesBundle.spec.polymesh_testnet; - -export default definitions; diff --git a/packages/apps-config/src/api/spec/polymesh.ts b/packages/apps-config/src/api/spec/polymesh.ts new file mode 100644 index 000000000000..f94ec8940ca0 --- /dev/null +++ b/packages/apps-config/src/api/spec/polymesh.ts @@ -0,0 +1,19 @@ +// Copyright 2017-2022 @polkadot/apps-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import type { OverrideBundleDefinition } from '@polkadot/types/types'; + +import schema from '@polymathnetwork/polymesh-types'; + +const definitions: OverrideBundleDefinition = { + rpc: schema.rpc, + types: [ + { + // on all versions + minmax: [0, undefined], + types: schema.types + } + ] +}; + +export default definitions; diff --git a/packages/apps-config/src/api/spec/pontem.ts b/packages/apps-config/src/api/spec/pontem.ts index a75133201174..5004bbd72af5 100644 --- a/packages/apps-config/src/api/spec/pontem.ts +++ b/packages/apps-config/src/api/spec/pontem.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import { pontemDefinitions } from 'pontem-types-bundle'; diff --git a/packages/apps-config/src/api/spec/prism.ts b/packages/apps-config/src/api/spec/prism.ts index f6e17ba63646..5ebd2d88973d 100644 --- a/packages/apps-config/src/api/spec/prism.ts +++ b/packages/apps-config/src/api/spec/prism.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/quartz.ts b/packages/apps-config/src/api/spec/quartz.ts index 5723b4f5df30..45907ef96df0 100644 --- a/packages/apps-config/src/api/spec/quartz.ts +++ b/packages/apps-config/src/api/spec/quartz.ts @@ -1,19 +1,10 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import pkg from '@unique-nft/quartz-mainnet-types/definitions.js'; - -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-ignore -const { appPromotion, unique } = pkg; +import { unique } from '@unique-nft/quartz-mainnet-types/definitions'; export default { - rpc: { - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access - appPromotion: appPromotion.rpc, - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access - unique: unique.rpc - } + rpc: { unique: unique.rpc } } as OverrideBundleDefinition; diff --git a/packages/apps-config/src/api/spec/realis.ts b/packages/apps-config/src/api/spec/realis.ts index 958db78d9f6b..8ac317eea211 100644 --- a/packages/apps-config/src/api/spec/realis.ts +++ b/packages/apps-config/src/api/spec/realis.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/riochain.ts b/packages/apps-config/src/api/spec/riochain.ts index 726868a19482..df51f5cc1bb8 100644 --- a/packages/apps-config/src/api/spec/riochain.ts +++ b/packages/apps-config/src/api/spec/riochain.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/robonomics.ts b/packages/apps-config/src/api/spec/robonomics.ts index 87f0af38ea32..569e205405b1 100644 --- a/packages/apps-config/src/api/spec/robonomics.ts +++ b/packages/apps-config/src/api/spec/robonomics.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/rootnet.ts b/packages/apps-config/src/api/spec/rootnet.ts index 97865e4796d9..50855433ff2a 100644 --- a/packages/apps-config/src/api/spec/rootnet.ts +++ b/packages/apps-config/src/api/spec/rootnet.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/sapphire.ts b/packages/apps-config/src/api/spec/sapphire.ts deleted file mode 100644 index 97a2f7dd48e7..000000000000 --- a/packages/apps-config/src/api/spec/sapphire.ts +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - -import pkg from '@unique-nft/sapphire-mainnet-types/definitions.js'; - -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-ignore -const { appPromotion, unique } = pkg; - -export default { - rpc: { - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access - appPromotion: appPromotion.rpc, - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access - unique: unique.rpc - } -} as OverrideBundleDefinition; diff --git a/packages/apps-config/src/api/spec/shibuya.ts b/packages/apps-config/src/api/spec/shibuya.ts index d34bd4989b1d..2a5011ac7a1f 100644 --- a/packages/apps-config/src/api/spec/shibuya.ts +++ b/packages/apps-config/src/api/spec/shibuya.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/shiden.ts b/packages/apps-config/src/api/spec/shiden.ts index d34bd4989b1d..2a5011ac7a1f 100644 --- a/packages/apps-config/src/api/spec/shiden.ts +++ b/packages/apps-config/src/api/spec/shiden.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/snowbridge.ts b/packages/apps-config/src/api/spec/snowbridge.ts index c5f8f237e61e..119c2058dad6 100644 --- a/packages/apps-config/src/api/spec/snowbridge.ts +++ b/packages/apps-config/src/api/spec/snowbridge.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import { definition } from '@snowfork/snowbridge-types'; diff --git a/packages/apps-config/src/api/spec/soraSubstrate.ts b/packages/apps-config/src/api/spec/soraSubstrate.ts index ac7aaf9ceb31..856ba8560e38 100644 --- a/packages/apps-config/src/api/spec/soraSubstrate.ts +++ b/packages/apps-config/src/api/spec/soraSubstrate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/spanner.ts b/packages/apps-config/src/api/spec/spanner.ts index de1765f9ef6a..4a63f5ba3e00 100644 --- a/packages/apps-config/src/api/spec/spanner.ts +++ b/packages/apps-config/src/api/spec/spanner.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/spreehafen.ts b/packages/apps-config/src/api/spec/spreehafen.ts index e9fd5708e1a5..d813192f4dcd 100644 --- a/packages/apps-config/src/api/spec/spreehafen.ts +++ b/packages/apps-config/src/api/spec/spreehafen.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/stafi.ts b/packages/apps-config/src/api/spec/stafi.ts index 67443d244d1d..815be0e8a32d 100644 --- a/packages/apps-config/src/api/spec/stafi.ts +++ b/packages/apps-config/src/api/spec/stafi.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/standard-defs.d.ts b/packages/apps-config/src/api/spec/standard-defs.d.ts index 9510e5431887..d0fdac7ca786 100644 --- a/packages/apps-config/src/api/spec/standard-defs.d.ts +++ b/packages/apps-config/src/api/spec/standard-defs.d.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -declare module '@digitalnative/type-definitions/standard/index.js'; +declare module '@digitalnative/type-definitions/standard'; diff --git a/packages/apps-config/src/api/spec/standard.ts b/packages/apps-config/src/api/spec/standard.ts index 251b777750f6..e586f05bbcf0 100644 --- a/packages/apps-config/src/api/spec/standard.ts +++ b/packages/apps-config/src/api/spec/standard.ts @@ -1,7 +1,7 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import definitions from '@digitalnative/type-definitions/standard/index.js'; +import definitions from '@digitalnative/type-definitions/standard'; import { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/subdao.ts b/packages/apps-config/src/api/spec/subdao.ts index e9fd5708e1a5..d813192f4dcd 100644 --- a/packages/apps-config/src/api/spec/subdao.ts +++ b/packages/apps-config/src/api/spec/subdao.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/subgame.ts b/packages/apps-config/src/api/spec/subgame.ts index 294f5b054ea1..d6df346e20fa 100644 --- a/packages/apps-config/src/api/spec/subgame.ts +++ b/packages/apps-config/src/api/spec/subgame.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/subsocial.ts b/packages/apps-config/src/api/spec/subsocial.ts index d437ff3328ba..07c517ad9f5e 100644 --- a/packages/apps-config/src/api/spec/subsocial.ts +++ b/packages/apps-config/src/api/spec/subsocial.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // IMPORTANT @@ -7,6 +7,6 @@ // import { types } from '@subsocial/types'; // we end up with multiple version of types/API since it uses CJS, // therefore here we explicitly import from the definitions (as re-exported) -import { types } from '@subsocial/definitions/interfaces/subsocial/definitions.js'; // KEEP, see above +import { types } from '@subsocial/definitions/interfaces/subsocial/definitions'; // KEEP, see above export default { types }; diff --git a/packages/apps-config/src/api/spec/subspace.ts b/packages/apps-config/src/api/spec/subspace.ts index af6e48f02cfb..a4cb160c2025 100644 --- a/packages/apps-config/src/api/spec/subspace.ts +++ b/packages/apps-config/src/api/spec/subspace.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/substrateContractsNode.ts b/packages/apps-config/src/api/spec/substrateContractsNode.ts index 00bacb249f26..4e454abd5b32 100644 --- a/packages/apps-config/src/api/spec/substrateContractsNode.ts +++ b/packages/apps-config/src/api/spec/substrateContractsNode.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/swapdex.ts b/packages/apps-config/src/api/spec/swapdex.ts index 1cac59b62cdf..1fe1974325cb 100644 --- a/packages/apps-config/src/api/spec/swapdex.ts +++ b/packages/apps-config/src/api/spec/swapdex.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/t0rn.ts b/packages/apps-config/src/api/spec/t0rn.ts index 567f9da75a1c..18e9514fa50b 100644 --- a/packages/apps-config/src/api/spec/t0rn.ts +++ b/packages/apps-config/src/api/spec/t0rn.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/tanganika.ts b/packages/apps-config/src/api/spec/tanganika.ts index e9fd5708e1a5..d813192f4dcd 100644 --- a/packages/apps-config/src/api/spec/tanganika.ts +++ b/packages/apps-config/src/api/spec/tanganika.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/ternoa.ts b/packages/apps-config/src/api/spec/ternoa.ts index b78862acc5e7..6f5b5a3ee3fa 100644 --- a/packages/apps-config/src/api/spec/ternoa.ts +++ b/packages/apps-config/src/api/spec/ternoa.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/trustbase.ts b/packages/apps-config/src/api/spec/trustbase.ts index f6e17ba63646..5ebd2d88973d 100644 --- a/packages/apps-config/src/api/spec/trustbase.ts +++ b/packages/apps-config/src/api/spec/trustbase.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/turing.ts b/packages/apps-config/src/api/spec/turing.ts index e9fd5708e1a5..d813192f4dcd 100644 --- a/packages/apps-config/src/api/spec/turing.ts +++ b/packages/apps-config/src/api/spec/turing.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/uart.ts b/packages/apps-config/src/api/spec/uart.ts index a333f319f25d..c05c8ef60b40 100644 --- a/packages/apps-config/src/api/spec/uart.ts +++ b/packages/apps-config/src/api/spec/uart.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/unique.ts b/packages/apps-config/src/api/spec/unique.ts index b820ae246876..7bd086489702 100644 --- a/packages/apps-config/src/api/spec/unique.ts +++ b/packages/apps-config/src/api/spec/unique.ts @@ -1,19 +1,10 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import pkg from '@unique-nft/unique-mainnet-types/definitions.js'; - -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-ignore -const { appPromotion, unique } = pkg; +import { unique } from '@unique-nft/unique-mainnet-types/definitions'; export default { - rpc: { - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access - appPromotion: appPromotion.rpc, - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access - unique: unique.rpc - } + rpc: { unique: unique.rpc } } as OverrideBundleDefinition; diff --git a/packages/apps-config/src/api/spec/unitnetwork.ts b/packages/apps-config/src/api/spec/unitnetwork.ts deleted file mode 100644 index e9fd5708e1a5..000000000000 --- a/packages/apps-config/src/api/spec/unitnetwork.ts +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors -// SPDX-License-Identifier: Apache-2.0 - -import type { OverrideBundleDefinition } from '@polkadot/types/types'; - -// structs need to be in order -/* eslint-disable sort-keys */ - -const definitions: OverrideBundleDefinition = { - types: [ - { - // on all versions - minmax: [0, undefined], - types: {} - } - ] -}; - -export default definitions; diff --git a/packages/apps-config/src/api/spec/unitv.ts b/packages/apps-config/src/api/spec/unitv.ts index 67443d244d1d..815be0e8a32d 100644 --- a/packages/apps-config/src/api/spec/unitv.ts +++ b/packages/apps-config/src/api/spec/unitv.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/vln-rococo.ts b/packages/apps-config/src/api/spec/vln-rococo.ts index 518fca428cd1..b5f2f55f42dc 100644 --- a/packages/apps-config/src/api/spec/vln-rococo.ts +++ b/packages/apps-config/src/api/spec/vln-rococo.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/vln.ts b/packages/apps-config/src/api/spec/vln.ts index ec1d49b22c87..76fb404f26b6 100644 --- a/packages/apps-config/src/api/spec/vln.ts +++ b/packages/apps-config/src/api/spec/vln.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/vodka.ts b/packages/apps-config/src/api/spec/vodka.ts index cfde9762b62f..ef53e1a3d94b 100644 --- a/packages/apps-config/src/api/spec/vodka.ts +++ b/packages/apps-config/src/api/spec/vodka.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/web3games.ts b/packages/apps-config/src/api/spec/web3games.ts index 68f8d949bb21..7044c3a6d0e6 100644 --- a/packages/apps-config/src/api/spec/web3games.ts +++ b/packages/apps-config/src/api/spec/web3games.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/westlake.ts b/packages/apps-config/src/api/spec/westlake.ts index edf2df2dd962..f94349fe5794 100644 --- a/packages/apps-config/src/api/spec/westlake.ts +++ b/packages/apps-config/src/api/spec/westlake.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/zCloak.ts b/packages/apps-config/src/api/spec/zCloak.ts index 648c20d81f87..84cf14586535 100644 --- a/packages/apps-config/src/api/spec/zCloak.ts +++ b/packages/apps-config/src/api/spec/zCloak.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/zeitgeist.ts b/packages/apps-config/src/api/spec/zeitgeist.ts index b49ce54f0e6a..134b809f0d0b 100644 --- a/packages/apps-config/src/api/spec/zeitgeist.ts +++ b/packages/apps-config/src/api/spec/zeitgeist.ts @@ -1,11 +1,11 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; import * as typeDefs from '@zeitgeistpm/type-defs'; -import { typesFromDefs } from '../util.js'; +import { typesFromDefs } from '../util'; const bundle = { alias: { @@ -16,9 +16,7 @@ const bundle = { types: [{ minmax: [0, undefined], types: { - // the cast here is needed to make the build happy, - // however the output is actually correct as well... - ...typesFromDefs(typeDefs as unknown as Record }>), + ...typesFromDefs(typeDefs), TokensAccountData: { free: 'Balance', frozen: 'Balance', diff --git a/packages/apps-config/src/api/spec/zenlink.ts b/packages/apps-config/src/api/spec/zenlink.ts index db8a5c568bff..7d3094c1526f 100644 --- a/packages/apps-config/src/api/spec/zenlink.ts +++ b/packages/apps-config/src/api/spec/zenlink.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/spec/zero.ts b/packages/apps-config/src/api/spec/zero.ts index 4eb5e34c4ae3..0ae5fc9890cf 100644 --- a/packages/apps-config/src/api/spec/zero.ts +++ b/packages/apps-config/src/api/spec/zero.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/typesBundle.spec.ts b/packages/apps-config/src/api/typesBundle.spec.ts index 4a7d0f14180a..846629fa7990 100644 --- a/packages/apps-config/src/api/typesBundle.spec.ts +++ b/packages/apps-config/src/api/typesBundle.spec.ts @@ -1,26 +1,25 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -/// - -import fs from 'node:fs'; +import fs from 'fs'; import { objectSpread } from '@polkadot/util'; -import chain from './chain/index.js'; -import spec from './spec/index.js'; - -// Technically this shouldn't be a test - it was that way since historically we -// didn't use something like ts-node. Now however we can actually replace this -// with a non-script test version and use the @polkadot/dev/node/ts loader +import spec from './spec'; -describe('typesBundle', (): void => { +it('generates the typesBundle', (): void => { const specEntries = Object.entries(spec); - const chainEntries = Object.entries(chain); - const typesBundle: { chain: Record, spec: Record } = { chain: {}, spec: {} }; + const typesBundle: { spec: Record } = { spec: {} }; + + specEntries.forEach(([k, v]): void => { + const value = objectSpread<{ derives: unknown }>({}, v); + + delete value.derives; - afterAll((): void => { - fs.writeFileSync('packages/apps-config/src/api/typesBundle.ts', `// Copyright 2017-2023 @polkadot/apps-config authors & contributors + 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 @@ -33,29 +32,4 @@ import type { OverrideBundleType } from '@polkadot/types/types'; export const typesBundle = ${JSON.stringify(typesBundle, null, 2)} as unknown as OverrideBundleType; `); - }); - - describe('specs', (): void => { - for (const [k, v] of specEntries) { - it(`adds ${k}`, (): void => { - const value = objectSpread<{ derives: unknown }>({}, v); - - delete value.derives; - - typesBundle.spec[k] = value; - }); - } - }); - - describe('chains', (): void => { - for (const [k, v] of chainEntries) { - it(`adds ${k}`, (): void => { - const value = objectSpread<{ derives: unknown }>({}, v); - - delete value.derives; - - typesBundle.chain[k] = value; - }); - } - }); }); diff --git a/packages/apps-config/src/api/typesBundle.ts b/packages/apps-config/src/api/typesBundle.ts index 85817db09364..95795bb27df3 100644 --- a/packages/apps-config/src/api/typesBundle.ts +++ b/packages/apps-config/src/api/typesBundle.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// Copyright 2017-2022 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // Do not edit, auto-generated by @polkadot/apps-config @@ -10,24379 +10,25558 @@ import type { OverrideBundleType } from '@polkadot/types/types'; /* eslint-disable sort-keys */ export const typesBundle = { - "chain": { - "KILT Mashnet": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Did": [ - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" - } - }, - "version": 1 - } - ] - }, + "spec": { + "Crab": { + "alias": {}, + "rpc": {}, "types": [ { "minmax": [ 0, - 8 + 0 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" - }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" - }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" - }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" - }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" + "UsableBalance": { + "usableBalance": "Balance" }, - "ChainId": { + "Status": { "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" + "Free": null, + "Reserved": null } }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 + "DarwiniaToCrabConversionRate": "FixedU128" } }, - "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 - } + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } - } - }, - { - "minmax": [ - 9, - 9 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "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" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "LockFor": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" + "Common": "Common", + "Staking": "StakingLock" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "Common": { + "amount": "Balance" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" - } + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "RKT": { + "r": "Balance", + "k": "Balance" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" }, - "DidVerificationKeyUpdateAction": { + "TransactionOutcome": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } }, - "HttpUrl": { - "payload": "Text" + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "FtpUrl": { - "payload": "Text" + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "IpfsUrl": { - "payload": "Text" + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "H512", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "AccountId", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10, - 11 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "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" + ] }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "ValidatorPrefs": "ValidatorPrefsWithCommission", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "DidPublicKey": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": null, + "Deposit": null } }, - "DidVerificationKeyRelationship": { + "DarwiniaDemocracyVoteThreshold": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "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" }, - "DidError": { + "EthAddress": "H160", + "TransactionV2": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" } }, - "StorageError": { + "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": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Call": "H160", + "Create": "Null" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "UrlError": { + "ExitRevert": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Reverted" ] }, - "InputError": { + "ExitSucceed": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Stopped", + "Returned", + "Suicided" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { + "ExitFatal": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "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" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "Fee": { + "amount": "Balance" }, - "HttpUrl": { - "payload": "Text" + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "FtpUrl": { - "payload": "Text" + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" }, - "IpfsUrl": { - "payload": "Text" + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" }, - "Url": { + "ProxyType": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Any": 0, + "NonTransfer": 1, + "Governance": 2, + "Staking": 3, + "UnusedSudoBalances": 4, + "IdentityJudgement": 5, + "CancelProxy": 6, + "Auction": 7 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "PowerOf": { + "power": "Power" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "CompactAssignments": "CompactAssignmentsWith16", + "RawSolution": "RawSolutionWith16", + "Keys": "SessionKeys4", + "AccountInfo": "AccountInfoWithRefCount", + "LookupSource": "AccountId", + "StakingBalanceT": { + "_enum": { + "RingBalance": "Balance", + "KtonBalance": "Balance" + } }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "NominatorIndexCompact": "u32", + "ValidatorIndexCompact": "u16", + "OffchainAccuracyCompact": "PerU16", + "PerU16": "UInt<16, PerU16>", + "EthBlockNumber": "u64", + "DoubleNodeWithMerkleProof": { + "dag_nodes": "[H512;2]", + "proof": "Vec" }, - "CollatorStatus": { + "OtherSignature": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "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": [ - 12, - 16 + 1, + 41 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "UsableBalance": { + "usableBalance": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Status": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Free": null, + "Reserved": null } }, - "DidEncryptionKey": { + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { "_enum": { - "X25519": "[u8; 32]" + "DarwiniaToCrabConversionRate": "FixedU128" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "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" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "StorageError": { + "LockFor": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Common": "Common", + "Staking": "StakingLock" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Common": { + "amount": "Balance" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "RKT": { + "r": "Balance", + "k": "Balance" }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "HttpUrl": { - "payload": "Text" + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "FtpUrl": { - "payload": "Text" + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" }, - "IpfsUrl": { - "payload": "Text" + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } }, - "Url": { + "EthereumNetwork": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Mainnet": null, + "Ropsten": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "H512", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "AccountId", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "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" + ] }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "ValidatorPrefs": "ValidatorPrefsWithCommission", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] }, - "CollatorStatus": { + "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": { - "Active": "Null", - "Leaving": "SessionIndex" + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } - } - }, - { - "minmax": [ - 17, - 17 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "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" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "DidPublicKey": { + "EthTransactionAction": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Call": "H160", + "Create": "Null" } }, - "DidVerificationKeyRelationship": { + "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": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Reverted" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "DidError": { + "ExitFatal": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "StorageError": { + "ExitError": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Fee": { + "amount": "Balance" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "UrlError": { + "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": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "InputError": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "PowerOf": { + "power": "Power" }, - "DidVerificationKeyUpdateAction": { + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" + }, + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "CompactAssignments": "CompactAssignmentsWith16", + "RawSolution": "RawSolutionWith16", + "Keys": "SessionKeys4", + "AccountInfo": "AccountInfoWithRefCount", + "LookupSource": "AccountId", + "StakingBalanceT": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "RingBalance": "Balance", + "KtonBalance": "Balance" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" + "EthereumRelayHeaderParcel": { + "header": "EthereumHeader", + "mmrRoot": "H256" }, - "Url": { + "OtherSignature": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Eth": "EcdsaSignature", + "Tron": "EcdsaSignature" } }, - "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" + "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" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "NominatorIndexCompact": "u32", + "ValidatorIndexCompact": "u16", + "OffchainAccuracyCompact": "PerU16", + "PerU16": "UInt<16, PerU16>", + "DoubleNodeWithMerkleProof": { + "dag_nodes": "[H512;2]", + "proof": "Vec" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "EthBlockNumber": "u64", + "TcBlockNumber": "u64", + "GameId": "TcBlockNumber", + "EthereumHeaderThingWithProof": { + "header": "EthereumHeader", + "ethashProof": "Vec", + "mmrRoot": "H256", + "mmrProof": "Vec" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "EthereumHeaderThing": { + "header": "EthereumHeader", + "mmrRoot": "H256" }, - "CollatorStatus": { + "RawHeaderThing": "Vec", + "OtherAddress": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Eth": "EthereumAddress", + "Tron": "EthereumAddress" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" } } }, { "minmax": [ - 18, - 18 + 42, + 43 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "UsableBalance": { + "usableBalance": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Status": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Free": null, + "Reserved": null } }, - "DidEncryptionKey": { + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { "_enum": { - "X25519": "[u8; 32]" + "DarwiniaToCrabConversionRate": "FixedU128" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "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" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "StorageError": { + "LockFor": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Common": "Common", + "Staking": "StakingLock" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Common": { + "amount": "Balance" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "RKT": { + "r": "Balance", + "k": "Balance" }, - "HttpUrl": { - "payload": "Text" + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "FtpUrl": { - "payload": "Text" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "IpfsUrl": { - "payload": "Text" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "Url": { + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "H512", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "MultiAddress", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "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" + ] }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "CollatorStatus": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Token": null, + "Deposit": null } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "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" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "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" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "EthTransactionAction": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Call": "H160", + "Create": "Null" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "ExitRevert": { + "_enum": [ + "Reverted" + ] }, - "DidVerificationKeyRelationship": { + "ExitSucceed": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Stopped", + "Returned", + "Suicided" ] }, - "DidSignature": { + "ExitFatal": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "DidError": { + "ExitError": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text" } }, - "StorageError": { + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Any": 0, + "NonTransfer": 1, + "Governance": 2, + "Staking": 3, + "UnusedSudoBalances": 4, + "IdentityJudgement": 5, + "CancelProxy": 6, + "Auction": 7 } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "UrlError": { + "CrabRuntimePalletsProxyProxyType": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "InputError": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "HttpUrl": { - "payload": "Text" + "PowerOf": { + "power": "Power" }, - "FtpUrl": { - "payload": "Text" + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "IpfsUrl": { - "payload": "Text" + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "CompactAssignments": "CompactAssignmentsWith16", + "RawSolution": "RawSolutionWith16", + "Keys": "SessionKeys4", + "AccountInfo": "AccountInfoWithTripleRefCount", + "AccountInfoWithTripleRefCount": { + "nonce": "Index", + "consumers": "RefCount", + "providers": "RefCount", + "data": "AccountData" }, - "Url": { + "StakingBalanceT": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "RingBalance": "Balance", + "KtonBalance": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "LookupSource": "MultiAddress", + "OtherSignature": { + "_enum": { + "Eth": "EcdsaSignature", + "Tron": "EcdsaSignature" + } }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 44, + 1210 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "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" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "CollatorStatus": { + "LockFor": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Common": "Common", + "Staking": "StakingLock" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "Common": { + "amount": "Balance" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "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": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "EthereumNetwork": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Mainnet": null, + "Ropsten": null } }, - "ContentType": { + "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": [ - "ApplicationJson", - "ApplicationJsonLd" + "OnChain", + "Signed", + "Authority" ] }, - "DidStorageVersion": { + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { "_enum": [ - "V1", - "V2" + "Fee", + "Misc", + "All" ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Token": null, + "Deposit": null } }, - "DidEncryptionKey": { + "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": { - "X25519": "[u8; 32]" + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" } }, - "DidPublicKey": { + "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": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Call": "H160", + "Create": "Null" } }, - "DidVerificationKeyRelationship": { + "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": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Reverted" ] }, - "DidSignature": { + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] + }, + "ExitFatal": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "DidError": { + "ExitError": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text" } }, - "StorageError": { + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Any": 0, + "NonTransfer": 1, + "Governance": 2, + "Staking": 3, + "UnusedSudoBalances": 4, + "IdentityJudgement": 5, + "CancelProxy": 6, + "Auction": 7 } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "KeyError": { + "CrabRuntimePalletsProxyProxyType": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "UrlError": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "PowerOf": { + "power": "Power" }, - "HttpUrl": { - "payload": "Text" + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "FtpUrl": { - "payload": "Text" + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "CompactAssignments": "CompactAssignmentsWith16", + "RawSolution": "RawSolutionWith16", + "Keys": "SessionKeys6", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } }, - "Url": { + "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": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Free": null, + "Reserved": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "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" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Common": { + "amount": "Balance" }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "RKT": { + "r": "Balance", + "k": "Balance" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "EthereumNetwork": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Mainnet": null, + "Ropsten": null } }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "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": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" + "OnChain", + "Signed", + "Authority" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Token": null, + "Deposit": null } }, - "DidEncryptionKey": { + "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": { - "X25519": "[u8; 32]" + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" } }, - "DidPublicKey": { + "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": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Call": "H160", + "Create": "Null" } }, - "DidVerificationKeyRelationship": { + "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": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Reverted" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "DidError": { + "ExitFatal": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "StorageError": { + "ExitError": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Fee": { + "amount": "Balance" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "UrlError": { + "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": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "InputError": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "HttpUrl": { - "payload": "Text" + "PowerOf": { + "power": "Power" }, - "FtpUrl": { - "payload": "Text" + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "IpfsUrl": { - "payload": "Text" + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "Url": { + "LockReasons": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Fee": null, + "Misc": null, + "All": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "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" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "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" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "CollatorStatus": { + "LockFor": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Common": "Common", + "Staking": "StakingLock" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Common": { + "amount": "Balance" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "RKT": { + "r": "Balance", + "k": "Balance" }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" }, - "DidEncryptionKey": { + "TransactionOutcome": { "_enum": { - "X25519": "[u8; 32]" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "DidPublicKey": { + "EthereumNetwork": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Mainnet": null, + "Ropsten": null } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" }, - "SignatureError": { + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "OnChain", + "Signed", + "Authority" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" }, - "InputError": { + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Fee", + "Misc", + "All" ] }, - "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" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "Url": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Token": null, + "Deposit": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "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" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "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" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "DelegationStorageVersion": { + "ExitRevert": { "_enum": [ - "V1", - "V2" + "Reverted" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ExitError": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null } }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "DidStorageVersion": { + "CrabRuntimePalletsProxyProxyType": { "_enum": [ - "V1", - "V2" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "CandidateStatus": { + "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": { - "Active": "Null", - "Leaving": "SessionIndex" + "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, - 2699 + 23, + 24 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "UsableBalance": { + "usableBalance": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Status": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Free": null, + "Reserved": null } }, - "DidEncryptionKey": { + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { "_enum": { - "X25519": "[u8; 32]" + "DarwiniaToCrabConversionRate": "FixedU128" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "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" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "StorageError": { + "LockFor": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Common": "Common", + "Staking": "StakingLock" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Common": { + "amount": "Balance" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "HttpUrl": { - "payload": "Text" + "RKT": { + "r": "Balance", + "k": "Balance" }, - "FtpUrl": { - "payload": "Text" + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "IpfsUrl": { - "payload": "Text" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "Url": { + "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": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "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" + ] }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } }, - "DelegationStorageVersion": { + "DarwiniaDemocracyVoteThreshold": { "_enum": [ - "V1", - "V2" + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "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" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "EthAddress": "H160", + "TransactionV2": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "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": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Call": "H160", + "Create": "Null" } }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "DidStorageVersion": { + "ExitRevert": { "_enum": [ - "V1", - "V2" + "Reverted" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "ExitSucceed": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Stopped", + "Returned", + "Suicided" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { + "ExitFatal": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } - } - } - }, - { - "minmax": [ - 2700, - 10409 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "ExitError": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "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" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "Fee": { + "amount": "Balance" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" }, - "DidError": { + "ProxyType": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null } }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" - } + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "SignatureError": { + "CrabRuntimePalletsProxyProxyType": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "KeyError": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "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" - ] + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "PowerOf": { + "power": "Power" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountInfo": "AccountInfoWithTripleRefCount", + "AccountInfoWithTripleRefCount": { + "nonce": "Index", + "consumers": "RefCount", + "providers": "RefCount", + "data": "AccountData" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "CandidateStatus": { + "LockReasons": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Fee": null, + "Misc": null, + "All": null } }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" } } }, { "minmax": [ - 10410, - 10719 + 25, + 1150 ], "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" + "UsableBalance": { + "usableBalance": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Status": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Free": null, + "Reserved": null } }, - "DidEncryptionKey": { + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { "_enum": { - "X25519": "[u8; 32]" + "DarwiniaToCrabConversionRate": "FixedU128" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "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" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } + "BalanceInfo": "{}", + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "StorageError": { + "LockFor": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "Common": "Common", + "Staking": "StakingLock" } }, - "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", + "Common": { "amount": "Balance" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "Unbonding": { + "amount": "Balance", + "moment": "BlockNumber" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "RKT": { + "r": "Balance", + "k": "Balance" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "(H512, H512)", + "proof": "Vec" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "TransactionOutcome": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "EthereumNetwork": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Mainnet": null, + "Ropsten": null } }, - "DidStorageVersion": { + "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": [ - "V1", - "V2", - "V3" + "OnChain", + "Signed", + "Authority" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } + "fee": "Balance", + "validRange": "BlockNumber" }, - "PublicCredentialError": { + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { "_enum": [ - "InvalidSubjectId" + "Fee", + "Misc", + "All" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "PublicCredentialFilter": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "Token": null, + "Deposit": null } }, - "PublicCredentialError": { + "DarwiniaDemocracyVoteThreshold": { "_enum": [ - "InvalidSubjectId" + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - } - ] - }, - "KILT Peregrine": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } + "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" }, - "version": 2 - } - ], - "Did": [ - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" } }, - "version": 1 - }, - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "version": 2 - } - ], - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" - }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" - } + "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" }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" - } + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" + "ExitRevert": { + "_enum": [ + "Reverted" + ] }, - "ChainId": { - "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" - } + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { + "ExitFatal": { "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "XcmError": { + "ExitError": { "_enum": { - "Undefined": 0, - "Unimplemented": 1, - "UnhandledXcmVersion": 2, - "UnhandledXcmMessage": 3, - "UnhandledEffect": 4, - "EscalationOfPrivilege": 5, - "UntrustedReserveLocation": 6, - "UntrustedTeleportLocation": 7, - "DestinationBufferOverflow": 8, - "CannotReachDestination": 9, - "MultiLocationFull": 10, - "FailedToDecode": 11, - "BadOrigin": 12, - "ExceedsMaxMessageSize": 13, - "FailedToTransactAsset": 14 + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text" } }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } - } - }, - { - "minmax": [ - 9, - 9 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "Fee": { + "amount": "Balance" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" }, - "DidEncryptionKey": { + "ProxyType": { "_enum": { - "X25519": "[u8; 32]" + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null } }, - "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" - ] + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "KeyError": { + "CrabRuntimePalletsProxyProxyType": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "UrlError": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "RelayAffirmationId": { + "relayHeaderId": "EthereumBlockNumber", + "round": "u32", + "index": "u32" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "PowerOf": { + "power": "Power" }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "LookupSource": "MultiAddress", + "MultiAddress": "GenericMultiAddress", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "HttpUrl": { - "payload": "Text" + "EthereumReceipt": { + "gasUsed": "U256", + "logBloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "FtpUrl": { - "payload": "Text" + "Order": { + "lane": "LaneId", + "message": "MessageNonce", + "sent_time": "BlockNumber", + "confirm_time": "BlockNumber", + "assigned_relayers": "Vec" }, - "IpfsUrl": { - "payload": "Text" + "RelayAuthorityT": { + "accountId": "AccountId", + "signer": "EthereumAddress", + "stake": "Balance", + "term": "BlockNumber" }, - "Url": { + "LockReasons": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Fee": null, + "Misc": null, + "All": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" } } }, { "minmax": [ - 10, - 11 + 1160, + 1200 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "UsableBalance": { + "usableBalance": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Status": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" + "Free": null, + "Reserved": null } }, - "DidEncryptionKey": { + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { "_enum": { - "X25519": "[u8; 32]" + "DarwiniaToCrabConversionRate": "FixedU128" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "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" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "StorageError": { + "LockFor": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Common": "Common", + "Staking": "StakingLock" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Common": { + "amount": "Balance" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "RKT": { + "r": "Balance", + "k": "Balance" }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "HttpUrl": { - "payload": "Text" + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "FtpUrl": { - "payload": "Text" + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" }, - "IpfsUrl": { - "payload": "Text" + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } }, - "Url": { + "EthereumNetwork": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Mainnet": null, + "Ropsten": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "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" + ] }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "CollatorStatus": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Token": null, + "Deposit": null } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "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" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "EthAddress": "H160", + "TransactionV2": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "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" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "StorageError": { + "EthTransactionAction": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Call": "H160", + "Create": "Null" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "UrlError": { + "ExitRevert": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Reverted" ] }, - "InputError": { + "ExitSucceed": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Stopped", + "Returned", + "Suicided" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" - }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" - }, - "DidVerificationKeyUpdateAction": { + "ExitFatal": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "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" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "Fee": { + "amount": "Balance" }, - "HttpUrl": { - "payload": "Text" + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "FtpUrl": { - "payload": "Text" + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" }, - "IpfsUrl": { - "payload": "Text" + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" }, - "Url": { + "ProxyType": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "PowerOf": { + "power": "Power" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "CollatorStatus": { + "LockReasons": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Fee": null, + "Misc": null, + "All": null } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" } } }, { "minmax": [ - 17, - 17 + 1210, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "UsableBalance": { + "usableBalance": "Balance" }, - "DidEncryptionKey": { + "Status": { "_enum": { - "X25519": "[u8; 32]" + "Free": null, + "Reserved": null } }, - "DidPublicKey": { + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "DarwiniaToCrabConversionRate": "FixedU128" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "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" }, - "StorageError": { + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Common": "Common", + "Staking": "StakingLock" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "Common": { + "amount": "Balance" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "RKT": { + "r": "Balance", + "k": "Balance" }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "HttpUrl": { - "payload": "Text" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "FtpUrl": { - "payload": "Text" + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "IpfsUrl": { - "payload": "Text" + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" }, - "Url": { + "TransactionOutcome": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "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" + ] }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "CollatorStatus": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Token": null, + "Deposit": null } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { + "DarwiniaDemocracyVoteThreshold": { "_enum": [ - "V1", - "V2" + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" ] - } - } - }, - { - "minmax": [ - 18, - 18 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "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" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "EthAddress": "H160", + "TransactionV2": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "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" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "StorageError": { + "EthTransactionAction": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Call": "H160", + "Create": "Null" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "UrlError": { + "ExitRevert": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Reverted" ] }, - "InputError": { + "ExitSucceed": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Stopped", + "Returned", + "Suicided" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "DidVerificationKeyUpdateAction": { + "ExitError": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text" } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "Fee": { + "amount": "Balance" }, - "HttpUrl": { - "payload": "Text" + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "FtpUrl": { - "payload": "Text" + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" }, - "IpfsUrl": { - "payload": "Text" + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" }, - "Url": { + "ProxyType": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "PowerOf": { + "power": "Power" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "CollatorStatus": { + "LockReasons": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Fee": null, + "Misc": null, + "All": null } }, - "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" + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" } } - }, + } + ] + }, + "Darwinia Crab PC2": { + "alias": {}, + "rpc": {}, + "types": [ { "minmax": [ - 19, - 19 + 0, + 28110 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "UsableBalance": { + "usableBalance": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Status": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Free": null, + "Reserved": null } }, - "DidEncryptionKey": { + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { "_enum": { - "X25519": "[u8; 32]" + "DarwiniaToCrabConversionRate": "FixedU128" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "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" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "StorageError": { + "LockFor": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Common": "Common", + "Staking": "StakingLock" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Common": { + "amount": "Balance" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "HttpUrl": { - "payload": "Text" + "RKT": { + "r": "Balance", + "k": "Balance" }, - "FtpUrl": { - "payload": "Text" + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "IpfsUrl": { - "payload": "Text" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "TransactionOutcome": { + "_enum": { + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" + } }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "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" + ] }, - "Collator": { + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "fee": "Balance", + "validRange": "BlockNumber" }, - "CollatorStatus": { + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] + }, + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Token": null, + "Deposit": null } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "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" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "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" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "EthTransactionAction": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Call": "H160", + "Create": "Null" } }, - "ContentType": { + "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": [ - "ApplicationJson", - "ApplicationJsonLd" + "Reverted" ] }, - "DidStorageVersion": { + "ExitSucceed": { "_enum": [ - "V1", - "V2" + "Stopped", + "Returned", + "Suicided" ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "ExitFatal": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "DidEncryptionKey": { + "ExitError": { "_enum": { - "X25519": "[u8; 32]" + "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" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "Fee": { + "amount": "Balance" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" }, - "StorageError": { + "ProxyType": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "UrlError": { + "CrabRuntimePalletsProxyProxyType": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "InputError": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "HttpUrl": { - "payload": "Text" + "PowerOf": { + "power": "Power" }, - "FtpUrl": { - "payload": "Text" + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "IpfsUrl": { - "payload": "Text" + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "Url": { + "LockReasons": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Fee": null, + "Misc": null, + "All": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 28140, + null + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" + "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" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "CollatorStatus": { + "LockFor": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Common": "Common", + "Staking": "StakingLock" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "Common": { + "amount": "Balance" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "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" + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "RKT": { + "r": "Balance", + "k": "Balance" }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" }, - "DidEncryptionKey": { + "TransactionOutcome": { "_enum": { - "X25519": "[u8; 32]" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "DidPublicKey": { + "EthereumNetwork": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Mainnet": null, + "Ropsten": null } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" }, - "KeyError": { + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "OnChain", + "Signed", + "Authority" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" }, - "InputError": { + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Fee", + "Misc", + "All" ] }, - "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" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "Url": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Token": null, + "Deposit": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "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" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "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" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "CollatorStatus": { + "EthTransactionAction": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Call": "H160", + "Create": "Null" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "DelegationStorageVersion": { + "ExitRevert": { "_enum": [ - "V1", - "V2" + "Reverted" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ExitFatal": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ExitError": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text" } }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] + "Fee": { + "amount": "Balance" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] - }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" - } - }, - { - "minmax": [ - 23, - 24 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "ProxyType": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] }, - "DidVerificationKeyRelationship": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "PowerOf": { + "power": "Power" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "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" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } }, - "HttpUrl": { - "payload": "Text" + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "FtpUrl": { - "payload": "Text" + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "IpfsUrl": { - "payload": "Text" + "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" }, - "Url": { + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" + }, + "LockFor": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Common": "Common", + "Staking": "StakingLock" } }, - "LockedBalance": { - "block": "BlockNumber", + "Common": { "amount": "Balance" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "RKT": { + "r": "Balance", + "k": "Balance" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "TransactionOutcome": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "EthereumNetwork": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Mainnet": null, + "Ropsten": null } }, - "ContentType": { + "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": [ - "application/json", - "application/ld+json" + "OnChain", + "Signed", + "Authority" ] }, - "DidStorageVersion": { + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { "_enum": [ - "V1", - "V2" + "Fee", + "Misc", + "All" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "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" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "EthAddress": "H160", + "TransactionV2": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "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" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "StorageError": { + "EthTransactionAction": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Call": "H160", + "Create": "Null" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "UrlError": { + "ExitRevert": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Reverted" ] }, - "InputError": { + "ExitSucceed": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Stopped", + "Returned", + "Suicided" ] }, - "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": { + "ExitFatal": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "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" + } }, - "Stake": { - "owner": "AccountId", + "Fee": { "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" - ] + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ProxyType": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null } }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "ContentType": { + "CrabRuntimePalletsProxyProxyType": { "_enum": [ - "application/json", - "application/ld+json" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "DidStorageVersion": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "V1", - "V2" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "CandidateStatus": { + "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": { - "Active": "Null", - "Leaving": "SessionIndex" + "Fee": null, + "Misc": null, + "All": null } + }, + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" } } }, { "minmax": [ - 2700, - 10409 + 28140, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" + "UsableBalance": { + "usableBalance": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Status": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Free": null, + "Reserved": null } }, - "DidEncryptionKey": { + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { "_enum": { - "X25519": "[u8; 32]" + "DarwiniaToCrabConversionRate": "FixedU128" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "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" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "StorageError": { + "LockFor": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "Common": "Common", + "Staking": "StakingLock" } }, - "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", + "Common": { "amount": "Balance" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "RKT": { + "r": "Balance", + "k": "Balance" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "TransactionOutcome": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "EthereumNetwork": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Mainnet": null, + "Ropsten": null } }, - "DidStorageVersion": { + "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": [ - "V1", - "V2", - "V3" + "OnChain", + "Signed", + "Authority" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Fee", + "Misc", + "All" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "CandidateStatus": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Token": null, + "Deposit": null } }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10410, - 10719 - ], - "types": { - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" + "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" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "EthAddress": "H160", + "TransactionV2": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "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" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "StorageError": { + "EthTransactionAction": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "Call": "H160", + "Create": "Null" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "KeyError": { + "ExitRevert": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Reverted" ] }, - "InputError": { + "ExitSucceed": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" + "Stopped", + "Returned", + "Suicided" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "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" + } }, - "LockedBalance": { - "block": "BlockNumber", + "Fee": { "amount": "Balance" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "PowerOf": { + "power": "Power" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "LockReasons": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Fee": null, + "Misc": null, + "All": null } }, - "DidStorageVersion": { + "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": [ - "V1", - "V2", - "V3" + "Unknown", + "Usd", + "Eq", + "Eth", + "Btc", + "Eos", + "Dot", + "Crv" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "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": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Min", + "TenMin", + "Hour", + "FourHour", + "Day" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "PricePoint": { + "block_number": "BlockNumber", + "timestamp": "u64", + "price": "u64", + "data_points": "Vec" }, - "CandidateStatus": { + "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": { - "Active": "Null", - "Leaving": "SessionIndex" + "Positive": "Balance", + "Negative": "Balance" } }, - "Deposit": { - "owner": "AccountId", - "amount": "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": [ - 10720, - 10750 + 265, + null ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, + "types": {} + } + ] + }, + "Genshiro": { + "instances": { + "balances": [ + "Eq", + "Eth", + "Btc", + "Eos", + "Dot", + "Crv", + "Usd" + ] + }, + "types": [ { "minmax": [ - 10800, - 10899 + 0, + null ], "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "AccountInfo": { + "nonce": "Index", + "consumers": "RefCount", + "providers": "RefCount" }, - "PublicCredentialFilter": { + "Address": "AccountId", + "AmmPool": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "Curve": "PoolId", + "Yield": "PoolId" } }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] + "Asset": { + "0": "AssetIdInnerType" }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "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" }, - "PublicCredentialFilter": { + "BinaryMode": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "CallPut": "FixedI64", + "InOut": "(FixedI64, FixedI64)" } }, - "PublicCredentialError": { + "BlockNumber": "u64", + "CapVec": { + "head_index": "u32", + "len_cap": "u32", + "items": "Vec" + }, + "ChainId": "u8", + "Currency": { "_enum": [ - "InvalidSubjectId" + "UNKNOWN", + "Eqd", + "Eq", + "Eth", + "Btc", + "Eos", + "Dot", + "Crv" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - } - ] - }, - "KILT Peregrine Stagenet": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } + "ChunkKey": "u64", + "DataPoint": { + "price": "u64", + "account_id": "AccountId", + "block_number": "BlockNumber", + "timestamp": "u64" }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } + "DebtWeightType": "i128", + "DebtWeightTypeInner": "i128", + "DepositNonce": "u64", + "Duration": { + "secs": "u64", + "nanos": "u32" }, - "version": 2 - } - ], - "Did": [ - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } + "EpochCounter": "u64", + "EpochInfo": { + "counter": "EpochCounter", + "started_at": "Timestamp", + "duration": "Timestamp", + "new_duration": "Option" }, - "version": 1 - }, - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } + "FinancialMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "assets": "Vec", + "mean_returns": "Vec", + "volatilities": "Vec", + "correlations": "Vec", + "covariances": "Vec" }, - "version": 2 - } - ], - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" - }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" - } + "FinancialRecalcPeriodMs": "u64", + "FixedI64": "i64", + "FixedNumber": "u128", + "FixedU128": "u128", + "Keys": "SessionKeys3", + "LenderInfo": { + "deposit": "Balance", + "pending_withdrawals": "PendingWithdrawal" }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" + "LookupSource": "AccountId", + "MarginState": { + "_enum": { + "Good": null, + "SubGood": null, + "MaintenanceStart": "u64", + "MaintenanceIsGoing": "u64", + "MaintenanceTimeOver": "u64", + "MaintenanceEnd": null, + "SubCritical": null } }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" + "MaxCountOfAssetsRecalcPerBlock": "i32", + "MmId": "u16", + "MmInfo": { + "weight": "Perbill", + "borrowed": "Balance" }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" + "MmPoolInfo": { + "account_id": "AccountId", + "min_amount": "Balance", + "total_staked": "Balance", + "total_deposit": "Balance", + "total_borrowed": "Balance", + "total_pending_withdrawals": "PendingWithdrawal" }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" + "Number": "FixedU128", + "OperationRequestLiqFm": { + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber" }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" + "OperationRequest": { + "account": "AccountId", + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber", + "higher_priority": "bool" }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" + "OperationRequestDexDeleteOrder": { + "asset": "Asset", + "order_id": "OrderId", + "price": "FixedI64", + "who": "AccountId", + "buyout": "Option", + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber" }, - "ChainId": { - "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" - } + "Order": { + "order_id": "OrderId", + "account_id": "AccountId", + "side": "OrderSide", + "price": "FixedI64", + "amount": "FixedU128", + "created_at": "u64", + "expiration_time": "u64" }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { + "OrderType": { "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 + "Limit": { + "price": "FixedI64", + "expiration_time": "u64" + }, + "Market": null } }, - "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 - } + "OrderId": "u64", + "OrderSide": { + "_enum": [ + "Buy", + "Sell" + ] }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } - } - }, - { - "minmax": [ - 9, - 9 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "PendingWithdrawal": { + "last_epoch": "EpochCounter", + "available": "Balance", + "available_next_epoch": "Balance", + "requested": "Balance" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "PoolId": "u32", + "PoolInfo": { + "owner": "AccountId", + "pool_asset": "AssetId", + "assets": "Vec", + "amplification": "Number", + "fee": "Permill", + "admin_fee": "Permill", + "balances": "Vec", + "total_balances": "Vec" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "PoolTokenIndex": "u32", + "PortfolioMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "z_score": "u32", + "volatility": "FixedNumber", + "value_at_risk": "FixedNumber" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } + "Price": "u128", + "PriceLog": { + "latest_timestamp": "Duration", + "prices": "CapVec" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "PricePayload": { + "public": "[u8; 33]", + "asset": "Asset", + "price": "FixedI64", + "block_number": "BlockNumber" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "PricePeriod": { + "_enum": [ + "Min", + "TenMin", + "Hour", + "FourHour", + "Day" + ] }, - "DidVerificationKeyRelationship": { + "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": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Initiated", + "Approved", + "Rejected" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" - } + "ResourceId": "[u8; 32]", + "Round": { + "total_cap": "Balance", + "individual_cap": "Balance", + "end": "u64", + "token": "Asset", + "minimal_buy_amount": "Balance", + "vesting_params": "VestingParams" }, - "StorageError": { + "Signature": "u32", + "SignedBalance": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Positive": "Balance", + "Negative": "Balance" } }, - "SignatureError": { + "SubAccType": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Bailsman", + "Borrower", + "Lender" ] }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "Timestamp": "u64", + "TotalAggregates": { + "collateral": "Balance", + "debt": "Balance" }, - "UrlError": { + "TransferReason": { "_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" + "Common", + "InterestFee", + "MarginCall", + "LiquidityFarming", + "BailsmenRedistribution", + "TreasuryEqBuyout", + "TreasuryBuyEq", + "Subaccount", + "Lock", + "Unlock", + "Claim", + "CurveFeeWithdraw", + "Reserve", + "Unreserve" + ] }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "UserGroup": { + "_enum": [ + "UNKNOWN", + "Balances", + "Bailsmen", + "Borrowers", + "Lenders" + ] }, - "HttpUrl": { - "payload": "Text" + "UnsignedPriorityPair": "(u64, u64)", + "VestingInfo": { + "locked": "Balance", + "perBlock": "Balance", + "startingBlock": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "VestingParams": { + "blocks_until_beginning": "u64", + "amount_of_blocks": "u64" }, - "IpfsUrl": { - "payload": "Text" + "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" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } + "LockPeriod": { + "_enum": [ + "None", + "ThreeMonth", + "SixMonth", + "Year" + ] }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - } + "DispatchErrorModule": "DispatchErrorModuleU8" } - }, + } + ] + }, + "Genshiro Rococo Testnet": { + "instances": { + "balances": [ + "Eq", + "Eth", + "Btc", + "Eos", + "Dot", + "Crv", + "Usd" + ] + }, + "types": [ { "minmax": [ - 10, - 11 + 0, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "AccountInfo": { + "nonce": "Index", + "consumers": "RefCount", + "providers": "RefCount" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Address": "AccountId", + "AmmPool": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" + "Curve": "PoolId", + "Yield": "PoolId" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "Asset": { + "0": "AssetIdInnerType" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "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" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "AssetId": "Asset", + "AssetIdInnerType": "u64", + "AssetMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "returns": "Vec", + "volatility": "FixedNumber", + "correlations": "Vec<(Asset, FixedNumber)>" }, - "DidSignature": { + "AssetName": "Vec", + "AssetType": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" + "Native": null, + "Physical": null, + "Synthetic": null, + "Lp": "AmmPool" } }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "Balance": "u64", + "BalanceOf": "Balance", + "BalancesAggregate": { + "total_issuance": "Balance", + "total_debt": "Balance" }, - "StorageError": { + "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": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "CallPut": "FixedI64", + "InOut": "(FixedI64, FixedI64)" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "BlockNumber": "u64", + "CapVec": { + "head_index": "u32", + "len_cap": "u32", + "items": "Vec" }, - "UrlError": { + "ChainId": "u8", + "Currency": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "UNKNOWN", + "Eqd", + "Eq", + "Eth", + "Btc", + "Eos", + "Dot", + "Crv" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "ChunkKey": "u64", + "DataPoint": { + "price": "u64", + "account_id": "AccountId", + "block_number": "BlockNumber", + "timestamp": "u64" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "DebtWeightType": "i128", + "DebtWeightTypeInner": "i128", + "DepositNonce": "u64", + "Duration": { + "secs": "u64", + "nanos": "u32" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "EpochCounter": "u64", + "EpochInfo": { + "counter": "EpochCounter", + "started_at": "Timestamp", + "duration": "Timestamp", + "new_duration": "Option" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "FinancialMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "assets": "Vec", + "mean_returns": "Vec", + "volatilities": "Vec", + "correlations": "Vec", + "covariances": "Vec" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "FinancialRecalcPeriodMs": "u64", + "FixedI64": "i64", + "FixedNumber": "u128", + "FixedU128": "u128", + "Keys": "SessionKeys3", + "LenderInfo": { + "deposit": "Balance", + "pending_withdrawals": "PendingWithdrawal" }, - "DidVerificationKeyUpdateAction": { + "LookupSource": "AccountId", + "MarginState": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Good": null, + "SubGood": null, + "MaintenanceStart": "u64", + "MaintenanceIsGoing": "u64", + "MaintenanceTimeOver": "u64", + "MaintenanceEnd": null, + "SubCritical": null } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "MaxCountOfAssetsRecalcPerBlock": "i32", + "MmId": "u16", + "MmInfo": { + "weight": "Perbill", + "borrowed": "Balance" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "MmPoolInfo": { + "account_id": "AccountId", + "min_amount": "Balance", + "total_staked": "Balance", + "total_deposit": "Balance", + "total_borrowed": "Balance", + "total_pending_withdrawals": "PendingWithdrawal" }, - "HttpUrl": { - "payload": "Text" + "Number": "FixedU128", + "OperationRequestLiqFm": { + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "OperationRequest": { + "account": "AccountId", + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber", + "higher_priority": "bool" }, - "IpfsUrl": { - "payload": "Text" + "OperationRequestDexDeleteOrder": { + "asset": "Asset", + "order_id": "OrderId", + "price": "FixedI64", + "who": "AccountId", + "buyout": "Option", + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber" }, - "Url": { + "Order": { + "order_id": "OrderId", + "account_id": "AccountId", + "side": "OrderSide", + "price": "FixedI64", + "amount": "FixedU128", + "created_at": "u64", + "expiration_time": "u64" + }, + "OrderType": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Limit": { + "price": "FixedI64", + "expiration_time": "u64" + }, + "Market": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "OrderId": "u64", + "OrderSide": { + "_enum": [ + "Buy", + "Sell" + ] }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "PendingWithdrawal": { + "last_epoch": "EpochCounter", + "available": "Balance", + "available_next_epoch": "Balance", + "requested": "Balance" }, - "OrderedSet": "Vec", - "Stake": { + "PoolId": "u32", + "PoolInfo": { "owner": "AccountId", - "amount": "Balance" + "pool_asset": "AssetId", + "assets": "Vec", + "amplification": "Number", + "fee": "Permill", + "admin_fee": "Permill", + "balances": "Vec", + "total_balances": "Vec" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "PoolTokenIndex": "u32", + "PortfolioMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "z_score": "u32", + "volatility": "FixedNumber", + "value_at_risk": "FixedNumber" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "Price": "u128", + "PriceLog": { + "latest_timestamp": "Duration", + "prices": "CapVec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "PricePayload": { + "public": "[u8; 33]", + "asset": "Asset", + "price": "FixedI64", + "block_number": "BlockNumber" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "PricePeriod": { + "_enum": [ + "Min", + "TenMin", + "Hour", + "FourHour", + "Day" + ] }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "PricePoint": { + "block_number": "BlockNumber", + "timestamp": "u64", + "last_fin_recalc_timestamp": "Timestamp", + "price": "u64", + "data_points": "Vec" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" - }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" - }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } - }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "PriceUpdate": { + "period_start": "Duration", + "time": "Duration", + "price": "FixedNumber" }, - "DidVerificationKeyRelationship": { + "ProposalStatus": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Initiated", + "Approved", + "Rejected" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "ResourceId": "[u8; 32]", + "Round": { + "total_cap": "Balance", + "individual_cap": "Balance", + "end": "u64", + "token": "Asset", + "minimal_buy_amount": "Balance", + "vesting_params": "VestingParams" }, - "StorageError": { + "Signature": "u32", + "SignedBalance": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Positive": "Balance", + "Negative": "Balance" } }, - "SignatureError": { + "SubAccType": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Bailsman", + "Borrower", + "Lender" ] }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "Timestamp": "u64", + "TotalAggregates": { + "collateral": "Balance", + "debt": "Balance" }, - "UrlError": { + "TransferReason": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Common", + "InterestFee", + "MarginCall", + "LiquidityFarming", + "BailsmenRedistribution", + "TreasuryEqBuyout", + "TreasuryBuyEq", + "Subaccount", + "Lock", + "Unlock", + "Claim", + "CurveFeeWithdraw", + "Reserve", + "Unreserve" ] }, - "InputError": { + "UserGroup": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "UNKNOWN", + "Balances", + "Bailsmen", + "Borrowers", + "Lenders" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "UnsignedPriorityPair": "(u64, u64)", + "VestingInfo": { + "locked": "Balance", + "perBlock": "Balance", + "startingBlock": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "VestingParams": { + "blocks_until_beginning": "u64", + "amount_of_blocks": "u64" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "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" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "LockPeriod": { + "_enum": [ + "None", + "ThreeMonth", + "SixMonth", + "Year" + ] }, - "DidVerificationKeyUpdateAction": { + "DispatchErrorModule": "DispatchErrorModuleU8" + } + } + ] + }, + "Pangolin": { + "alias": {}, + "rpc": {}, + "types": [ + { + "minmax": [ + 0, + 28110 + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" + }, + "Status": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Free": null, + "Reserved": null } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "HttpUrl": { - "payload": "Text" + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "FtpUrl": { - "payload": "Text" + "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" }, - "IpfsUrl": { - "payload": "Text" + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "Url": { + "LockFor": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Common": "Common", + "Staking": "StakingLock" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", + "Common": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "RKT": { + "r": "Balance", + "k": "Balance" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } - } - }, - { - "minmax": [ - 17, - 17 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" }, - "DidEncryptionKey": { + "TransactionOutcome": { "_enum": { - "X25519": "[u8; 32]" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "DidPublicKey": { + "EthereumNetwork": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Mainnet": null, + "Ropsten": null } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" }, - "SignatureError": { + "Signer": "EthereumAddress", + "MMRRoot": "Hash", + "EcdsaAddress": "EthereumAddress", + "EcdsaMessage": "H256", + "RelayAuthoritySigner": "EthereumAddress", + "RelayAuthorityMessage": "EcdsaMessage", + "RelayAuthoritySignature": "EcdsaSignature", + "Term": "BlockNumber", + "OpCode": "[u8; 4; OpCode]", + "ElectionCompute": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "OnChain", + "Signed", + "Authority" ] }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" }, - "UrlError": { + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Fee", + "Misc", + "All" ] }, - "InputError": { + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" + }, + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { + "_enum": { + "Token": null, + "Deposit": null + } + }, + "DarwiniaDemocracyVoteThreshold": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "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" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "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" }, - "DidVerificationKeyUpdateAction": { + "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": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Call": "H160", + "Create": "Null" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "HttpUrl": { - "payload": "Text" + "ExitRevert": { + "_enum": [ + "Reverted" + ] }, - "FtpUrl": { - "payload": "Text" + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "IpfsUrl": { - "payload": "Text" + "ExitFatal": { + "_enum": { + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" + } }, - "Url": { + "ExitError": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "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" } }, - "LockedBalance": { - "block": "BlockNumber", + "Fee": { "amount": "Balance" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "ProxyType": { + "_enum": { + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "DarwiniaRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "PowerOf": { + "power": "Power" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "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": [ - 18, - 18 + 28140, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "UsableBalance": { + "usableBalance": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Status": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Free": null, + "Reserved": null } }, - "DidEncryptionKey": { + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { "_enum": { - "X25519": "[u8; 32]" + "DarwiniaToCrabConversionRate": "FixedU128" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "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" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "StorageError": { + "LockFor": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Common": "Common", + "Staking": "StakingLock" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Common": { + "amount": "Balance" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "RKT": { + "r": "Balance", + "k": "Balance" }, - "HttpUrl": { - "payload": "Text" + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "FtpUrl": { - "payload": "Text" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "IpfsUrl": { - "payload": "Text" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "Url": { + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" + }, + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "EthereumNetwork": { + "_enum": { + "Mainnet": null, + "Ropsten": null + } }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "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" + ] }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "CollatorStatus": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Token": null, + "Deposit": null } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "DarwiniaDemocracyVoteThreshold": { + "_enum": [ + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "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" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EthAddress": "H160", + "TransactionV2": { + "_enum": { + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" + } }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "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" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "EthTransactionAction": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Call": "H160", + "Create": "Null" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "ExitRevert": { + "_enum": [ + "Reverted" + ] }, - "DidVerificationKeyRelationship": { + "ExitSucceed": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Stopped", + "Returned", + "Suicided" ] }, - "DidSignature": { + "ExitFatal": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "DidError": { + "ExitError": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text" } }, - "StorageError": { + "Fee": { + "amount": "Balance" + }, + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" + }, + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" + }, + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" + }, + "ProxyType": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "KeyError": { + "CrabRuntimePalletsProxyProxyType": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "UrlError": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "PowerOf": { + "power": "Power" }, - "HttpUrl": { - "payload": "Text" + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "FtpUrl": { - "payload": "Text" + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "LockReasons": { + "_enum": { + "Fee": null, + "Misc": null, + "All": null + } }, - "Url": { + "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": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Free": null, + "Reserved": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "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" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "LockFor": { + "_enum": { + "Common": "Common", + "Staking": "StakingLock" + } }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Common": { + "amount": "Balance" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "RKT": { + "r": "Balance", + "k": "Balance" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "SpanRecord": { + "slashed": "RKT", + "paidOut": "RKT" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "UnappliedSlash": { + "validator": "AccountId", + "own": "RKT", + "others": "Vec<(AccountId, RKT)>", + "reporters": "Vec", + "payout": "RKT" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "MappedRing": "u128", + "EthereumTransactionIndex": "(H256, u64)", + "EthereumBlockNumber": "u64", + "Bloom": "[u8; 256; Bloom]", + "EthashProof": { + "dagNodes": "[H512; 2]", + "proof": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" + "LegacyReceipt": { + "gas_used": "U256", + "log_bloom": "Bloom", + "logs": "Vec", + "outcome": "TransactionOutcome" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "LogEntry": { + "address": "Address", + "topics": "Vec", + "data": "Bytes" + }, + "TransactionOutcome": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "EthereumNetwork": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Mainnet": null, + "Ropsten": null } }, - "ContentType": { + "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": [ - "ApplicationJson", - "ApplicationJsonLd" + "OnChain", + "Signed", + "Authority" ] }, - "DidStorageVersion": { + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" + }, + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { "_enum": [ - "V1", - "V2" + "Fee", + "Misc", + "All" ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Token": null, + "Deposit": null } }, - "DidEncryptionKey": { + "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": { - "X25519": "[u8; 32]" + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" } }, - "DidPublicKey": { + "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": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Call": "H160", + "Create": "Null" } }, - "DidVerificationKeyRelationship": { + "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": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Reverted" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "DidError": { + "ExitFatal": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "StorageError": { + "ExitError": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "StackUnderflow": "Null", + "StackOverflow": "Null", + "InvalidJump": "Null", + "InvalidRange": "Null", + "DesignatedInvalid": "Null", + "CallTooDeep": "Null", + "CreateCollision": "Null", + "CreateContractLimit": "Null", + "OutOfOffset": "Null", + "OutOfGas": "Null", + "OutOfFund": "Null", + "PCUnderflow": "Null", + "CreateEmpty": "Null", + "Other": "Text" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Fee": { + "amount": "Balance" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "UrlError": { + "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": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "InputError": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "EthereumRelayProofs": { + "ethashProof": "Vec", + "mmrProof": "Vec" }, - "HttpUrl": { - "payload": "Text" + "PowerOf": { + "power": "Power" }, - "FtpUrl": { - "payload": "Text" + "PalletStakingIndividualExposure": { + "who": "AccountId32", + "value": "Compact" }, - "IpfsUrl": { - "payload": "Text" + "RewardPoint": "u32", + "SpanIndex": "u32", + "UnappliedSlashOther": "(AccountId, RKT)", + "AccountData": { + "free": "Balance", + "reserved": "Balance", + "freeKton": "Balance", + "reservedKton": "Balance" }, - "Url": { + "LockReasons": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Fee": null, + "Misc": null, + "All": null } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "StakingLedgerT": { + "stash": "AccountId", + "active": "Compact", + "activeDepositRing": "Compact", + "activeKton": "Compact", + "depositItems": "Vec", + "ringStakingLock": "StakingLock", + "ktonStakingLock": "StakingLock", + "claimedRewards": "Vec" + } + } + }, + { + "minmax": [ + 28140, + null + ], + "types": { + "UsableBalance": { + "usableBalance": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "Status": { + "_enum": { + "Free": null, + "Reserved": null + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "LockIdentifier": "[u8; 8]", + "MessageId": "(LaneId, MessageNonce)", + "LaneId": "[u8; 4]", + "MessageNonce": "u64", + "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "_enum": { + "DarwiniaToCrabConversionRate": "FixedU128" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "FixedU128": "UInt<128, FixedU128>", + "RelayerId": "AccountId", + "UnrewardedRelayer": { + "relayer": "RelayerId", + "messages": "DeliveredMessages" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "DeliveredMessages": { + "begin": "MessageNonce", + "end": "MessageNonce", + "dispatchResults": "BitVec" }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" + "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" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" + "BalanceInfo": {}, + "BalanceLock": { + "id": "LockIdentifier", + "lockFor": "LockFor", + "lockReasons": "LockReasons" }, - "CollatorStatus": { + "LockFor": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Common": "Common", + "Staking": "StakingLock" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "Common": { + "amount": "Balance" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "StakingLock": { + "stakingAmount": "Balance", + "unbondings": "Vec" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Unbonding": { + "amount": "Balance", + "until": "BlockNumber" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "RingBalance": "Balance", + "KtonBalance": "Balance", + "TsInMs": "u64", + "Power": "u32", + "DepositId": "U256", + "TimeDepositItem": { + "value": "Balance", + "startTime": "TsInMs", + "expireTime": "TsInMs" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "ExposureT": { + "ownRingBalance": "Compact", + "ownKtonBalance": "Compact", + "ownPower": "Power", + "totalPower": "Power", + "others": "Vec" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "Exposure": "ExposureT", + "IndividualExposure": { + "who": "AccountId", + "ringBalance": "Compact", + "ktonBalance": "Compact", + "power": "Power" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "ElectionResultT": { + "electedStashes": "Vec", + "exposures": "Vec<(AccountId, ExposureT)>", + "compute": "ElectionCompute" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "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": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Unknown": "Null", + "StateRoot": "H256", + "StatusCode": "u8" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "EthereumNetwork": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Mainnet": null, + "Ropsten": null } }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] + "EthereumReceiptProof": { + "index": "u64", + "proof": "Bytes", + "headerHash": "H256" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "MMRProof": { + "memberLeafIndex": "u64", + "lastLeafIndex": "u64", + "proof": "Vec" }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] + "EcdsaSignature": "[u8; 65; EcdsaSignature]", + "Signature": "[u8;65]", + "TronAddress": "EthereumAddress", + "AddressT": "[u8; 20; AddressT]", + "Address": "[u8; 20; Address]", + "MerkleMountainRangeRootLog": { + "prefix": "[u8; 4; Prefix]", + "ParentMmrRoot": "Hash" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" - } - }, - { - "minmax": [ - 21, - 22 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "ChainProperties": { + "ss58Format": "Option", + "tokenDecimals": "Option>", + "tokenSymbol": "Option>" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "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" + ] }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "ValidatorPrefs": "ValidatorPrefsWithBlocked", + "PriorRelayer": { + "id": "AccountId", + "fee": "Balance", + "validRange": "BlockNumber" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "TokenMessageId": "[u8; 16; TokenMessageId]", + "EraIndex": "u32", + "RefCount": "u32", + "Reasons": { + "_enum": [ + "Fee", + "Misc", + "All" + ] }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "ValidatorPrefsWithBlocked": { + "commission": "Compact", + "blocked": "bool" }, - "DidPublicKey": { + "EthereumAddress": "GenericEthereumAccountId", + "RedeemFor": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": null, + "Deposit": null } }, - "DidVerificationKeyRelationship": { + "DarwiniaDemocracyVoteThreshold": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] - }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "SuperMajorityApprove", + "SuperMajorityAgainst", + "SimpleMajority" + ] }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "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" }, - "StorageError": { + "EthAddress": "H160", + "TransactionV2": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Legacy": "LegacyTransaction", + "EIP2930": "EIP2930Transaction", + "EIP1559": "EIP1559Transaction" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "EIP2930Transaction": { + "chainId": "u64", + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "accessList": "EthAccessList", + "oddYParity": "bool", + "r": "H256", + "s": "H256" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "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" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "EthAccessListItem": { + "address": "EthAddress", + "slots": "Vec" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "EthAccessList": "Vec", + "LegacyTransaction": { + "nonce": "U256", + "gasPrice": "U256", + "gasLimit": "U256", + "action": "EthTransactionAction", + "value": "U256", + "input": "Bytes", + "signature": "EthTransactionSignature" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "EthTransactionSignature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "EthTransactionAction": { + "_enum": { + "Call": "H160", + "Create": "Null" + } }, - "HttpUrl": { - "payload": "Text" + "EthBloom": "H2048", + "EthLog": { + "address": "EthAddress", + "topics": "Vec", + "data": "Bytes", + "blockHash": "Option", + "blockNumber": "Option", + "transactionHash": "Option", + "transactionIndex": "Option", + "logIndex": "Option", + "transactionLogIndex": "Option", + "removed": "bool" }, - "FtpUrl": { - "payload": "Text" + "ExitRevert": { + "_enum": [ + "Reverted" + ] }, - "IpfsUrl": { - "payload": "Text" + "ExitSucceed": { + "_enum": [ + "Stopped", + "Returned", + "Suicided" + ] }, - "Url": { + "ExitFatal": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NotSupported": "Null", + "UnhandledInterrupt": "Null", + "CallErrorAsFatal": "ExitError", + "Other": "Text" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "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" + } }, - "Stake": { - "owner": "AccountId", + "Fee": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "InProcessOrders": { + "orders": "Vec<(LaneId, MessageNonce)>" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "MMRProofResult": { + "mmrSize": "u64", + "proof": "Text" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "NodeIndex": "u64", + "MmrNodesPruningConfiguration": { + "step": "NodeIndex", + "progress": "NodeIndex", + "lastPosition": "NodeIndex" }, - "CollatorStatus": { + "ProxyType": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Any": null, + "NonTransfer": null, + "Governance": null, + "Staking": null, + "IdentityJudgement": null, + "EthereumBridge": null } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "Announcement": "ProxyAnnouncement", + "ProxyAnnouncement": { + "real": "AccountId", + "callHash": "Hash", + "height": "BlockNumber" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "CrabRuntimePalletsProxyProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" + ] }, - "DelegationStorageVersion": { + "DarwiniaRuntimePalletsProxyProxyType": { "_enum": [ - "V1", - "V2" + "Any", + "NonTransfer", + "Governance", + "Staking", + "IdentityJudgement", + "EthereumBridge" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "RelayHeaderId": "EthereumBlockNumber", + "RelayProofs": "EthereumRelayProofs", + "RelayVotingState": { + "ayes": "Vec", + "nays": "Vec" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "RelayAffirmationId": { + "relayHeaderId": "RelayHeaderId", + "round": "u32", + "index": "u32" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "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": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Fee": null, + "Misc": null, + "All": null } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "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": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Collateral": "Collateral", + "Fiat": "Fiat", + "Usdv": null } }, - "ContentType": { + "Collateral": { "_enum": [ - "application/json", - "application/ld+json" + "Usdc" ] }, - "DidStorageVersion": { + "Fiat": { "_enum": [ - "V1", - "V2" + "Cop", + "Vez" ] }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] + "CurrencyId": "Asset", + "OracleKey": "Asset", + "OracleValue": "FixedU128", + "CurrencyIdOf": "Asset", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "Share": "Permill" } - }, + } + ] + }, + "VLN-PC": { + "types": [ { "minmax": [ - 23, - 24 + 0, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "Asset": { + "_enum": { + "Collateral": "Collateral", + "Fiat": "Fiat", + "Network": "NetworkAsset", + "Usdv": null + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "Collateral": { + "_enum": [ + "Usdc" + ] }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "Fiat": { + "_enum": [ + "Cop", + "Vez" + ] }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "CurrencyId": "NetworkAsset", + "OracleKey": "Asset", + "OracleValue": "FixedU128", + "CurrencyIdOf": "NetworkAsset", + "Amount": "i64", + "AmountOf": "Amount", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "Share": "Permill", + "XCurrencyId": { + "chain_id": "ChainId", + "currency_id": "Bytes" }, - "DidPublicKey": { + "ChainId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "RelayChain": null, + "Parachain": "ParaId" } }, - "DidVerificationKeyRelationship": { + "NetworkAsset": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "ACA", + "AUSD", + "DOT" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "BaseAsset": "CurrencyId", + "AssetPair": { + "base": "BaseAsset", + "quote": "CurrencyId" }, - "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": { + "PaymentMethod": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "BankX", + "BankY" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "RatePremiumType": "FixedU128", + "SwapKind": { + "_enum": { + "In": "SwapIn", + "Out": "SwapOut" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "SwapIn": { + "_enum": { + "Created": null, + "Accepted": "Vec", + "Rejected": "Vec", + "Confirmed": "Vec", + "Expired": null, + "Completed": null + } }, - "HttpUrl": { - "payload": "Text" + "SwapOut": { + "_enum": { + "Created": null, + "Accepted": null, + "Rejected": "Vec", + "Confirmed": "Vec", + "Expired": null, + "Completed": null + } }, - "FtpUrl": { - "payload": "Text" + "PairPrice": { + "pair": "AssetPair", + "price": "FixedU128" }, - "IpfsUrl": { - "payload": "Text" + "Swap": { + "human": "AccountId", + "kind": "SwapKind", + "price": "PairPrice", + "amount": "FixedU128" }, - "Url": { + "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": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "DelegationStorageVersion": { + "Share": "u128", + "OracleValue": "Price", + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": [ - "V1", - "V2" + "ACA", + "AUSD", + "DOT", + "XBTC", + "LDOT", + "RENBTC" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" - }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "DexShare": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "CurrencyId": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "ContentType": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "application/json", - "application/ld+json" + "KAR", + "ACA" ] }, - "DidStorageVersion": { + "AuthoritysOriginId": { "_enum": [ - "V1", - "V2" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "AcalaDataProviderId": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Aggregated", + "Acala", + "Band" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] + }, + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidEncryptionKey": { + "ChangeOptionRatio": { "_enum": { - "X25519": "[u8; 32]" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "DidPublicKey": { + "ChangeBalance": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "NoChange": "Null", + "NewValue": "Balance" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "BalanceWrapper": { + "amount": "Balance" }, - "StorageError": { + "BalanceRequest": { + "amount": "Balance" + }, + "TradingPairStatus": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "HttpUrl": { - "payload": "Text" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "FtpUrl": { - "payload": "Text" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "Url": { + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "Stake": { + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", "owner": "AccountId", - "amount": "Balance" + "data": "TokenData" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DelegationStorageVersion": { + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "V1", - "V2" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" - }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ChangeRate": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ChangeRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "BalanceInfo": { + "amount": "Balance" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } + "MultiLocation": "MultiLocationV0", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0", + "Address": "LookupSource", + "LookupSource": "IndicesLookupSource" } }, { "minmax": [ - 2700, - 10409 + 700, + 719 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } - }, - "DidEncryptionKey": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "X25519": "[u8; 32]" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "DidSignature": { + "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": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidError": { + "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": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "Stake": { - "owner": "AccountId", + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } + }, + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } + }, + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } + }, + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" + }, + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" + }, + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" + }, + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolIdV0": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidStorageVersion": { + "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": [ - "V1", - "V2", - "V3" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "CandidateStatus": { + "ChangeRate": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NoChange": "Null", + "NewValue": "Rate" } }, - "Deposit": { - "owner": "AccountId", + "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": [ - 10410, - 10719 + 720, + 722 ], "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" + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidPublicKey": { + "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": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidSignature": { + "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": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "XBTC": 4, + "RENBTC": 5, + "POLKABTC": 6, + "PLM": 7, + "PHA": 8, + "HDT": 9, + "BCG": 11, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "SDN": 135, + "KILT": 138 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "Stake": { - "owner": "AccountId", + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } + }, + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } + }, + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } + }, + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" + }, + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" + }, + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" + }, + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolIdV0": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidStorageVersion": { + "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": [ - "V1", - "V2", - "V3" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "CandidateStatus": { + "ChangeRate": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NoChange": "Null", + "NewValue": "Rate" } }, - "Deposit": { - "owner": "AccountId", + "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": [ - 10720, - 10750 + 723, + 729 ], "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } - }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] - }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - }, - "PublicCredentialFilter": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - } - ] - }, - "KILT Spiritnet": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "version": 2 - } - ], - "Did": [ - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "version": 1 - }, - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "version": 2 - } - ], - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" - }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" - } + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" } }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" - }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" - }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "ChainId": { + "Share": "u128", + "OracleValue": "Price", + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" + "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 } }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { + "DexShare": { "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "XcmError": { + "CurrencyId": { "_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 + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" } }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } - } - }, - { - "minmax": [ - 9, - 9 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidVerificationKeyRelationship": { + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "LiquidationStrategy": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Auction", + "Exchange" ] }, - "DidSignature": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidError": { + "ChangeOptionRatio": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "StorageError": { + "ChangeBalance": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "NoChange": "Null", + "NewValue": "Balance" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "BalanceWrapper": { + "amount": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "BalanceRequest": { + "amount": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DidVerificationKeyUpdateAction": { + "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": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "HttpUrl": { - "payload": "Text" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "FtpUrl": { - "payload": "Text" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "IpfsUrl": { - "payload": "Text" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "Url": { + "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": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Rate" } }, - "LockedBalance": { - "block": "BlockNumber", + "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": [ - 10, - 11 + 730, + 1007 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidPublicKey": { + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidSignature": { + "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": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 4, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "CASH": 140 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "DidVerificationKeyUpdateAction": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "HttpUrl": { - "payload": "Text" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "FtpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "IpfsUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "Url": { + "BalanceRequest": { + "amount": "Balance" + }, + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { "total": "Balance", - "state": "CollatorStatus" + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "CollatorStatus": { + "PoolId": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "PoolIdV0": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" + }, + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "KeyError": { + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "InputError": { + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "ChangeRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "Rate" + } }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "BalanceInfo": { + "amount": "Balance" }, - "DidVerificationKeyUpdateAction": { + "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": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "HttpUrl": { - "payload": "Text" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "FtpUrl": { - "payload": "Text" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "Url": { + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "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 + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "DexShare": { + "_enum": { + "Token": "TokenSymbol", + "Erc20": "EvmAddress" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - } - } - }, - { - "minmax": [ - 17, - 17 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidEncryptionKey": { + "ChangeOptionRatio": { "_enum": { - "X25519": "[u8; 32]" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "DidPublicKey": { + "ChangeBalance": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "NoChange": "Null", + "NewValue": "Balance" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "BalanceWrapper": { + "amount": "Balance" }, - "StorageError": { + "BalanceRequest": { + "amount": "Balance" + }, + "TradingPairStatus": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidVerificationKeyUpdateAction": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "HttpUrl": { - "payload": "Text" + "PoolId": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "FtpUrl": { - "payload": "Text" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "IpfsUrl": { - "payload": "Text" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" + }, + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "OrderedSet": "Vec", - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" + "data": "ClassData" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "CollatorStatus": { + "ChangeRate": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "BalanceInfo": { + "amount": "Balance" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "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": [ - 18, - 18 + 1008, + 1009 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DidPublicKey": { + "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": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidSignature": { + "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": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { + "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": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Auction", + "Exchange" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "DidVerificationKeyUpdateAction": { + "ChangeBalance": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Balance" } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "HttpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "IpfsUrl": { - "payload": "Text" + "BalanceRequest": { + "amount": "Balance" }, - "Url": { + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { "total": "Balance", - "state": "CollatorStatus" + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "CollatorStatus": { + "PoolId": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "DidVerificationKeyRelationship": { + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "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" - ] + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "InputError": { + "StakingPoolPhase": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "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" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "Url": { + "ChangeRate": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Rate" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", + "BalanceInfo": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "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" + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "CollatorStatus": { + "DelayedDispatchTime": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" + "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 + } }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "DexShare": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "CurrencyId": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "ContentType": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" + "KAR", + "ACA" ] }, - "DidStorageVersion": { + "AuthoritysOriginId": { "_enum": [ - "V1", - "V2" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] - } - } - }, - { - "minmax": [ - 20, - 20 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidVerificationKeyRelationship": { + "LiquidationStrategy": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "Auction", + "Exchange" ] }, - "DidSignature": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidError": { + "ChangeOptionRatio": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "StorageError": { + "ChangeBalance": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "NoChange": "Null", + "NewValue": "Balance" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "BalanceWrapper": { + "amount": "Balance" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "BalanceRequest": { + "amount": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "HttpUrl": { - "payload": "Text" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "FtpUrl": { - "payload": "Text" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "IpfsUrl": { - "payload": "Text" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "Url": { - "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" - } + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "PoolId": { + "_enum": { + "Loans": "CurrencyId", + "Dex": "CurrencyId" + } }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "DelegationStorageVersion": { + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "V1", - "V2" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ChangeRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" - ] + "BalanceInfo": { + "amount": "Balance" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32" + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "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": [ - 21, - 22 + 1014, + 1018 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidPublicKey": { + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidSignature": { + "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": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "FtpUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolIdV0": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidStorageVersion": { + "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": [ - "V1", - "V2" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" + "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": [ - 23, - 24 + 1019, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidPublicKey": { + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidSignature": { + "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": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "KAR", + "ACA" ] }, - "UrlError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "IpfsUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "Url": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "BalanceWrapper": { + "amount": "Balance" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "Guarantee": { "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 25, - 2699 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "PoolId": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "DidEncryptionKey": { + "PoolIdV0": { "_enum": { - "X25519": "[u8; 32]" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" - } + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "InputError": { + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "HttpUrl": { - "payload": "Text" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "FtpUrl": { - "payload": "Text" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "IpfsUrl": { - "payload": "Text" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "Url": { + "ChangeRate": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Rate" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "Stake": { - "owner": "AccountId", + "BalanceInfo": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "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" + } }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "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": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "CurrencyId": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "ContentType": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "application/json", - "application/ld+json" + "KAR", + "ACA" ] }, - "DidStorageVersion": { + "AuthoritysOriginId": { "_enum": [ - "V1", - "V2" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "AcalaDataProviderId": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Aggregated", + "Acala", + "Band" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 2700, - 10409 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] + }, + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidEncryptionKey": { + "ChangeOptionRatio": { "_enum": { - "X25519": "[u8; 32]" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "DidPublicKey": { + "ChangeBalance": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "NoChange": "Null", + "NewValue": "Balance" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" - } + "BalanceWrapper": { + "amount": "Balance" }, - "StorageError": { + "BalanceRequest": { + "amount": "Balance" + }, + "TradingPairStatus": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "PoolId": { + "_enum": { + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" + } }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "DidStorageVersion": { + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "V1", - "V2", - "V3" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "CandidateStatus": { + "ChangeRate": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NoChange": "Null", + "NewValue": "Rate" } }, - "Deposit": { - "owner": "AccountId", + "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": [ - 10410, - 10719 + 700, + 719 ], "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": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DidPublicKey": { + "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": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { + "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": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "ACA", + "AUSD", + "DOT", + "XBTC", + "LDOT", + "RENBTC" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "Stake": { - "owner": "AccountId", + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } + }, + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } + }, + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } + }, + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" + }, + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" + }, + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" + }, + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolIdV0": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidStorageVersion": { + "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": [ - "V1", - "V2", - "V3" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "CandidateStatus": { + "ChangeRate": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "NoChange": "Null", + "NewValue": "Rate" } }, - "Deposit": { - "owner": "AccountId", + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } + }, + "BalanceInfo": { "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } + }, + "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": [ - 10800, - 10899 + 720, + 722 ], "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "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" }, - "PublicCredentialFilter": { + "DelayedDispatchTime": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "PublicCredentialError": { - "_enum": [ - "InvalidSubjectId" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "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" + } }, - "PublicCredentialFilter": { + "CurrencyId": { "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" } }, - "PublicCredentialError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSubjectId" + "KAR", + "ACA" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - } - ] - }, - "KILT Spiritnet Develop": { - "runtime": { - "DidApi": [ - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_did_by_w3n": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_did_by_account_id": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query_did": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Did": [ - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 1 - }, - { - "methods": { - "query_by_web3_name": { - "description": "Return the information relative to the owner of the provided web3name, if any.", - "params": [ - { - "name": "name", - "type": "Text" - } - ], - "type": "Option" - }, - "query_by_account": { - "description": "Return the information relative to the DID to which the provided account is linked, if any.", - "params": [ - { - "name": "account", - "type": "DidApiAccountId" - } - ], - "type": "Option" - }, - "query": { - "description": "Return the information relative to the owner of the provided DID, if present.", - "params": [ - { - "name": "did", - "type": "AccountId32" - } - ], - "type": "Option" - } - }, - "version": 2 - } - ], - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" - }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" - } + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] }, - "version": 1 - } - ], - "PublicCredentials": [ - { - "methods": { - "get_by_id": { - "description": "Return the public credential with the specified ID, if found.", - "params": [ - { - "name": "credential_id", - "type": "Hash" - } - ], - "type": "Option" - }, - "get_by_subject": { - "description": "Return all the public credentials linked to the specified subject.\n An optional filter can be passed to be applied to the result before being returned to the client.\n It returns an error if the provided specified subject ID is not valid.\n ", - "params": [ - { - "name": "subject", - "type": "Text" - }, - { - "name": "filter", - "type": "Option" - } - ], - "type": "Result, PublicCredentialError>" - } + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] }, - "version": 1 - } - ] - }, - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithDualRefCount", - "Address": "AccountId", - "Attestation": { - "ctypeHash": "Hash", - "attester": "AccountId", - "delegationId": "Option", - "revoked": "bool" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "Balance": "u128", - "DelegationNode": { - "rootId": "DelegationNodeId", - "parent": "Option", - "owner": "AccountId", - "permissions": "Permissions", - "revoked": "bool" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DelegationNodeId": "Hash", - "DelegationRoot": { - "ctypeHash": "Hash", - "owner": "AccountId", - "revoked": "bool" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidRecord": { - "signKey": "Hash", - "boxKey": "Hash", - "docRef": "Option>" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "Index": "u64", - "LookupSource": "AccountId", - "Permissions": "u32", - "PublicBoxKey": "Hash", - "PublicSigningKey": "Hash", - "Signature": "MultiSignature", - "XCurrencyId": { - "chainId": "ChainId", - "currencyId": "Vec" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "ChainId": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "CurrencyIdOf": "CurrencyId", - "CurrencyId": { + "ChangeOptionRatio": { "_enum": { - "DOT": 0, - "KSM": 1, - "KILT": 2 + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "XcmError": { + "ChangeBalance": { "_enum": { - "Undefined": 0, - "Unimplemented": 1, - "UnhandledXcmVersion": 2, - "UnhandledXcmMessage": 3, - "UnhandledEffect": 4, - "EscalationOfPrivilege": 5, - "UntrustedReserveLocation": 6, - "UntrustedTeleportLocation": 7, - "DestinationBufferOverflow": 8, - "CannotReachDestination": 9, - "MultiLocationFull": 10, - "FailedToDecode": 11, - "BadOrigin": 12, - "ExceedsMaxMessageSize": 13, - "FailedToTransactAsset": 14 + "NoChange": "Null", + "NewValue": "Balance" } }, - "ReferendumInfo": { - "_enum": { - "Ongoing": "ReferendumStatus", - "Finished": "ReferendumInfoFinished" - } - } - } - }, - { - "minmax": [ - 9, - 9 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "DidIdentifierOf", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "DidIdentifierOf", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "DidIdentifierOf", - "DelegationSignature": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "BalanceWrapper": { + "amount": "Balance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } + "BalanceRequest": { + "amount": "Balance" }, - "DidEncryptionKey": { + "TradingPairStatus": { "_enum": { - "X25519": "[u8; 32]" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" - } + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InternalError": "Null" - } + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "PoolId": { + "_enum": { + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" + } }, - "DidVerificationKeyUpdateAction": { + "PoolIdV0": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "HttpUrl": { - "payload": "Text" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "FtpUrl": { - "payload": "Text" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "IpfsUrl": { - "payload": "Text" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "Url": { + "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": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Rate" } }, - "LockedBalance": { - "block": "BlockNumber", + "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": [ - 10, - 11 + 723, + 729 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]" - } + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidPublicKey": { + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidSignature": { + "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": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "XBTC": 4, + "RENBTC": 5, + "POLKABTC": 6, + "PLM": 7, + "PHA": 8, + "HDT": 9, + "BCG": 11, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "SDN": 135, + "KILT": 138 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "DidVerificationKeyUpdateAction": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "HttpUrl": { - "payload": "Text" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "FtpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "IpfsUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "Url": { + "BalanceRequest": { + "amount": "Balance" + }, + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { "total": "Balance", - "state": "CollatorStatus" + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "CollatorStatus": { + "PoolId": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 12, - 16 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" - }, - "DelegationNode": { - "rootId": "DelegationNodeIdOf", - "parent": "Option", - "owner": "DelegatorIdOf", - "permissions": "Permissions", - "revoked": "bool" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidEncryptionKey": { + "PoolIdV0": { "_enum": { - "X25519": "[u8; 32]" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "InputError": { + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidVerificationKeyUpdateAction": { + "ChangeRate": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { + "ChangeRatio": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" - }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", + "BalanceInfo": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" - }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" - }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" - }, - "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" - } + "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": [ - 17, - 17 + 730, + 1007 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidPublicKey": { + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidSignature": { + "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": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 4, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "CASH": 140 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidCreationOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "DidVerificationKey", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DidUpdateOperation": { - "did": "DidIdentifierOf", - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option", - "txCounter": "u64" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "DidVerificationKeyUpdateAction": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "DidDeletionOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64" - }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BalanceRequest": { + "amount": "Balance" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - } - } - }, - { - "minmax": [ - 18, - 18 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "PoolId": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidEncryptionKey": { + "PoolIdV0": { "_enum": { - "X25519": "[u8; 32]" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "UrlError": { + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "InputError": { + "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": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "endpointUrl": "Option", - "lastTxCounter": "u64" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidVerificationKeyUpdateAction": { + "ChangeRate": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" - }, - "HttpUrl": { - "payload": "Text" - }, - "FtpUrl": { - "payload": "Text" - }, - "IpfsUrl": { - "payload": "Text" - }, - "Url": { + "ChangeRatio": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "LockedBalance": { - "block": "BlockNumber", + "BalanceInfo": { "amount": "Balance" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "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" + } }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "CollatorStatus": { + "DelayedDispatchTime": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" - }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" - }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" - }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] - }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newEndpointUrl": "Option" - }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidVerificationKeyUpdateAction", - "delegationKeyUpdate": "DidVerificationKeyUpdateAction", - "publicKeysToRemove": "BTreeSet", - "newEndpointUrl": "Option" - } - } - }, - { - "minmax": [ - 19, - 19 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BTreeSet", - "details": "DelegationDetails" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { + "Share": "u128", + "OracleValue": "Price", + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131 } }, - "DidEncryptionKey": { + "DexShare": { "_enum": { - "X25519": "[u8; 32]" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "DidPublicKey": { + "CurrencyId": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "DidVerificationKeyRelationship": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "KAR", + "ACA" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { - "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" - } - }, - "StorageError": { - "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null" - } - }, - "SignatureError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "KeyError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Aggregated", + "Acala", + "Band" ] }, - "UrlError": { - "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "InputError": { + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" + }, + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" + }, + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "LiquidationStrategy": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Auction", + "Exchange" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "BTreeSet", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "BTreeMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "HttpUrl": { - "payload": "Text" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "FtpUrl": { - "payload": "Text" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "IpfsUrl": { - "payload": "Text" + "BalanceWrapper": { + "amount": "Balance" }, - "Url": { + "BalanceRequest": { + "amount": "Balance" + }, + "TradingPairStatus": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "OrderedSet": "Vec", - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "CollatorSnapshot": { - "stake": "Balance", - "delegators": "Vec", - "total": "Balance" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { "total": "Balance", - "state": "CollatorStatus" + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "CollatorStatus": { + "PoolId": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "BTreeSet", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "BTreeSet", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "BTreeSet", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "Vec", - "contentType": "ContentType" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "ContentType": { + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "DidStorageVersion": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "V1", - "V2" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] - } + }, + "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": [ - 20, - 20 + 1008, + 1009 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "Vec", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidPublicKey": { + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidSignature": { + "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": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "delegationKey": "Option", - "attestationKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "FtpUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "OrderedSet": "BoundedVec", - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "BalanceRequest": { + "amount": "Balance" }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Delegator": { - "delegations": "OrderedSet", - "total": "Balance" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "OrderedSet", - "total": "Balance", - "state": "CollatorStatus" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAttestationKey": "Option", - "newDelegationKey": "Option", - "newServiceEndpoints": "Option" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidUpdateDetails": { - "newAuthenticationKey": "Option", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", - "publicKeysToRemove": "DidVerificationKeysToRevoke", - "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolIdV0": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "ContentType": { - "_enum": [ - "ApplicationJson", - "ApplicationJsonLd" - ] - }, - "DidStorageVersion": { + "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": [ - "V1", - "V2" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "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" + "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": [ - 21, - 22 + 1010, + 1013 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidPublicKey": { + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidSignature": { + "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": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "FtpUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "Collator": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "state": "CollatorStatus" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "CollatorStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolIdV0": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidStorageVersion": { + "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": [ - "V1", - "V2" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "MaxCollatorCandidates": "u32", - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1" + "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": [ - 23, - 24 + 1014, + 1018 ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidPublicKey": { + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidSignature": { + "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": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "UrlError": { + "AcalaDataProviderId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Aggregated", + "Acala", + "Band" ] }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" - ] + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "FtpUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "IpfsUrl": { - "payload": "Text" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "Url": { + "ChangeBalance": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "Balance" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "Stake": { - "owner": "AccountId", + "BalanceWrapper": { "amount": "Balance" }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "PoolIdV0": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidStorageVersion": { + "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": [ - "V1", - "V2" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" + }, + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "CandidateStatus": { + "ChangeRate": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "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": [ - 25, - 2699 + 1019, + null ], "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool" + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationRoot": { - "ctypeHash": "CtypeHashOf", - "owner": "DelegatorIdOf", - "revoked": "bool" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "DidPublicKey": { + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "DidSignature": { + "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": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "BNC": 168, + "VSKSM": 169, + "PHA": 170, + "KINT": 171, + "KBTC": 172 } }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "UrlError": "UrlError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "VerificationKeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxTxCounterValue": "Null", - "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "MaxOldAttestationKeysExceeded": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce" - ] - }, - "KeyError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "KAR", + "ACA" ] }, - "UrlError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidUrlEncoding", - "InvalidUrlScheme" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded", - "MaxUrlLengthExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "serviceEndpoints": "Option", - "lastTxCounter": "u64" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "submitter": "AccountId" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "HttpUrl": { - "payload": "Text" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "FtpUrl": { - "payload": "Text" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "IpfsUrl": { - "payload": "Text" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "Url": { + "ChangeOptionRatio": { "_enum": { - "Http": "HttpUrl", - "Ftp": "FtpUrl", - "Ipfs": "IpfsUrl" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" - }, - "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" - ] + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option", - "newServiceEndpoints": "Option" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "ServiceEndpoints": { - "contentHash": "Hash", - "urls": "BoundedVec", - "contentType": "ContentType" + "BalanceWrapper": { + "amount": "Balance" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "BalanceRequest": { + "amount": "Balance" }, - "DidFragmentUpdateAction_DidVerificationKey": { + "TradingPairStatus": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "ContentType": { - "_enum": [ - "application/json", - "application/ld+json" - ] + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "MaxUrlLength": "u32", - "MaxEndpointUrlsCount": "u32", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - } - } - }, - { - "minmax": [ - 2700, - 10409 - ], - "types": { - "DispatchError": "DispatchErrorPre6First", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" - } + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "DidEncryptionKey": { - "_enum": { - "X25519": "[u8; 32]" - } + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DidPublicKey": { - "_enum": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" - } + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "DidVerificationKeyRelationship": { - "_enum": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" - ] + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "DidError": { + "PoolId": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "StorageError": { + "PoolIdV0": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "SignatureError": { - "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" - ] - }, - "KeyError": { - "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" - ] - }, - "InputError": { - "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" - ] - }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "Stake": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", "owner": "AccountId", - "amount": "Balance" - }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" - }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" - }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "data": "ClassData" }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "DelegationStorageVersion": { + "StakingPoolPhase": { "_enum": [ - "V1", - "V2" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "DidFragmentUpdateAction_ServiceEndpoints": { + "ChangeRate": { "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Rate" } }, - "DidFragmentUpdateAction_DidVerificationKey": { + "ChangeRatio": { "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] - }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "BalanceInfo": { + "amount": "Balance" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "ExchangeRate": "FixedU128", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "PublicKey": "[u8; 20]", + "DestAddress": "Vec", + "PoolTokenIndex": "u32", + "AssetId": "CurrencyId", "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", - "total": "Balance", - "status": "CandidateStatus" - }, - "CandidateStatus": { - "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" - } - }, - "Deposit": { - "owner": "AccountId", - "amount": "Balance" - } + "Address": "GenericMultiAddress", + "LookupSource": "GenericMultiAddress" } + } + ], + "alias": { + "stakingPool": { + "Phase": "StakingPoolPhase" }, - { - "minmax": [ - 10410, - 10719 - ], - "types": { - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "AmountOf": "i128", - "Balance": "u128", - "BlockNumber": "u64", - "Index": "u64", - "LookupSource": "MultiAddress", - "CtypeCreatorOf": "AccountId", - "CtypeHashOf": "Hash", - "ClaimHashOf": "Hash", - "AttesterOf": "AccountId", - "AttestationDetails": { - "ctypeHash": "CtypeHashOf", - "attester": "AttesterOf", - "delegationId": "Option", - "revoked": "bool", - "deposit": "Deposit" - }, - "Permissions": "u32", - "DelegationNodeIdOf": "Hash", - "DelegatorIdOf": "AccountId", - "DelegateSignatureTypeOf": "DidSignature", - "DelegationNode": { - "hierarchyRootId": "DelegationNodeIdOf", - "parent": "Option", - "children": "BoundedBTreeSet", - "details": "DelegationDetails", - "deposit": "Deposit" - }, - "KeyIdOf": "Hash", - "DidIdentifierOf": "AccountId", - "AccountIdentifierOf": "AccountId", - "BlockNumberOf": "BlockNumber", - "DidCallableOf": "Call", - "DidVerificationKey": { - "_enum": { - "Ed25519": "[u8; 32]", - "Sr25519": "[u8; 32]", - "Secp256k1": "[u8; 33]" + "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 } - }, - "DidEncryptionKey": { + ], + "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": { - "X25519": "[u8; 32]" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidPublicKey": { + "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": { - "PublicVerificationKey": "DidVerificationKey", - "PublicEncryptionKey": "DidEncryptionKey" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DidVerificationKeyRelationship": { + "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": [ - "Authentication", - "CapabilityDelegation", - "CapabilityInvocation", - "AssertionMethod" + "ACA", + "AUSD", + "DOT", + "XBTC", + "LDOT", + "RENBTC" ] }, - "DidSignature": { - "_enum": { - "Ed25519": "Ed25519Signature", - "Sr25519": "Sr25519Signature", - "Ecdsa-Secp256k1": "EcdsaSignature" - } - }, - "DidError": { + "DexShare": { "_enum": { - "StorageError": "StorageError", - "SignatureError": "SignatureError", - "InputError": "InputError", - "InternalError": "Null" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "StorageError": { + "CurrencyId": { "_enum": { - "DidAlreadyPresent": "Null", - "DidNotPresent": "Null", - "DidKeyNotPresent": "DidVerificationKeyRelationship", - "KeyNotPresent": "Null", - "CurrentlyActiveKey": "Null", - "MaxPublicKeysPerDidExceeded": "Null", - "MaxTotalKeyAgreementKeysExceeded": "Null", - "DidAlreadyDeleted": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "SignatureError": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "InvalidSignatureFormat", - "InvalidSignature", - "InvalidNonce", - "TransactionExpired" + "KAR", + "ACA" ] }, - "KeyError": { + "AuthoritysOriginId": { "_enum": [ - "InvalidVerificationKeyFormat", - "InvalidEncryptionKeyFormat" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "InputError": { + "AcalaDataProviderId": { "_enum": [ - "MaxKeyAgreementKeysLimitExceeded", - "MaxVerificationKeysToRemoveLimitExceeded" + "Aggregated", + "Acala", + "Band" ] }, - "DidPublicKeyDetails": { - "key": "DidPublicKey", - "blockNumber": "BlockNumberOf" - }, - "DidDetails": { - "authenticationKey": "KeyIdOf", - "keyAgreementKeys": "DidKeyAgreementKeys", - "capabilityDelegationKey": "Option", - "assertionMethodKey": "Option", - "publicKeys": "DidPublicKeyMap", - "lastTxCounter": "u64", - "deposit": "Deposit" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "DidAuthorizedCallOperation": { - "did": "DidIdentifierOf", - "txCounter": "u64", - "call": "DidCallableOf", - "blockNumber": "BlockNumber", - "submitter": "AccountId" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "LockedBalance": { - "block": "BlockNumber", - "amount": "Balance" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "BalanceOf": "Balance", - "RoundInfo": { - "current": "SessionIndex", - "first": "BlockNumber", - "length": "BlockNumber" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "Stake": { - "owner": "AccountId", - "amount": "Balance" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "TotalStake": { - "collators": "Balance", - "delegators": "Balance" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "InflationInfo": { - "collator": "StakingInfo", - "delegator": "StakingInfo" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "StakingInfo": { - "maxRate": "Perquintill", - "rewardRate": "RewardRate" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "RewardRate": { - "annual": "Perquintill", - "perBlock": "Perquintill" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "Delegator": { - "delegations": "Vec", - "total": "Balance" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "DelegationCounter": { - "round": "SessionIndex", - "counter": "u32" + "BalanceWrapper": { + "amount": "Balance" }, - "DelegationDetails": { - "owner": "DelegatorIdOf", - "revoked": "bool", - "permissions": "Permissions" + "BalanceRequest": { + "amount": "Balance" }, - "DelegationHierarchyDetails": { - "ctypeHash": "CtypeHashOf" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "DelegationStorageVersion": { - "_enum": [ - "V1", - "V2" - ] + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "DidCreationDetails": { - "did": "DidIdentifierOf", - "submitter": "AccountId", - "newKeyAgreementKeys": "DidNewKeyAgreementKeys", - "newAssertionMethodKey": "Option", - "newCapabilityDelegationKey": "Option" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "DidFragmentUpdateAction_ServiceEndpoints": { - "_enum": { - "Ignore": "Null", - "Change": "ServiceEndpoints", - "Delete": "Null" - } + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "DidFragmentUpdateAction_DidVerificationKey": { - "_enum": { - "Ignore": "Null", - "Change": "DidVerificationKey", - "Delete": "Null" - } + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "DidStorageVersion": { - "_enum": [ - "V1", - "V2", - "V3" - ] + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "MaxDelegatorsPerCollator": "u32", - "MaxCollatorsPerDelegator": "u32", - "StakingStorageVersion": { - "_enum": [ - "V1_0_0", - "V2_0_0", - "V3_0_0", - "V4", - "V5" - ] + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "MaxDelegatedAttestations": "u32", - "MaxClaims": "u32", - "MaxChildren": "u32", - "DidNewKeyAgreementKeys": "BoundedBTreeSet", - "DidKeyAgreementKeys": "BoundedBTreeSet", - "DidVerificationKeysToRevoke": "BoundedBTreeSet", - "MaxNewKeyAgreementKeys": "u32", - "MaxTotalKeyAgreementKeys": "u32", - "MaxVerificationKeysToRevoke": "u32", - "MaxPublicKeysPerDid": "u32", - "DidPublicKeyMap": "BoundedBTreeMap", - "Keys": "SessionKeys1", - "MinCollators": "u32", - "MaxTopCandidates": "u32", - "Candidate": { - "id": "AccountId", - "stake": "Balance", - "delegators": "Vec", + "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", - "status": "CandidateStatus" + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "CandidateStatus": { + "PoolId": { "_enum": { - "Active": "Null", - "Leaving": "SessionIndex" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "Deposit": { + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } + }, + "Position": { + "collateral": "Balance", + "debit": "Balance" + }, + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", "owner": "AccountId", - "amount": "Balance" - } - } - }, - { - "minmax": [ - 10720, - 10750 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" - } - } - }, - { - "minmax": [ - 10800, - 10899 - ], - "types": { - "DidApiAccountId": "AccountId32", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "data": "TokenData" }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 } }, - "PublicCredentialError": { + "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": [ - "InvalidSubjectId" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - }, - { - "minmax": [ - 10900, - null - ], - "types": { - "DidApiAccountId": "PalletDidLookupLinkableAccountLinkableAccountId", - "RawDidLinkedInfo": { - "identifier": "AccountId32", - "accounts": "Vec", - "w3n": "Option", - "serviceEndpoints": "Vec", - "details": "DidDidDetails" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "PublicCredentialFilter": { - "_enum": { - "ctypeHash": "Hash", - "attester": "AccountId32" - } + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "PublicCredentialError": { + "StakingPoolPhase": { "_enum": [ - "InvalidSubjectId" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } - } - ] - } - }, - "spec": { - "Crab": { - "alias": {}, - "rpc": {}, - "types": [ - { - "minmax": [ - 0, - 0 - ], - "types": { - "UsableBalance": { - "usableBalance": "Balance" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "Status": { + "ChangeRate": { "_enum": { - "Free": null, - "Reserved": null + "NoChange": "Null", + "NewValue": "Rate" } }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "ChangeRatio": { "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "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" + "BalanceInfo": { + "amount": "Balance" }, - "LockFor": { + "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": { - "Common": "Common", - "Staking": "StakingLock" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "Common": { - "amount": "Balance" - }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" - }, - "Unbonding": { - "amount": "Balance", - "until": "BlockNumber" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "Share": "u128", + "OracleValue": "Price", + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { + "_enum": [ + "ACA", + "AUSD", + "DOT", + "XBTC", + "LDOT", + "RENBTC" + ] }, - "TransactionOutcome": { + "DexShare": { "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "EthereumNetwork": { + "CurrencyId": { "_enum": { - "Mainnet": null, - "Ropsten": null + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "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": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "OnChain", - "Signed", - "Authority" + "KAR", + "ACA" ] }, - "ValidatorPrefs": "ValidatorPrefsWithCommission", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { + "AcalaDataProviderId": { "_enum": [ - "Fee", - "Misc", - "All" + "Aggregated", + "Acala", + "Band" ] }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { - "_enum": { - "Token": null, - "Deposit": null - } + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "DarwiniaDemocracyVoteThreshold": { + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" + }, + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" + }, + "LiquidationStrategy": { "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" + "Auction", + "Exchange" ] }, - "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" + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRate" + } }, - "EthAddress": "H160", - "TransactionV2": { + "ChangeOptionRatio": { "_enum": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "EIP2930Transaction": { - "chainId": "u64", - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "accessList": "EthAccessList", - "oddYParity": "bool", - "r": "H256", - "s": "H256" + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "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" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "EthAccessListItem": { - "address": "EthAddress", - "slots": "Vec" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "EthAccessList": "Vec", - "LegacyTransaction": { - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "signature": "EthTransactionSignature" + "BalanceWrapper": { + "amount": "Balance" }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "BalanceRequest": { + "amount": "Balance" }, - "EthTransactionAction": { + "TradingPairStatus": { "_enum": { - "Call": "H160", - "Create": "Null" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "EthBloom": "H2048", - "EthLog": { - "address": "EthAddress", - "topics": "Vec", - "data": "Bytes", - "blockHash": "Option", - "blockNumber": "Option", - "transactionHash": "Option", - "transactionIndex": "Option", - "logIndex": "Option", - "transactionLogIndex": "Option", - "removed": "bool" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "ExitFatal": { + "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": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "ExitError": { + "PoolIdV0": { "_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" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "Fee": { - "amount": "Balance" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "ProxyType": { - "_enum": { - "Any": 0, - "NonTransfer": 1, - "Governance": 2, - "Staking": 3, - "UnusedSudoBalances": 4, - "IdentityJudgement": 5, - "CancelProxy": 6, - "Auction": 7 - } + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "CrabRuntimePalletsProxyProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" - ] + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "DarwiniaRuntimePalletsProxyProxyType": { + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ "Any", - "NonTransfer", + "CancelProxy", "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Auction", + "Swap", + "Loan" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "PowerOf": { - "power": "Power" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "ChangeRate": { + "_enum": { + "NoChange": "Null", + "NewValue": "Rate" + } }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "CompactAssignments": "CompactAssignmentsWith16", - "RawSolution": "RawSolutionWith16", - "Keys": "SessionKeys4", - "AccountInfo": "AccountInfoWithRefCount", - "LookupSource": "AccountId", - "StakingBalanceT": { + "ChangeRatio": { "_enum": { - "RingBalance": "Balance", - "KtonBalance": "Balance" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "NominatorIndexCompact": "u32", - "ValidatorIndexCompact": "u16", - "OffchainAccuracyCompact": "PerU16", - "PerU16": "UInt<16, PerU16>", - "EthBlockNumber": "u64", - "DoubleNodeWithMerkleProof": { - "dag_nodes": "[H512;2]", - "proof": "Vec" + "BalanceInfo": { + "amount": "Balance" }, - "OtherSignature": { + "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": { - "Eth": "EcdsaSignature", - "Tron": "EcdsaSignature" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "AccountData": { - "free": "Balance", + "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", - "freeKton": "Balance", - "reservedKton": "Balance" + "frozen": "Balance" }, - "LockReasons": { + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "Fee": null, - "Misc": null, - "All": null + "At": "BlockNumber", + "After": "BlockNumber" } }, - "StakingLedgerT": { - "stash": "AccountId", - "active": "Compact", - "activeDepositRing": "Compact", - "activeKton": "Compact", - "depositItems": "Vec", - "ringStakingLock": "StakingLock", - "ktonStakingLock": "StakingLock", - "claimedRewards": "Vec" - } - } - }, - { - "minmax": [ - 1, - 41 - ], - "types": { - "UsableBalance": { - "usableBalance": "Balance" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "Status": { + "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": { - "Free": null, - "Reserved": null + "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 } }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "DexShare": { "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" + } }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] }, - "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" + "AuthoritysOriginId": { + "_enum": [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" + ] }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] }, - "LockFor": { + "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": { - "Common": "Common", - "Staking": "StakingLock" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "Common": { + "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" }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" + "BalanceRequest": { + "amount": "Balance" }, - "Unbonding": { - "amount": "Balance", - "until": "BlockNumber" + "TradingPairStatus": { + "_enum": { + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" + } }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "TransactionOutcome": { + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "Loans": "CurrencyId", + "DexIncentive": "CurrencyId", + "DexSaving": "CurrencyId", + "Homa": "Null" } }, - "EthereumNetwork": { + "PoolIdV0": { "_enum": { - "Mainnet": null, - "Ropsten": null + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "H512", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "AccountId", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "Signer": "EthereumAddress", - "MMRRoot": "Hash", - "EcdsaAddress": "EthereumAddress", - "EcdsaMessage": "H256", - "RelayAuthoritySigner": "EthereumAddress", - "RelayAuthorityMessage": "EcdsaMessage", - "RelayAuthoritySignature": "EcdsaSignature", - "Term": "BlockNumber", - "OpCode": "[u8; 4; OpCode]", - "ElectionCompute": { + "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": [ - "OnChain", - "Signed", - "Authority" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "ValidatorPrefs": "ValidatorPrefsWithCommission", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "Fee", - "Misc", - "All" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { + "ChangeRate": { "_enum": { - "Token": null, - "Deposit": null + "NoChange": "Null", + "NewValue": "Rate" } }, - "DarwiniaDemocracyVoteThreshold": { - "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" - ] + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "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" + "BalanceInfo": { + "amount": "Balance" }, - "EthAddress": "H160", - "TransactionV2": { + "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": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EIP2930Transaction": { - "chainId": "u64", - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "accessList": "EthAccessList", - "oddYParity": "bool", - "r": "H256", - "s": "H256" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "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" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "EthAccessListItem": { - "address": "EthAddress", - "slots": "Vec" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "EthAccessList": "Vec", - "LegacyTransaction": { - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "signature": "EthTransactionSignature" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "EthTransactionAction": { + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "Call": "H160", - "Create": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EthBloom": "H2048", - "EthLog": { - "address": "EthAddress", - "topics": "Vec", - "data": "Bytes", - "blockHash": "Option", - "blockNumber": "Option", - "transactionHash": "Option", - "transactionIndex": "Option", - "logIndex": "Option", - "transactionLogIndex": "Option", - "removed": "bool" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "ExitFatal": { + "Share": "u128", + "OracleValue": "Price", + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "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 } }, - "ExitError": { + "DexShare": { "_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" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "Fee": { - "amount": "Balance" - }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" - }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" - }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" - }, - "ProxyType": { + "CurrencyId": { "_enum": { - "Any": 0, - "NonTransfer": 1, - "Governance": 2, - "Staking": 3, - "UnusedSudoBalances": 4, - "IdentityJudgement": 5, - "CancelProxy": 6, - "Auction": 7 + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" } }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] }, - "CrabRuntimePalletsProxyProxyType": { + "AuthoritysOriginId": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "DarwiniaRuntimePalletsProxyProxyType": { + "AcalaDataProviderId": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Aggregated", + "Acala", + "Band" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "PowerOf": { - "power": "Power" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "CompactAssignments": "CompactAssignmentsWith16", - "RawSolution": "RawSolutionWith16", - "Keys": "SessionKeys4", - "AccountInfo": "AccountInfoWithRefCount", - "LookupSource": "AccountId", - "StakingBalanceT": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "RingBalance": "Balance", - "KtonBalance": "Balance" + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "EthereumRelayHeaderParcel": { - "header": "EthereumHeader", - "mmrRoot": "H256" + "ChangeOptionRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "OptionRatio" + } }, - "OtherSignature": { + "ChangeBalance": { "_enum": { - "Eth": "EcdsaSignature", - "Tron": "EcdsaSignature" + "NoChange": "Null", + "NewValue": "Balance" } }, - "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" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "NominatorIndexCompact": "u32", - "ValidatorIndexCompact": "u16", - "OffchainAccuracyCompact": "PerU16", - "PerU16": "UInt<16, PerU16>", - "DoubleNodeWithMerkleProof": { - "dag_nodes": "[H512;2]", - "proof": "Vec" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "EthBlockNumber": "u64", - "TcBlockNumber": "u64", - "GameId": "TcBlockNumber", - "EthereumHeaderThingWithProof": { - "header": "EthereumHeader", - "ethashProof": "Vec", - "mmrRoot": "H256", - "mmrProof": "Vec" + "BalanceWrapper": { + "amount": "Balance" }, - "EthereumHeaderThing": { - "header": "EthereumHeader", - "mmrRoot": "H256" + "BalanceRequest": { + "amount": "Balance" }, - "RawHeaderThing": "Vec", - "OtherAddress": { + "TradingPairStatus": { "_enum": { - "Eth": "EthereumAddress", - "Tron": "EthereumAddress" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "LockReasons": { - "_enum": { - "Fee": null, - "Misc": null, - "All": null - } + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "StakingLedgerT": { - "stash": "AccountId", - "active": "Compact", - "activeDepositRing": "Compact", - "activeKton": "Compact", - "depositItems": "Vec", - "ringStakingLock": "StakingLock", - "ktonStakingLock": "StakingLock", - "claimedRewards": "Vec" - } - } - }, - { - "minmax": [ - 42, - 43 - ], - "types": { - "UsableBalance": { - "usableBalance": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "Status": { - "_enum": { - "Free": null, - "Reserved": null - } + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { - "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" - } + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "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" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "LockFor": { + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" + }, + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" + }, + "PoolId": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "Common": { - "amount": "Balance" + "PoolIdV0": { + "_enum": { + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" + } }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "Unbonding": { - "amount": "Balance", - "until": "BlockNumber" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { + "_enum": [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" + ] }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "StakingPoolPhase": { + "_enum": [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" + ] }, - "TransactionOutcome": { + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" + }, + "ChangeRate": { "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "NoChange": "Null", + "NewValue": "Rate" } }, - "EthereumNetwork": { + "ChangeRatio": { "_enum": { - "Mainnet": null, - "Ropsten": null + "NoChange": "Null", + "NewValue": "Ratio" } }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "BalanceInfo": { + "amount": "Balance" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "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" + } }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "H512", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "MultiAddress", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "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" - ] + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { - "_enum": [ - "Fee", - "Misc", - "All" - ] + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { + "DelayedDispatchTime": { "_enum": { - "Token": null, - "Deposit": null + "At": "BlockNumber", + "After": "BlockNumber" } }, - "DarwiniaDemocracyVoteThreshold": { - "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "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" + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" }, - "EthAddress": "H160", - "TransactionV2": { + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" + }, + "Share": "u128", + "OracleValue": "Price", + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 4, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131, + "CASH": 140 } }, - "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" + "DexShare": { + "_enum": { + "Token": "TokenSymbol", + "Erc20": "EvmAddress" + } }, - "EthTransactionAction": { + "CurrencyId": { "_enum": { - "Call": "H160", - "Create": "Null" + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "EthBloom": "H2048", - "EthLog": { - "address": "EthAddress", - "topics": "Vec", - "data": "Bytes", - "blockHash": "Option", - "blockNumber": "Option", - "transactionHash": "Option", - "transactionIndex": "Option", - "logIndex": "Option", - "transactionLogIndex": "Option", - "removed": "bool" + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] }, - "ExitRevert": { + "AuthoritysOriginId": { "_enum": [ - "Reverted" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "ExitSucceed": { + "AcalaDataProviderId": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "Aggregated", + "Acala", + "Band" ] }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "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 - } + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "CrabRuntimePalletsProxyProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" - ] + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "DarwiniaRuntimePalletsProxyProxyType": { + "LiquidationStrategy": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Auction", + "Exchange" ] }, - "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": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Fee": null, - "Misc": null, - "All": null + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "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": { + "ChangeOptionRatio": { "_enum": { - "Free": null, - "Reserved": null + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "ChangeBalance": { "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" + "NoChange": "Null", + "NewValue": "Balance" } }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "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" + "BalanceWrapper": { + "amount": "Balance" }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "BalanceRequest": { + "amount": "Balance" }, - "LockFor": { + "TradingPairStatus": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "Common": { - "amount": "Balance" - }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" - }, - "Unbonding": { - "amount": "Balance", - "until": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "TransactionOutcome": { + "PoolId": { "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "EthereumNetwork": { + "PoolIdV0": { "_enum": { - "Mainnet": null, - "Ropsten": null + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "[u8;65]", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "[u8; 20; Address]", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "Signer": "EthereumAddress", - "MMRRoot": "Hash", - "EcdsaAddress": "EthereumAddress", - "EcdsaMessage": "H256", - "RelayAuthoritySigner": "EthereumAddress", - "RelayAuthorityMessage": "EcdsaMessage", - "RelayAuthoritySignature": "EcdsaSignature", - "Term": "BlockNumber", - "OpCode": "[u8; 4; OpCode]", - "ElectionCompute": { + "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": [ - "OnChain", - "Signed", - "Authority" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "Fee", - "Misc", - "All" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { + "ChangeRate": { "_enum": { - "Token": null, - "Deposit": null + "NoChange": "Null", + "NewValue": "Rate" } }, - "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" + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "EthAddress": "H160", - "TransactionV2": { + "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": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EIP2930Transaction": { - "chainId": "u64", - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "accessList": "EthAccessList", - "oddYParity": "bool", - "r": "H256", - "s": "H256" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "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" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "EthAccessListItem": { - "address": "EthAddress", - "slots": "Vec" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "EthAccessList": "Vec", - "LegacyTransaction": { - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "signature": "EthTransactionSignature" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "EthTransactionAction": { + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "Call": "H160", - "Create": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EthBloom": "H2048", - "EthLog": { - "address": "EthAddress", - "topics": "Vec", - "data": "Bytes", - "blockHash": "Option", - "blockNumber": "Option", - "transactionHash": "Option", - "transactionIndex": "Option", - "logIndex": "Option", - "transactionLogIndex": "Option", - "removed": "bool" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "ExitFatal": { + "Share": "u128", + "OracleValue": "Price", + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "ACA": 0, + "AUSD": 1, + "DOT": 2, + "LDOT": 3, + "RENBTC": 20, + "CASH": 21, + "KAR": 128, + "KUSD": 129, + "KSM": 130, + "LKSM": 131 } }, - "ExitError": { + "DexShare": { "_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" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "Fee": { - "amount": "Balance" - }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" - }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" - }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" - }, - "ProxyType": { + "CurrencyId": { "_enum": { - "Any": 0, - "NonTransfer": 1, - "Governance": 2, - "Staking": 3, - "UnusedSudoBalances": 4, - "IdentityJudgement": 5, - "CancelProxy": 6, - "Auction": 7 + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" - }, - "CrabRuntimePalletsProxyProxyType": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "KAR", + "ACA" ] }, - "DarwiniaRuntimePalletsProxyProxyType": { + "AuthoritysOriginId": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "PowerOf": { - "power": "Power" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "CompactAssignments": "CompactAssignmentsWith16", - "RawSolution": "RawSolutionWith16", - "Keys": "SessionKeys6", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "LockReasons": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Fee": null, - "Misc": null, - "All": null + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "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": { + "ChangeOptionRatio": { "_enum": { - "Free": null, - "Reserved": null + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "ChangeBalance": { "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" + "NoChange": "Null", + "NewValue": "Balance" } }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "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" + "BalanceWrapper": { + "amount": "Balance" }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "BalanceRequest": { + "amount": "Balance" }, - "LockFor": { + "TradingPairStatus": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "Common": { - "amount": "Balance" - }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "Unbonding": { - "amount": "Balance", - "until": "BlockNumber" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" - }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "TransactionOutcome": { + "PoolId": { "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "EthereumNetwork": { + "PoolIdV0": { "_enum": { - "Mainnet": null, - "Ropsten": null + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "[u8;65]", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "[u8; 20; Address]", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "Signer": "EthereumAddress", - "MMRRoot": "Hash", - "EcdsaAddress": "EthereumAddress", - "EcdsaMessage": "H256", - "RelayAuthoritySigner": "EthereumAddress", - "RelayAuthorityMessage": "EcdsaMessage", - "RelayAuthoritySignature": "EcdsaSignature", - "Term": "BlockNumber", - "OpCode": "[u8; 4; OpCode]", - "ElectionCompute": { + "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": [ - "OnChain", - "Signed", - "Authority" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "Fee", - "Misc", - "All" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { + "ChangeRate": { "_enum": { - "Token": null, - "Deposit": null + "NoChange": "Null", + "NewValue": "Rate" } }, - "DarwiniaDemocracyVoteThreshold": { - "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" - ] + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "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" + "BalanceInfo": { + "amount": "Balance" }, - "EthAddress": "H160", - "TransactionV2": { + "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": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EIP2930Transaction": { - "chainId": "u64", - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "accessList": "EthAccessList", - "oddYParity": "bool", - "r": "H256", - "s": "H256" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "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" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "EthAccessListItem": { - "address": "EthAddress", - "slots": "Vec" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "EthAccessList": "Vec", - "LegacyTransaction": { - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "signature": "EthTransactionSignature" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "EthTransactionAction": { + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "Call": "H160", - "Create": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EthBloom": "H2048", - "EthLog": { - "address": "EthAddress", - "topics": "Vec", - "data": "Bytes", - "blockHash": "Option", - "blockNumber": "Option", - "transactionHash": "Option", - "transactionIndex": "Option", - "logIndex": "Option", - "transactionLogIndex": "Option", - "removed": "bool" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "ExitFatal": { + "Share": "u128", + "OracleValue": "Price", + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "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 } }, - "ExitError": { + "DexShare": { "_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" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "Fee": { - "amount": "Balance" - }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" - }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" - }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" - }, - "ProxyType": { + "CurrencyId": { "_enum": { - "Any": null, - "NonTransfer": null, - "Governance": null, - "Staking": null, - "IdentityJudgement": null, - "EthereumBridge": null + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { + "_enum": [ + "KAR", + "ACA" + ] }, - "CrabRuntimePalletsProxyProxyType": { + "AuthoritysOriginId": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "DarwiniaRuntimePalletsProxyProxyType": { + "AcalaDataProviderId": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Aggregated", + "Acala", + "Band" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" - }, - "PowerOf": { - "power": "Power" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "LockReasons": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Fee": null, - "Misc": null, - "All": null + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "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": { + "ChangeOptionRatio": { "_enum": { - "Free": null, - "Reserved": null + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "ChangeBalance": { "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" + "NoChange": "Null", + "NewValue": "Balance" } }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "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" + "BalanceWrapper": { + "amount": "Balance" }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "BalanceRequest": { + "amount": "Balance" }, - "LockFor": { + "TradingPairStatus": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "Common": { - "amount": "Balance" - }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" - }, - "Unbonding": { - "amount": "Balance", - "until": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "TransactionOutcome": { + "PoolId": { "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "EthereumNetwork": { + "PoolIdV0": { "_enum": { - "Mainnet": null, - "Ropsten": null + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "[u8;65]", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "[u8; 20; Address]", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "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" - ] + "TokenData": { + "deposit": "Balance", + "attributes": "Attributes" }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "NFTClassId": "u32", + "ClassIdOf": "ClassId", + "NFTBalance": "u128", + "NFTBalanceOf": "NFTBalance", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { + "NomineeId": "AccountId", + "HomaUnlockChunk": { + "value": "Balance", + "era": "EraIndex" + }, + "BondingLedger": { + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" + }, + "OracleKey": "CurrencyId", + "AsOriginId": "AuthoritysOriginId", + "ProxyType": { "_enum": [ - "Fee", - "Misc", - "All" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { - "_enum": { - "Token": null, - "Deposit": null - } + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" }, - "DarwiniaDemocracyVoteThreshold": { + "StakingPoolPhase": { "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "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" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "EthAddress": "H160", - "TransactionV2": { + "ChangeRate": { "_enum": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "NoChange": "Null", + "NewValue": "Rate" } }, - "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" + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "BalanceInfo": { + "amount": "Balance" }, - "EthTransactionAction": { + "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": { - "Call": "H160", - "Create": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EthBloom": "H2048", - "EthLog": { - "address": "EthAddress", - "topics": "Vec", - "data": "Bytes", - "blockHash": "Option", - "blockNumber": "Option", - "transactionHash": "Option", - "transactionIndex": "Option", - "logIndex": "Option", - "transactionLogIndex": "Option", - "removed": "bool" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "ExitError": { + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_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" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "Fee": { - "amount": "Balance" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" + "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 + } }, - "ProxyType": { + "DexShare": { "_enum": { - "Any": null, - "NonTransfer": null, - "Governance": null, - "Staking": null, - "IdentityJudgement": null, - "EthereumBridge": null + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" + "CurrencyId": { + "_enum": { + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" + } }, - "CrabRuntimePalletsProxyProxyType": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "KAR", + "ACA" ] }, - "DarwiniaRuntimePalletsProxyProxyType": { + "AuthoritysOriginId": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "PowerOf": { - "power": "Power" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "LockReasons": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Fee": null, - "Misc": null, - "All": null + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "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": { + "ChangeOptionRatio": { "_enum": { - "Free": null, - "Reserved": null + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "ChangeBalance": { "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" + "NoChange": "Null", + "NewValue": "Balance" } }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "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" + "BalanceWrapper": { + "amount": "Balance" }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "BalanceRequest": { + "amount": "Balance" }, - "LockFor": { + "TradingPairStatus": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "Common": { - "amount": "Balance" - }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" - }, - "Unbonding": { - "amount": "Balance", - "until": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "TransactionOutcome": { + "PoolId": { "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "EthereumNetwork": { + "PoolIdV0": { "_enum": { - "Mainnet": null, - "Ropsten": null + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "[u8;65]", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "[u8; 20; Address]", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "Signer": "EthereumAddress", - "MMRRoot": "Hash", - "EcdsaAddress": "EthereumAddress", - "EcdsaMessage": "H256", - "RelayAuthoritySigner": "EthereumAddress", - "RelayAuthorityMessage": "EcdsaMessage", - "RelayAuthoritySignature": "EcdsaSignature", - "Term": "BlockNumber", - "OpCode": "[u8; 4; OpCode]", - "ElectionCompute": { + "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": [ - "OnChain", - "Signed", - "Authority" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "Fee", - "Misc", - "All" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { + "ChangeRate": { "_enum": { - "Token": null, - "Deposit": null + "NoChange": "Null", + "NewValue": "Rate" } }, - "DarwiniaDemocracyVoteThreshold": { - "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" - ] + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "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" + "BalanceInfo": { + "amount": "Balance" }, - "EthAddress": "H160", - "TransactionV2": { + "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": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EIP2930Transaction": { - "chainId": "u64", - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "accessList": "EthAccessList", - "oddYParity": "bool", - "r": "H256", - "s": "H256" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "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" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "EthAccessListItem": { - "address": "EthAddress", - "slots": "Vec" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "EthAccessList": "Vec", - "LegacyTransaction": { - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "signature": "EthTransactionSignature" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "EthTransactionAction": { + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "Call": "H160", - "Create": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EthBloom": "H2048", - "EthLog": { - "address": "EthAddress", - "topics": "Vec", - "data": "Bytes", - "blockHash": "Option", - "blockNumber": "Option", - "transactionHash": "Option", - "transactionIndex": "Option", - "logIndex": "Option", - "transactionLogIndex": "Option", - "removed": "bool" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "ExitFatal": { + "Share": "u128", + "OracleValue": "Price", + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "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 } }, - "ExitError": { + "DexShare": { "_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" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "Fee": { - "amount": "Balance" - }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" - }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" - }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" - }, - "ProxyType": { + "CurrencyId": { "_enum": { - "Any": null, - "NonTransfer": null, - "Governance": null, - "Staking": null, - "IdentityJudgement": null, - "EthereumBridge": null + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" - }, - "CrabRuntimePalletsProxyProxyType": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "KAR", + "ACA" ] }, - "DarwiniaRuntimePalletsProxyProxyType": { + "AuthoritysOriginId": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" - }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "PowerOf": { - "power": "Power" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "AccountInfo": "AccountInfoWithTripleRefCount", - "AccountInfoWithTripleRefCount": { - "nonce": "Index", - "consumers": "RefCount", - "providers": "RefCount", - "data": "AccountData" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "LockReasons": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Fee": null, - "Misc": null, - "All": null + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "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": { + "ChangeOptionRatio": { "_enum": { - "Free": null, - "Reserved": null + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "ChangeBalance": { "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" + "NoChange": "Null", + "NewValue": "Balance" } }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "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" + "BalanceWrapper": { + "amount": "Balance" }, - "BalanceInfo": "{}", - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "BalanceRequest": { + "amount": "Balance" }, - "LockFor": { + "TradingPairStatus": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "Common": { - "amount": "Balance" - }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" - }, - "Unbonding": { - "amount": "Balance", - "moment": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "(H512, H512)", - "proof": "Vec" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "TransactionOutcome": { + "PoolId": { "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "EthereumNetwork": { + "PoolIdV0": { "_enum": { - "Mainnet": null, - "Ropsten": null + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "[u8;65]", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "MultiAddress", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "Signer": "EthereumAddress", - "MMRRoot": "Hash", - "EcdsaAddress": "EthereumAddress", - "EcdsaMessage": "H256", - "RelayAuthoritySigner": "EthereumAddress", - "RelayAuthorityMessage": "EcdsaMessage", - "RelayAuthoritySignature": "EcdsaSignature", - "Term": "BlockNumber", - "OpCode": "[u8; 4; OpCode]", - "ElectionCompute": { + "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": [ - "OnChain", - "Signed", - "Authority" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "Fee", - "Misc", - "All" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { + "ChangeRate": { "_enum": { - "Token": null, - "Deposit": null + "NoChange": "Null", + "NewValue": "Rate" } }, - "DarwiniaDemocracyVoteThreshold": { - "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" - ] + "ChangeRatio": { + "_enum": { + "NoChange": "Null", + "NewValue": "Ratio" + } }, - "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" + "BalanceInfo": { + "amount": "Balance" }, - "EthAddress": "H160", - "TransactionV2": { + "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": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EIP2930Transaction": { - "chainId": "u64", - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "accessList": "EthAccessList", - "oddYParity": "bool", - "r": "H256", - "s": "H256" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "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" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "EthAccessListItem": { - "address": "EthAddress", - "slots": "Vec" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "EthAccessList": "Vec", - "LegacyTransaction": { - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "signature": "EthTransactionSignature" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "EthTransactionAction": { + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "Call": "H160", - "Create": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EthBloom": "H2048", - "EthLog": { - "address": "EthAddress", - "topics": "Vec", - "data": "Bytes", - "blockHash": "Option", - "blockNumber": "Option", - "transactionHash": "Option", - "transactionIndex": "Option", - "logIndex": "Option", - "transactionLogIndex": "Option", - "removed": "bool" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "CurrencyId", + "PoolInfo": { + "totalShares": "Share", + "rewards": "BTreeMap" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "ExitFatal": { + "Share": "u128", + "OracleValue": "Price", + "Amount": "i128", + "AmountOf": "Amount", + "AuctionId": "u32", + "AuctionIdOf": "AuctionId", + "TokenSymbol": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "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 } }, - "ExitError": { + "DexShare": { "_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" + "Token": "TokenSymbol", + "Erc20": "EvmAddress" } }, - "Fee": { - "amount": "Balance" - }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" - }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" - }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" - }, - "ProxyType": { + "CurrencyId": { "_enum": { - "Any": null, - "NonTransfer": null, - "Governance": null, - "Staking": null, - "IdentityJudgement": null, - "EthereumBridge": null + "Token": "TokenSymbol", + "DEXShare": "(DexShare, DexShare)", + "ERC20": "EvmAddress", + "StableAssetPoolToken": "u32", + "LiquidCroadloan": "u32", + "ForeignAsset": "u32" } }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" - }, - "CrabRuntimePalletsProxyProxyType": { + "CurrencyIdOf": "CurrencyId", + "AirDropCurrencyId": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "KAR", + "ACA" ] }, - "DarwiniaRuntimePalletsProxyProxyType": { + "AuthoritysOriginId": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" - }, - "RelayAffirmationId": { - "relayHeaderId": "EthereumBlockNumber", - "round": "u32", - "index": "u32" - }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" - }, - "PowerOf": { - "power": "Power" + "AcalaDataProviderId": { + "_enum": [ + "Aggregated", + "Acala", + "Band" + ] }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "TradingPair": "(CurrencyId, CurrencyId)", + "ChainBridgeChainId": "u8", + "AcalaAssetMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "minimalBalance": "Balance" }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "LookupSource": "MultiAddress", - "MultiAddress": "GenericMultiAddress", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "NumberOrHex": "u128", + "PalletBalanceOf": "Balance", + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "EthereumReceipt": { - "gasUsed": "U256", - "logBloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" }, - "Order": { - "lane": "LaneId", - "message": "MessageNonce", - "sent_time": "BlockNumber", - "confirm_time": "BlockNumber", - "assigned_relayers": "Vec" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "RelayAuthorityT": { - "accountId": "AccountId", - "signer": "EthereumAddress", - "stake": "Balance", - "term": "BlockNumber" + "LiquidationStrategy": { + "_enum": [ + "Auction", + "Exchange" + ] }, - "LockReasons": { + "OptionRate": "Option", + "OptionRatio": "Option", + "ChangeOptionRate": { "_enum": { - "Fee": null, - "Misc": null, - "All": null + "NoChange": "Null", + "NewValue": "OptionRate" } }, - "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": { + "ChangeOptionRatio": { "_enum": { - "Free": null, - "Reserved": null + "NoChange": "Null", + "NewValue": "OptionRatio" } }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "ChangeBalance": { "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" + "NoChange": "Null", + "NewValue": "Balance" } }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "interestRatePerSec": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "CandidateInfoOf": "CandidateInfo", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" }, - "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" + "BalanceWrapper": { + "amount": "Balance" }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "BalanceRequest": { + "amount": "Balance" }, - "LockFor": { + "TradingPairStatus": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "Disabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "Common": { - "amount": "Balance" - }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" - }, - "Unbonding": { - "amount": "Balance", - "until": "BlockNumber" + "Erc20Info": { + "address": "EvmAddress", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "EstimateResourcesResponse": { + "gas": "u256", + "storage": "i32", + "weightFee": "u256" }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "CodeInfo": { + "codeSize": "u32", + "refCount": "u32" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "EvmAddress": "H160", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "AcalaStakingLedge": { + "bonded": "Compact", + "unlocking": "Vec" }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "AcalaUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "RelaychainAccountId": "AccountId", + "SlashInfo": { + "validator": "RelaychainAccountId", + "relaychainTokenAmount": "Balance" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "ValidatorBacking": { + "totalInsurance": "Balance", + "isFrozen": "bool" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "Guarantee": { + "total": "Balance", + "bonded": "Balance", + "unbonding": "Option<(Balance, BlockNumber)>" }, - "TransactionOutcome": { + "PoolId": { "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "Loans": "CurrencyId", + "Dex": "CurrencyId" } }, - "EthereumNetwork": { + "PoolIdV0": { "_enum": { - "Mainnet": null, - "Ropsten": null + "LoansIncentive": "CurrencyId", + "DexIncentive": "CurrencyId", + "HomaIncentive": "Null", + "DexSaving": "CurrencyId", + "HomaValidatorAllowance": "AccountId" } }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "Position": { + "collateral": "Balance", + "debit": "Balance" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "CID": "Vec", + "Attributes": "BTreeMap, Vec>", + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "[u8;65]", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "[u8; 20; Address]", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "Properties": { + "_set": { + "_bitLength": 8, + "Transferable": 1, + "Burnable": 2, + "Mintable": 4, + "ClassPropertiesMutable": 8 + } }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "ClassData": { + "deposit": "Balance", + "properties": "Properties", + "attributes": "Attributes" }, - "Signer": "EthereumAddress", - "MMRRoot": "Hash", - "EcdsaAddress": "EthereumAddress", - "EcdsaMessage": "H256", - "RelayAuthoritySigner": "EthereumAddress", - "RelayAuthorityMessage": "EcdsaMessage", - "RelayAuthoritySignature": "EcdsaSignature", - "Term": "BlockNumber", - "OpCode": "[u8; 4; OpCode]", - "ElectionCompute": { + "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": [ - "OnChain", - "Signed", - "Authority" + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan" ] }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "AtLeast64BitUnsigned": "u128", + "StableAssetPoolId": "u32", + "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "SubAccountStatus": { + "bonded": "Balance", + "available": "Balance", + "unbonding": "Vec<(EraIndex,Balance)>", + "mockRewardRate": "Rate" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "StakingPoolPhase": { "_enum": [ - "Fee", - "Misc", - "All" + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished" ] }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "Ledger": { + "bonded": "Balance", + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { + "ChangeRate": { "_enum": { - "Token": null, - "Deposit": null + "NoChange": "Null", + "NewValue": "Rate" } }, - "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": { + "ChangeRatio": { "_enum": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "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" + "BalanceInfo": { + "amount": "Balance" }, - "EthAccessListItem": { - "address": "EthAddress", - "slots": "Vec" + "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" }, - "EthAccessList": "Vec", - "LegacyTransaction": { - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "signature": "EthTransactionSignature" + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "_Staking", + "NonProxy" + ] }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "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" }, - "EthTransactionAction": { - "_enum": { - "Call": "H160", - "Create": "Null" - } + "AresPriceData": { + "price": "u64", + "account_id": "AccountId", + "create_bn": "BlockNumber", + "fraction_len": "FractionLength", + "raw_number": "JsonNumberValue", + "timestamp": "u64" }, - "EthBloom": "H2048", - "EthLog": { - "address": "EthAddress", - "topics": "Vec", - "data": "Bytes", - "blockHash": "Option", - "blockNumber": "Option", - "transactionHash": "Option", - "transactionIndex": "Option", - "logIndex": "Option", - "transactionLogIndex": "Option", - "removed": "bool" + "BalanceOf": "Balance", + "ChooseWinnersPayload": { + "block_number": "BlockNumber", + "winners": "Vec", + "public": "AccountId", + "estimates_id": "u64", + "symbol": "Bytes", + "price": "(u64, FractionLength)" }, - "ExitRevert": { + "EstimatesState": { "_enum": [ - "Reverted" + "InActive", + "Active", + "WaitingPayout", + "Completed" ] }, - "ExitSucceed": { + "EstimatesType": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "DEVIATION", + "RANGE" ] }, - "ExitFatal": { + "FractionLength": "u32", + "HttpError": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "IoErr": "Bytes", + "TimeOut": "Bytes", + "StatusErr": "(Bytes,u16)", + "ParseErr": "Bytes" } }, - "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" - } + "HttpErrTracePayload": { + "trace_data": "HttpErrTraceData", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "Fee": { - "amount": "Balance" + "HttpErrTraceData": { + "block_number": "BlockNumber", + "err_auth": "AuthorityId", + "err_status": "HttpError", + "tip": "Bytes" }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" + "JsonNumberValue": { + "integer": "u64", + "fraction": "u64", + "fraction_length": "u32", + "exponent": "u32" }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" + "Keys": "SessionKeys3", + "LookupSource": "MultiAddress", + "MultiplierOption": { + "_enum": [ + "Base1", + "Base2", + "Base5" + ] }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" + "OcwControlData": { + "need_verifier_check": "bool", + "open_free_price_reporter": "bool", + "open_paid_price_reporter": "bool" }, - "ProxyType": { - "_enum": { - "Any": null, - "NonTransfer": null, - "Governance": null, - "Staking": null, - "IdentityJudgement": null, - "EthereumBridge": null - } + "OffchainSignature": "MultiSignature", + "PaidValue": { + "create_bn": "BlockNumber", + "amount": "BalanceOf", + "is_income": "bool" }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" + "PurchasedId": "Bytes", + "PriceKey": "Vec", + "PriceToken": "Bytes", + "PreCheckPayload": { + "block_number": "BlockNumber", + "pre_check_stash": "AccountId", + "pre_check_auth": "AuthorityId", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "CrabRuntimePalletsProxyProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" - ] + "PreCheckResultPayload": { + "block_number": "BlockNumber", + "pre_check_list": "Vec", + "pre_check_stash": "AccountId", + "pre_check_auth": "AuthorityId", + "public": "MultiSigner" }, - "DarwiniaRuntimePalletsProxyProxyType": { + "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": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Review", + "Prohibit", + "Pass" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" - }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "PurchasedRequestData": { + "account_id": "AccountId", + "offer": "BalanceOf", + "create_bn": "BlockNumber", + "submit_threshold": "u8", + "max_duration": "u64", + "request_keys": "Vec>" }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "PurchasedPricePayload": { + "block_number": "BlockNumber", + "purchase_id": "Vec", + "price": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "PowerOf": { - "power": "Power" + "PurchasedAvgPriceData": { + "create_bn": "u64", + "reached_type": "u8", + "price_data": "(u64, FractionLength)" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "PurchasedDefaultData": { + "submit_threshold": "u8", + "max_duration": "u64", + "avg_keep_duration": "u64" }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "PurchasedForceCleanPayload": { + "BlockNumber": "BlockNumber", + "purchase_id_list": "Vec>", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "LockReasons": { - "_enum": { - "Fee": null, - "Misc": null, - "All": null - } + "PurchaseId": "Vec", + "Releases": { + "_enum": [ + "V1_0_0_Ancestral", + "V1_0_1_HttpErrUpgrade", + "V1_1_0_HttpErrUpgrade", + "V1_2_0" + ] }, - "StakingLedgerT": { - "stash": "AccountId", - "active": "Compact", - "activeDepositRing": "Compact", - "activeKton": "Compact", - "depositItems": "Vec", - "ringStakingLock": "StakingLock", - "ktonStakingLock": "StakingLock", - "claimedRewards": "Vec" + "RequestInterval": "u8", + "StatusErr": "(u16)", + "SymbolEstimatesConfig": { + "symbol": "Bytes", + "estimates_type": "EstimatesType", + "id": "u64", + "ticket_price": "Balance", + "symbol_completed_price": "u64", + "symbol_fraction": "FractionLength", + "start": "BlockNumber", + "end": "BlockNumber", + "distribute": "BlockNumber", + "deviation": "Option", + "range": "Option>", + "total_reward": "Balance", + "state": "EstimatesState" } } - }, + } + ] + }, + "ares-mars": { + "types": [ { "minmax": [ - 1210, + 0, null ], "types": { - "UsableBalance": { - "usableBalance": "Balance" - }, - "Status": { - "_enum": { - "Free": null, - "Reserved": null - } + "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" }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { - "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" - } + "AresPriceData": { + "price": "u64", + "account_id": "AccountId", + "create_bn": "BlockNumber", + "fraction_len": "FractionLength", + "raw_number": "JsonNumberValue", + "timestamp": "u64" }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" - }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "BalanceOf": "Balance", + "ChooseWinnersPayload": { + "block_number": "BlockNumber", + "winners": "Vec", + "public": "AccountId", + "estimates_config": "Bytes", + "symbol": "Bytes", + "price": "(u64, FractionLength)" }, - "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" + "EstimatesState": { + "_enum": [ + "InActive", + "Active", + "WaitingPayout", + "Completed" + ] }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "EstimatesType": { + "_enum": [ + "DEVIATION", + "RANGE" + ] }, - "LockFor": { + "FractionLength": "u32", + "HttpError": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "IoErr": "Bytes", + "TimeOut": "Bytes", + "StatusErr": "(Bytes,u16)", + "ParseErr": "Bytes" } }, - "Common": { - "amount": "Balance" - }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" - }, - "Unbonding": { - "amount": "Balance", - "until": "BlockNumber" + "HttpErrTracePayload": { + "trace_data": "HttpErrTraceData", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "HttpErrTraceData": { + "block_number": "BlockNumber", + "err_auth": "AuthorityId", + "err_status": "HttpError", + "tip": "Bytes" }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "JsonNumberValue": { + "integer": "u64", + "fraction": "u64", + "fraction_length": "u32", + "exponent": "u32" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "Keys": "SessionKeys4", + "LookupSource": "MultiAddress", + "MultiplierOption": { + "_enum": [ + "Base1", + "Base2", + "Base5" + ] }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "OcwControlData": { + "need_verifier_check": "bool", + "open_free_price_reporter": "bool", + "open_paid_price_reporter": "bool" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "OffchainSignature": "MultiSignature", + "PaidValue": { + "create_bn": "BlockNumber", + "amount": "BalanceOf", + "is_income": "bool" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "PurchasedId": "Bytes", + "PriceKey": "Vec", + "PriceToken": "Bytes", + "PreCheckPayload": { + "block_number": "BlockNumber", + "pre_check_stash": "AccountId", + "pre_check_auth": "AuthorityId", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "PreCheckResultPayload": { + "block_number": "BlockNumber", + "pre_check_list": "Vec", + "pre_check_stash": "AccountId", + "pre_check_auth": "AuthorityId", + "public": "MultiSigner" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "PreCheckCompareLog": { + "chain_avg_price_list": "BTreeMap", + "validator_up_price_list": "BTreeMap", + "raw_precheck_list": "Vec" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "PreCheckStruct": { + "price_key": "Vec", + "number_val": "JsonNumberValue", + "max_offset": "Percent", + "timestamp": "u64" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", + "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", + "PricePayload": { + "block_number": "BlockNumber", + "price": "Vec", + "jump_block": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "TransactionOutcome": { - "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" - } + "PreCheckStatus": { + "_enum": [ + "Review", + "Prohibit", + "Pass" + ] }, - "EthereumNetwork": { - "_enum": { - "Mainnet": null, - "Ropsten": null - } + "PurchasedRequestData": { + "account_id": "AccountId", + "offer": "BalanceOf", + "create_bn": "BlockNumber", + "submit_threshold": "u8", + "max_duration": "u64", + "request_keys": "Vec>" }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "PurchasedPricePayload": { + "block_number": "BlockNumber", + "purchase_id": "Vec", + "price": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "PurchasedAvgPriceData": { + "create_bn": "u64", + "reached_type": "u8", + "price_data": "(u64, FractionLength)" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "[u8;65]", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "[u8; 20; Address]", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "PurchasedDefaultData": { + "submit_threshold": "u8", + "max_duration": "u64", + "avg_keep_duration": "u64" }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "PurchasedForceCleanPayload": { + "BlockNumber": "BlockNumber", + "purchase_id_list": "Vec>", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "Signer": "EthereumAddress", - "MMRRoot": "Hash", - "EcdsaAddress": "EthereumAddress", - "EcdsaMessage": "H256", - "RelayAuthoritySigner": "EthereumAddress", - "RelayAuthorityMessage": "EcdsaMessage", - "RelayAuthoritySignature": "EcdsaSignature", - "Term": "BlockNumber", - "OpCode": "[u8; 4; OpCode]", - "ElectionCompute": { + "PurchaseId": "Vec", + "Releases": { "_enum": [ - "OnChain", - "Signed", - "Authority" + "V1_0_0_Ancestral", + "V1_0_1_HttpErrUpgrade", + "V1_1_0_HttpErrUpgrade", + "V1_2_0" ] }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" - }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { - "_enum": [ - "Fee", - "Misc", - "All" - ] + "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" }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "AresPriceData": { + "price": "u64", + "account_id": "AccountId", + "create_bn": "BlockNumber", + "fraction_len": "FractionLength", + "raw_number": "JsonNumberValue", + "timestamp": "u64" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { - "_enum": { - "Token": null, - "Deposit": null - } + "BalanceOf": "Balance", + "ChooseWinnersPayload": { + "block_number": "BlockNumber", + "winners": "Vec", + "public": "AccountId", + "estimates_config": "Bytes", + "symbol": "Bytes", + "price": "(u64, FractionLength)" }, - "DarwiniaDemocracyVoteThreshold": { + "EstimatesState": { "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" + "InActive", + "Active", + "WaitingPayout", + "Completed" ] }, - "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" + "EstimatesType": { + "_enum": [ + "DEVIATION", + "RANGE" + ] }, - "EthAddress": "H160", - "TransactionV2": { + "FractionLength": "u32", + "HttpError": { "_enum": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "IoErr": "Bytes", + "TimeOut": "Bytes", + "StatusErr": "(Bytes,u16)", + "ParseErr": "Bytes" } }, - "EIP2930Transaction": { - "chainId": "u64", - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "accessList": "EthAccessList", - "oddYParity": "bool", - "r": "H256", - "s": "H256" + "HttpErrTracePayload": { + "trace_data": "HttpErrTraceData", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "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" + "HttpErrTraceData": { + "block_number": "BlockNumber", + "err_auth": "AuthorityId", + "err_status": "HttpError", + "tip": "Bytes" }, - "EthAccessListItem": { - "address": "EthAddress", - "slots": "Vec" + "JsonNumberValue": { + "integer": "u64", + "fraction": "u64", + "fraction_length": "u32", + "exponent": "u32" }, - "EthAccessList": "Vec", - "LegacyTransaction": { - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "signature": "EthTransactionSignature" + "Keys": "SessionKeys4", + "LookupSource": "MultiAddress", + "MultiplierOption": { + "_enum": [ + "Base1", + "Base2", + "Base5" + ] }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "OcwControlData": { + "need_verifier_check": "bool", + "open_free_price_reporter": "bool", + "open_paid_price_reporter": "bool" }, - "EthTransactionAction": { - "_enum": { - "Call": "H160", - "Create": "Null" - } + "OffchainSignature": "MultiSignature", + "PaidValue": { + "create_bn": "BlockNumber", + "amount": "BalanceOf", + "is_income": "bool" }, - "EthBloom": "H2048", - "EthLog": { - "address": "EthAddress", - "topics": "Vec", - "data": "Bytes", - "blockHash": "Option", - "blockNumber": "Option", - "transactionHash": "Option", - "transactionIndex": "Option", - "logIndex": "Option", - "transactionLogIndex": "Option", - "removed": "bool" + "PurchasedId": "Bytes", + "PriceKey": "Vec", + "PriceToken": "Bytes", + "PreCheckPayload": { + "block_number": "BlockNumber", + "pre_check_stash": "AccountId", + "pre_check_auth": "AuthorityId", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "PreCheckResultPayload": { + "block_number": "BlockNumber", + "pre_check_list": "Vec", + "pre_check_stash": "AccountId", + "pre_check_auth": "AuthorityId", + "public": "MultiSigner" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "PreCheckCompareLog": { + "chain_avg_price_list": "BTreeMap", + "validator_up_price_list": "BTreeMap", + "raw_precheck_list": "Vec" }, - "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" + "PreCheckStruct": { + "price_key": "Vec", + "number_val": "JsonNumberValue", + "max_offset": "Percent", + "timestamp": "u64" }, - "CrabRuntimePalletsProxyProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" - ] + "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", + "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", + "PricePayload": { + "block_number": "BlockNumber", + "price": "Vec", + "jump_block": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "DarwiniaRuntimePalletsProxyProxyType": { + "PreCheckStatus": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Review", + "Prohibit", + "Pass" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" - }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "PurchasedRequestData": { + "account_id": "AccountId", + "offer": "BalanceOf", + "create_bn": "BlockNumber", + "submit_threshold": "u8", + "max_duration": "u64", + "request_keys": "Vec>" }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "PurchasedPricePayload": { + "block_number": "BlockNumber", + "purchase_id": "Vec", + "price": "Vec", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "PowerOf": { - "power": "Power" + "PurchasedAvgPriceData": { + "create_bn": "u64", + "reached_type": "u8", + "price_data": "(u64, FractionLength)" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "PurchasedDefaultData": { + "submit_threshold": "u8", + "max_duration": "u64", + "avg_keep_duration": "u64" }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "PurchasedForceCleanPayload": { + "BlockNumber": "BlockNumber", + "purchase_id_list": "Vec>", + "auth": "AuthorityId", + "public": "MultiSigner" }, - "LockReasons": { - "_enum": { - "Fee": null, - "Misc": null, - "All": null - } + "PurchaseId": "Vec", + "Releases": { + "_enum": [ + "V1_0_0_Ancestral", + "V1_0_1_HttpErrUpgrade", + "V1_1_0_HttpErrUpgrade", + "V1_2_0" + ] }, - "StakingLedgerT": { - "stash": "AccountId", - "active": "Compact", - "activeDepositRing": "Compact", - "activeKton": "Compact", - "depositItems": "Vec", - "ringStakingLock": "StakingLock", - "ktonStakingLock": "StakingLock", - "claimedRewards": "Vec" + "RequestInterval": "u8", + "StatusErr": "(u16)", + "SymbolEstimatesConfig": { + "symbol": "Bytes", + "estimates_type": "EstimatesType", + "id": "u64", + "ticket_price": "Balance", + "symbol_completed_price": "u64", + "symbol_fraction": "FractionLength", + "start": "BlockNumber", + "end": "BlockNumber", + "distribute": "BlockNumber", + "deviation": "Option", + "range": "Option>", + "total_reward": "Balance", + "state": "EstimatesState" } } } ] }, - "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" + "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 } - }, - "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" + ], + "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 } - }, - "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" + ], + "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 } - }, - "EthereumNetwork": { - "_enum": { - "Mainnet": null, - "Ropsten": null + ], + "type": "Vec<(CurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "farming_getFarmingRewards", + "method": "getFarmingRewards", + "section": "farming" + }, + "getGaugeRewards": { + "description": "Get gauge rewards", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "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 + ], + "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 } - }, - "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": { + ], + "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": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EIP2930Transaction": { - "chainId": "u64", - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "accessList": "EthAccessList", - "oddYParity": "bool", - "r": "H256", - "s": "H256" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "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" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "EthAccessListItem": { - "address": "EthAddress", - "slots": "Vec" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "EthAccessList": "Vec", - "LegacyTransaction": { - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "signature": "EthTransactionSignature" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "EthTransactionAction": { + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "Call": "H160", - "Create": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "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" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "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" }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "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" - } + "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" }, - "Fee": { - "amount": "Balance" + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" }, - "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": { + "BlockchainType": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "BIFROST", + "EOS", + "IOST" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" }, - "PowerOf": { - "power": "Power" + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" }, - "LockReasons": { - "_enum": { - "Fee": null, - "Misc": null, - "All": null - } + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" }, - "StakingLedgerT": { - "stash": "AccountId", - "active": "Compact", - "activeDepositRing": "Compact", - "activeKton": "Compact", - "depositItems": "Vec", - "ringStakingLock": "StakingLock", - "ktonStakingLock": "StakingLock", - "claimedRewards": "Vec" - } - } - }, - { - "minmax": [ - 28140, - null - ], - "types": { - "UsableBalance": { - "usableBalance": "Balance" + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" }, - "Status": { - "_enum": { - "Free": null, - "Reserved": null - } + "TxSig": { + "signature": "Vec", + "author": "AccountId" }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { - "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" - } + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" }, - "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" + "Succeeded": { + "tx_id": "Vec" }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "Failed": { + "tx_id": "Vec", + "reason": "Vec" }, - "LockFor": { + "TxOut": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" } }, - "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" + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" }, - "TransactionOutcome": { + "IostTxOut": { "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" } }, - "EthereumNetwork": { - "_enum": { - "Mainnet": null, - "Ropsten": null - } + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TimeUnit": { + "Era": "U32", + "SlashingSpan": "U32" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "ledger": { + "Substrate": "SubstrateLedger" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "[u8;65]", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "[u8; 20; Address]", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" }, - "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" - ] + "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" }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { "_enum": [ - "Fee", - "Misc", - "All" + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" ] }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { + "ContributeCall": { "_enum": { - "Token": null, - "Deposit": null + "Contribute": "Contribution" } }, - "DarwiniaDemocracyVoteThreshold": { - "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" - ] + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" }, - "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" + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" }, - "EthAddress": "H160", - "TransactionV2": { + "WithdrawCall": { "_enum": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "Withdraw": "Withdraw" } }, - "EIP2930Transaction": { - "chainId": "u64", - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "accessList": "EthAccessList", - "oddYParity": "bool", - "r": "H256", - "s": "H256" + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } }, - "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" + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } }, - "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": { + "Keys": "SessionKeys1", + "ParachainTransactType": { "_enum": { - "Call": "H160", - "Create": "Null" + "Xcm": 0, + "Proxy": 1 } }, - "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": { + "RpcContributionStatus": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 } }, - "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" - } + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" }, - "Fee": { - "amount": "Balance" + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" + "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" }, - "ProxyType": { + "OrderId": "u64", + "OrderType": { "_enum": { - "Any": null, - "NonTransfer": null, - "Governance": null, - "Staking": null, - "IdentityJudgement": null, - "EthereumBridge": null + "Sell": 0, + "Buy": 1 } }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" + "UnlockId": "U32", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" }, - "CrabRuntimePalletsProxyProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" - ] + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" }, - "DarwiniaRuntimePalletsProxyProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" - ] + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "PairStatus": { + "_enum": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "ETH": 5, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10 + } }, - "PowerOf": { - "power": "Power" + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "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 + } }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } }, - "LockReasons": { + "PoolState": { "_enum": { - "Fee": null, - "Misc": null, - "All": null + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 } }, - "StakingLedgerT": { - "stash": "AccountId", - "active": "Compact", - "activeDepositRing": "Compact", - "activeKton": "Compact", - "depositItems": "Vec", - "ringStakingLock": "StakingLock", - "ktonStakingLock": "StakingLock", - "claimedRewards": "Vec" - } + "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" } - } - ] - }, - "Darwinia PC2": { - "alias": {}, - "rpc": {}, - "types": [ + }, { "minmax": [ - 0, - 28110 + 902, + null ], "types": { - "UsableBalance": { - "usableBalance": "Balance" - }, - "Status": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "Free": null, - "Reserved": null + "At": "BlockNumber", + "After": "BlockNumber" } }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { - "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" - } + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "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" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "LockFor": { + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "Common": { - "amount": "Balance" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" + "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" }, - "Unbonding": { - "amount": "Balance", - "until": "BlockNumber" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "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" }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "BlockchainType": { + "_enum": [ + "BIFROST", + "EOS", + "IOST" + ] }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" }, - "TransactionOutcome": { - "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" - } + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" }, - "EthereumNetwork": { - "_enum": { - "Mainnet": null, - "Ropsten": null - } + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "[u8;65]", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "[u8; 20; Address]", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "TxSig": { + "signature": "Vec", + "author": "AccountId" }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" }, - "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" - ] + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { - "_enum": [ - "Fee", - "Misc", - "All" - ] + "Succeeded": { + "tx_id": "Vec" }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "Failed": { + "tx_id": "Vec", + "reason": "Vec" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { + "TxOut": { "_enum": { - "Token": null, - "Deposit": null + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" } }, - "DarwiniaDemocracyVoteThreshold": { + "TransactionStatus": { "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" ] }, - "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" + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" }, - "EthAddress": "H160", - "TransactionV2": { - "_enum": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" - } + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" }, - "EIP2930Transaction": { - "chainId": "u64", - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "accessList": "EthAccessList", - "oddYParity": "bool", - "r": "H256", - "s": "H256" + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" }, - "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" + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" }, - "EthAccessListItem": { - "address": "EthAddress", - "slots": "Vec" + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" }, - "EthAccessList": "Vec", - "LegacyTransaction": { - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "signature": "EthTransactionSignature" + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" }, - "EthTransactionAction": { + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { "_enum": { - "Call": "H160", - "Create": "Null" + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" } }, - "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": { + "PalletBalanceOf": "Balance", + "ExtraFeeName": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "SalpContribute", + "NoExtraFee" ] }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TimeUnit": { + "Era": "U32", + "SlashingSpan": "U32" }, - "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" - } + "ledger": { + "Substrate": "SubstrateLedger" }, - "Fee": { - "amount": "Balance" + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" + "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" }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" }, - "ProxyType": { + "RedeemStatus": "BalanceOf", + "FundStatus": { "_enum": { - "Any": null, - "NonTransfer": null, - "Governance": null, - "Staking": null, - "IdentityJudgement": null, - "EthereumBridge": null + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 } }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" - }, - "CrabRuntimePalletsProxyProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" - ] - }, - "DarwiniaRuntimePalletsProxyProxyType": { + "ContributionStatus": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" - }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } }, - "PowerOf": { - "power": "Power" + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } }, - "LockReasons": { + "ParachainTransactProxyType": { "_enum": { - "Fee": null, - "Misc": null, - "All": null + "Primary": 0, + "Derived": 1 } }, - "StakingLedgerT": { - "stash": "AccountId", - "active": "Compact", - "activeDepositRing": "Compact", - "activeKton": "Compact", - "depositItems": "Vec", - "ringStakingLock": "StakingLock", - "ktonStakingLock": "StakingLock", - "claimedRewards": "Vec" - } - } - }, - { - "minmax": [ - 28140, - null - ], - "types": { - "UsableBalance": { - "usableBalance": "Balance" + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } }, - "Status": { + "Keys": "SessionKeys1", + "ParachainTransactType": { "_enum": { - "Free": null, - "Reserved": null + "Xcm": 0, + "Proxy": 1 } }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "RpcContributionStatus": { "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 } }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" }, - "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" + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" }, - "LockFor": { + "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": { - "Common": "Common", - "Staking": "StakingLock" + "Sell": 0, + "Buy": 1 } }, - "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" + "UnlockId": "U32", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "PairStatus": { + "_enum": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "ETH": 5, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10 + } }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } }, - "TransactionOutcome": { + "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": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 } }, - "EthereumNetwork": { + "PoolType": { "_enum": { - "Mainnet": null, - "Ropsten": null + "Mining": 0, + "Farming": 1, + "EBFarming": 2 } }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber", + "pending_unlocks": "Vec<(BlockNumber, Balance)>" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "[u8;65]", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "[u8; 20; Address]", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "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" + } }, - "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" - ] + "EraStakingPoints": { + "total": "Balance", + "stakers": "BTreeMap", + "formerStakedEra": "EraIndex", + "claimedRewards": "Balance" }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "EraRewardAndStake": { + "rewards": "Balance", + "staked": "Balance" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { + "EraIndex": "u32" + } + } + ] + }, + "automata": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "ResourceId": "[u8; 32]", + "DepositNonce": "u64", + "ProposalStatus": { "_enum": [ - "Fee", - "Misc", - "All" + "Initiated", + "Approved", + "Rejected" ] }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { - "_enum": { - "Token": null, - "Deposit": null - } + "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" }, - "DarwiniaDemocracyVoteThreshold": { + "ProposalId": "u32", + "ProjectId": "u32", + "ChainIndex": "u32", + "Protocol": { "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" + "Solidity", + "Substrate" ] }, - "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" + "Chain": { + "_protocol": "Protocol" }, - "EthAddress": "H160", - "TransactionV2": { + "CrossChainAccount": { "_enum": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "Solidity": "H160", + "Substrate": "AccountId" } }, - "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" + "IpfsHash": "Text", + "SolidityStrategy": { + "_enum": { + "ERC20Balance": "H160" + } }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "SubstrateStrategy": { + "_enum": [ + "NativeBalance" + ] }, - "EthTransactionAction": { + "Strategy": { "_enum": { - "Call": "H160", - "Create": "Null" + "Solidity": "SolidityStrategy", + "Substrate": "SubstrateStrategy" } }, - "EthBloom": "H2048", - "EthLog": { - "address": "EthAddress", - "topics": "Vec", - "data": "Bytes", - "blockHash": "Option", - "blockNumber": "Option", - "transactionHash": "Option", - "transactionIndex": "Option", - "logIndex": "Option", - "transactionLogIndex": "Option", - "removed": "bool" + "Workspace": { + "_chain": "ChainIndex", + "strategies": "Vec" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "UserGroup": { + "owner": "CrossChainAccount", + "admins": "Vec", + "maintainers": "Vec", + "proposers": "Option>" }, - "ExitSucceed": { + "Project": { + "usergroup": "UserGroup", + "data": "IpfsHash", + "workspaces": "Vec" + }, + "VotingFormat": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "SingleChoice", + "SplitVote" ] }, - "ExitFatal": { + "OptionIndex": "u8", + "PrivacyLevel": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "Opaque": "u8", + "Rank": "Null", + "Private": "Null", + "Public": "Null", + "Mixed": "Null" } }, - "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" - } + "VotingPower": "U256", + "DAOProposalState": { + "finalized": "bool", + "snapshots": "Vec>", + "blacklisted": "bool", + "votes": "Vec", + "pub_voters": "Option", + "updates": "u32" }, - "Fee": { - "amount": "Balance" + "DAOProposal": { + "_author": "CrossChainAccount", + "_voting_format": "VotingFormat", + "_option_count": "OptionIndex", + "_data": "IpfsHash", + "_privacy": "PrivacyLevel", + "_start": "u64", + "_end": "u64", + "_frequency": "Option", + "_workspaces": "Vec", + "state": "DAOProposalState" }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" + "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" }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" + "Amount": "i128", + "AmountOf": "Amount", + "Address": "AccountId", + "OrmlAccountData": { + "free": "Balance", + "frozen": "Balance", + "reserved": "Balance" }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" + "Fee": { + "numerator": "u32", + "denominator": "u32" }, - "ProxyType": { - "_enum": { - "Any": null, - "NonTransfer": null, - "Governance": null, - "Staking": null, - "IdentityJudgement": null, - "EthereumBridge": null - } + "BalanceInfo": { + "amount": "Balance", + "assetId": "AssetId" }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" + "Chain": { + "genesisHash": "Vec", + "lastBlockHash": "Vec" }, - "CrabRuntimePalletsProxyProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" - ] + "Currency": "AssetId", + "CurrencyId": "AssetId", + "CurrencyIdOf": "AssetId", + "Intention": { + "who": "AccountId", + "asset_sell": "AssetId", + "asset_buy": "AssetId", + "amount": "Balance", + "discount": "bool", + "sell_or_buy": "IntentionType" }, - "DarwiniaRuntimePalletsProxyProxyType": { + "IntentionId": "Hash", + "IntentionType": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "SELL", + "BUY" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" + "LookupSource": "AccountId", + "Price": "Balance", + "ClassId": "u64", + "TokenId": "u64", + "ClassData": { + "is_pool": "bool" }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "TokenData": { + "locked": "bool" }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "ClassInfo": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "PowerOf": { - "power": "Power" + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "TokenData" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "ClassInfoOf": "ClassInfo", + "TokenInfoOf": "TokenInfo", + "ClassIdOf": "ClassId", + "TokenIdOf": "TokenId", + "OrderedSet": "Vec", + "VestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "period_count": "u32", + "per_period": "Compact" }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "VestingScheduleOf": "VestingSchedule", + "LBPWeight": "u32", + "WeightCurveType": { + "_enum": [ + "Linear" + ] }, - "LockReasons": { + "PoolId": "AccountId", + "BalanceOf": "Balance", + "AssetType": { "_enum": { - "Fee": null, - "Misc": null, - "All": null + "Token": "Null", + "PoolShare": "(AssetId,AssetId)" } }, - "StakingLedgerT": { - "stash": "AccountId", - "active": "Compact", - "activeDepositRing": "Compact", - "activeKton": "Compact", - "depositItems": "Vec", - "ringStakingLock": "StakingLock", - "ktonStakingLock": "StakingLock", - "claimedRewards": "Vec" - } + "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" } } ] }, - "Equilibrium": { - "instances": { - "balances": [ - "Eq", - "Eth", - "Btc", - "Eos", - "Dot", - "Crv", - "Usd" - ] + "beresheet": { + "alias": { + "voting": { + "Tally": "VotingTally" + } }, "types": [ { "minmax": [ 0, - 264 + 31 ], "types": { - "AccountData": { - "free": "Balance" + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, - "AccountIndex": "u32", - "AccountInfo": { - "nonce": "Index", - "consumers": "RefCount", - "providers": "RefCount", - "sufficients": "RefCount", - "data": "AccountData" + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { + "_enum": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] }, - "AccountType": { - "_enum": { - "Id32": "[u8; 32]", - "Key20": "[u8; 20]" - } + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] }, - "Address": "MultiAddress", - "Asset": { - "0": "AssetIdInnerType" + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] }, - "AssetData": { - "id": "Asset", - "lot": "FixedU128", - "price_step": "FixedU128", - "maker_fee": "FixedU128", - "taker_fee": "FixedU128", - "asset_xcm_data": "Option", - "debt_weight": "DebtWeightType", - "buyout_priority": "u64", - "asset_type": "AssetType", - "is_dex_enabled": "bool" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "AssetId": "Asset", - "AssetIdInnerType": "u64", - "AssetMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "returns": "Vec", - "volatility": "FixedNumber", - "correlations": "Vec<(Asset, FixedNumber)>" + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "AssetName": "Vec", - "AssetType": { - "_enum": { - "Native": null, - "Physical": null, - "Synthetic": null, - "Lp": "PoolId" - } + "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" }, - "AssetXcmData": { - "multi_location": "MultiLocation", - "decimals": "u8" + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { + "_enum": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] }, - "Balance": "u64", - "BalanceOf": "Balance", - "BalancesAggregate": { - "total_issuance": "Balance", - "total_debt": "Balance" + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] }, - "BestPrice": { - "ask": "Option", - "bid": "Option" + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] }, - "BlockNumber": "u32", - "CapVec": { - "head_index": "u32", - "len_cap": "u32", - "items": "Vec" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "ChainId": "u8", - "Currency": { + "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": [ - "UNKNOWN", - "Eqd", - "Eq", - "Eth", - "Btc", - "Eos", - "Dot", - "Crv" + "PreVoting", + "Commit", + "Voting", + "Completed" ] }, - "ChunkKey": "u64", - "DataPoint": { - "price": "u64", - "account_id": "AccountId", - "block_number": "BlockNumber", - "timestamp": "u64" + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] }, - "DebtWeightType": "i128", - "DebtWeightTypeInner": "i128", - "DepositNonce": "u64", - "Duration": { - "secs": "u64", - "nanos": "u32" + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] }, - "FinancialMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "assets": "Vec", - "mean_returns": "Vec", - "volatilities": "Vec", - "correlations": "Vec", - "covariances": "Vec" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "FinancialRecalcPeriodMs": "u64", - "FixedI64": "i64", - "FixedNumber": "u128", - "FixedU128": "u128", - "Keys": "SessionKeys3", - "LookupSource": "AccountIdLookup", - "MarginState": { - "_enum": { - "Good": null, - "SubGood": null, - "MaintenanceStart": "u64", - "MaintenanceIsGoing": "u64", - "MaintenanceTimeOver": "u64", - "MaintenanceEnd": null, - "SubCritical": null - } - }, - "MaxCountOfAssetsRecalcPerBlock": "i32", - "Number": "FixedU128", - "OperationRequestLiqFm": { - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber" - }, - "OperationRequest": { - "account": "AccountId", - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber" - }, - "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": "FixedI64", - "Market": null - } + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "OrderId": "u64", - "OrderSide": { + "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": [ - "Buy", - "Sell" + "Initiated", + "Approved", + "Rejected" ] }, - "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" + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "staus": "ProposalStatus", + "expiry": "BlockNumber" }, - "Price": "u128", - "PriceLog": { - "latest_timestamp": "Duration", - "prices": "CapVec" + "VoteStage": { + "_enum": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] }, - "PricePayload": { - "public": "[u8; 33]", - "asset": "Asset", - "price": "FixedI64", - "block_number": "BlockNumber" + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] }, - "PricePeriod": { + "TallyType": { "_enum": [ - "Min", - "TenMin", - "Hour", - "FourHour", - "Day" + "OnePerson", + "OneCoin" ] }, - "PricePoint": { - "block_number": "BlockNumber", - "timestamp": "u64", - "last_fin_recalc_timestamp": "Timestamp", - "price": "u64", - "data_points": "Vec" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "PriceUpdate": { - "period_start": "Duration", - "time": "Duration", - "price": "FixedNumber" + "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", @@ -24393,2995 +25572,3198 @@ export const typesBundle = { "ProposalVotes": { "votes_for": "Vec", "votes_against": "Vec", - "status": "ProposalStatus", + "staus": "ProposalStatus", "expiry": "BlockNumber" }, - "ResourceId": "[u8; 32]", - "Signature": "u32", - "SignedBalance": { - "_enum": { - "Positive": "Balance", - "Negative": "Balance" - } - }, - "SubAccType": { + "VoteStage": { "_enum": [ - "Bailsman", - "Borrower", - "Lender" + "PreVoting", + "Commit", + "Voting", + "Completed" ] }, - "Timestamp": "u64", - "TotalAggregates": { - "collateral": "Balance", - "debt": "Balance" - }, - "TransferReason": { + "VoteType": { "_enum": [ - "Common", - "InterestFee", - "MarginCall", - "LiquidityFarming", - "BailsmenRedistribution", - "TreasuryEqBuyout", - "TreasuryBuyEq", - "Subaccount", - "Lock", - "Unlock", - "Claim", - "CurveFeeWithdraw" + "Binary", + "MultiOption", + "RankedChoice" ] }, - "UserGroup": { + "TallyType": { "_enum": [ - "UNKNOWN", - "Balances", - "Bailsmen", - "Borrowers", - "Lenders" + "OnePerson", + "OneCoin" ] }, - "UnsignedPriorityPair": "(u64, u64)", - "VestingInfo": { - "locked": "Balance", - "perBlock": "Balance", - "startingBlock": "BlockNumber" - } - } - }, - { - "minmax": [ - 265, - null - ], - "types": { - "AccountData": { - "free": "Balance" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "AccountIndex": "u32", - "AccountInfo": { - "nonce": "Index", - "consumers": "RefCount", - "providers": "RefCount", - "sufficients": "RefCount", - "data": "AccountData" + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "AccountType": { - "_enum": { - "Id32": "[u8; 32]", - "Key20": "[u8; 20]" - } + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, - "Address": "MultiAddress", - "Asset": { - "0": "AssetIdInnerType" + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "CID": "Vec", + "Properties": { + "_set": { + "Transferable": 1, + "Burnable": 2 + } }, - "AssetData": { - "id": "Asset", - "lot": "FixedU128", - "price_step": "FixedU128", - "maker_fee": "FixedU128", - "taker_fee": "FixedU128", - "asset_xcm_data": "Option", - "debt_weight": "DebtWeightType", - "buyout_priority": "u64", - "asset_type": "AssetType", - "is_dex_enabled": "bool" + "ClassData": { + "deposit": "Balance", + "properties": "Properties" }, - "AssetId": "Asset", - "AssetIdInnerType": "u64", - "AssetMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "returns": "Vec", - "volatility": "FixedNumber", - "correlations": "Vec<(Asset, FixedNumber)>" + "TokenData": { + "deposit": "Balance" }, - "AssetName": "Vec", - "AssetType": { - "_enum": { - "Native": null, - "Physical": null, - "Synthetic": null, - "Lp": "PoolId" - } + "ClassInfo": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "AssetXcmData": { - "multi_location": "MultiLocation", - "decimals": "u8" + "ClassInfoOf": "ClassInfo", + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "TokenData" }, - "Balance": "u64", - "BalanceOf": "Balance", - "BalancesAggregate": { - "total_issuance": "Balance", - "total_debt": "Balance" + "TokenInfoOf": "TokenInfo", + "TokenId": "u64", + "ClassIdOf": "ClassId", + "TokenIdOf": "TokenId", + "Amount": "i128", + "AmountOf": "Amount", + "Approval": { + "amount": "Balance", + "deposit": "Balance" }, - "BestPrice": { - "ask": "Option", - "bid": "Option" + "ApprovalKey": { + "owner": "AccountId", + "delegate": "AccountId" }, - "BlockNumber": "u32", - "CapVec": { - "head_index": "u32", - "len_cap": "u32", - "items": "Vec" + "Commitment": "ScalarData", + "CurrencyId": "u64", + "CurrencyIdOf": "CurrencyId", + "DustHandlerType": { + "_enum": { + "Burn": "Null", + "Transfer": "AccountId" + } }, - "ChainId": "u8", - "Currency": { + "HashFunction": { "_enum": [ - "UNKNOWN", - "Eqd", - "Eq", - "Eth", - "Btc", - "Eos", - "Dot", - "Crv" + "PoseidonDefault", + "PoseidonExp3", + "PoseidonExp5", + "PoseidonExp17", + "MiMC", + "Blake2", + "Sha256" ] }, - "ChunkKey": "u64", - "DataPoint": { - "price": "u64", - "account_id": "AccountId", - "block_number": "BlockNumber", - "timestamp": "u64" - }, - "DebtWeightType": "i128", - "DebtWeightTypeInner": "i128", - "DepositNonce": "u64", - "Duration": { - "secs": "u64", - "nanos": "u32" + "Manager": { + "accountId": "AccountId", + "required": "bool" }, - "FinancialMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "assets": "Vec", - "mean_returns": "Vec", - "volatilities": "Vec", - "correlations": "Vec", - "covariances": "Vec" + "MerkleTree": { + "leaf_count": "u32", + "max_leaves": "u32", + "depth": "u8", + "root_hash": "ScalarData", + "edge_nodes": "Vec", + "hasher": "HashFunction", + "should_store_leaves": "bool" }, - "FinancialRecalcPeriodMs": "u64", - "FixedI64": "i64", - "FixedNumber": "u128", - "FixedU128": "u128", - "Keys": "SessionKeys3", - "LookupSource": "AccountIdLookup", - "MarginState": { - "_enum": { - "Good": null, - "SubGood": null, - "MaintenanceStart": "u64", - "MaintenanceIsGoing": "u64", - "MaintenanceTimeOver": "u64", - "MaintenanceEnd": null, - "SubCritical": null - } + "MixerInfo": { + "minimum_deposit_length_for_reward": "BlockNumber", + "fixed_deposit_size": "Balance", + "currency_id": "CurrencyIdOf" }, - "MaxCountOfAssetsRecalcPerBlock": "i32", - "Number": "FixedU128", - "OperationRequestLiqFm": { - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber" + "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" }, - "OperationRequest": { - "account": "AccountId", - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber" + "TokenMetadata": { + "deposit": "Balance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "is_frozen": "bool" }, - "OperationRequestDexDeleteOrder": { - "asset": "Asset", - "order_id": "OrderId", - "price": "FixedI64", - "who": "AccountId", - "buyout": "Option", - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber" + "TreeId": "u32", + "WithdrawProof": { + "mixer_id": "TreeId", + "cached_block": "BlockNumber", + "cached_root": "ScalarData", + "comms": "Vec", + "nullifier_hash": "ScalarData", + "proof_bytes": "Vec", + "leaf_index_commitments": "Vec", + "proof_commitments": "Vec", + "recipient": "Option", + "relayer": "Option" }, - "Order": { - "order_id": "OrderId", - "account_id": "AccountId", - "side": "OrderSide", - "price": "FixedI64", - "amount": "FixedU128", - "created_at": "u64", - "expiration_time": "u64" + "ETHBlock": { + "inner": "Block" }, - "OrderType": { - "_enum": { - "Limit": "FixedI64", - "Market": null - } + "ETHReceipts": { + "inner": "Vec" }, - "OrderId": "u64", - "OrderSide": { - "_enum": [ - "Buy", - "Sell" - ] + "ETHTxStatuses": { + "inner": "Vec" }, - "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" + "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" + } }, - "PricePayload": { - "public": "[u8; 33]", - "asset": "Asset", - "price": "FixedI64", - "block_number": "BlockNumber" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "PricePeriod": { - "_enum": [ - "Min", - "TenMin", - "Hour", - "FourHour", - "Day" - ] + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "PricePoint": { - "block_number": "BlockNumber", - "timestamp": "u64", - "last_fin_recalc_timestamp": "Timestamp", - "price": "u64", - "data_points": "Vec" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "PriceUpdate": { - "period_start": "Duration", - "time": "Duration", - "price": "FixedNumber" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "ProposalStatus": { - "_enum": [ - "Initiated", - "Approved", - "Rejected" - ] + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "status": "ProposalStatus", - "expiry": "BlockNumber" + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "ResourceId": "[u8; 32]", - "Signature": "u32", - "SignedBalance": { + "DelayedDispatchTime": { "_enum": { - "Positive": "Balance", - "Negative": "Balance" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "SubAccType": { - "_enum": [ - "Bailsman", - "Borrower", - "Lender" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "Timestamp": "u64", - "TotalAggregates": { - "collateral": "Balance", - "debt": "Balance" + "VestingScheduleOf": "OrmlVestingSchedule", + "OrmlCurrencyId": "u8", + "PoolInfo": { + "pool_id": "PoolId", + "keeper": "AccountId", + "investor": "Option", + "trading_pair": "(CurrencyId, CurrencyId)", + "duration": "BlockNumber", + "type": "PoolType", + "min_deposit_to_start": "Balance", + "after_block_to_start": "BlockNumber", + "deposit": "Balance", + "rewards": "BTreeMap", + "update_b": "BlockNumber", + "state": "PoolState", + "block_startup": "Option", + "redeem_limit_time": "BlockNumber", + "unlock_limit_nums": "u32", + "pending_unlock_nums": "u32" }, - "TransferReason": { - "_enum": [ - "Common", - "InterestFee", - "MarginCall", - "LiquidityFarming", - "BailsmenRedistribution", - "TreasuryEqBuyout", - "TreasuryBuyEq", - "Subaccount", - "Lock", - "Unlock", - "Claim", - "CurveFeeWithdraw" - ] + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "UserGroup": { + "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": [ - "UNKNOWN", - "Balances", - "Bailsmen", - "Borrowers", - "Lenders" + "BIFROST", + "EOS", + "IOST" ] }, - "UnsignedPriorityPair": "(u64, u64)", - "VestingInfo": { - "locked": "Balance", - "perBlock": "Balance", - "startingBlock": "BlockNumber" - } - } - } - ] - }, - "Genshiro": { - "instances": { - "balances": [ - "Eq", - "Eth", - "Btc", - "Eos", - "Dot", - "Crv", - "Usd" - ] - }, - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "AccountInfo": { - "nonce": "Index", - "consumers": "RefCount", - "providers": "RefCount" + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" }, - "Address": "AccountId", - "AmmPool": { - "_enum": { - "Curve": "PoolId", - "Yield": "PoolId" - } + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" }, - "Asset": { - "0": "AssetIdInnerType" + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" }, - "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" + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" }, - "AssetId": "Asset", - "AssetIdInnerType": "u64", - "AssetMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "returns": "Vec", - "volatility": "FixedNumber", - "correlations": "Vec<(Asset, FixedNumber)>" + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" }, - "AssetName": "Vec", - "AssetType": { - "_enum": { - "Native": null, - "Physical": null, - "Synthetic": null, - "Lp": "AmmPool" - } + "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" }, - "Balance": "u64", - "BalanceOf": "Balance", - "BalancesAggregate": { - "total_issuance": "Balance", - "total_debt": "Balance" + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" }, - "BestPrice": { - "ask": "Option", - "bid": "Option" + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" }, - "BinaryId": "u64", - "BinaryInfo": { - "start_time": "u64", - "end_time": "u64", - "proper": "Asset", - "minimal_amount": "Balance", - "target": "(Asset, BinaryMode)", - "total": "(Balance, Balance)", - "claimed": "Balance" + "TxSig": { + "signature": "Vec", + "author": "AccountId" }, - "BinaryMode": { + "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": { - "CallPut": "FixedI64", - "InOut": "(FixedI64, FixedI64)" + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" } }, - "BlockNumber": "u64", - "CapVec": { - "head_index": "u32", - "len_cap": "u32", - "items": "Vec" - }, - "ChainAddressType": { + "TransactionStatus": { "_enum": [ - "Ethereum", - "Substrate", - "SubstrateWithPrefix" + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" ] }, - "ChainId": "u8", - "Currency": { - "_enum": [ - "UNKNOWN", - "Eqd", - "Eq", - "Eth", - "Btc", - "Eos", - "Dot", - "Crv" - ] + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" }, - "ChunkKey": "u64", - "DataPoint": { - "price": "u64", - "account_id": "AccountId", - "block_number": "BlockNumber", - "timestamp": "u64" + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" }, - "DebtWeightType": "i128", - "DebtWeightTypeInner": "i128", - "DepositNonce": "u64", - "DispatchErrorModule": "DispatchErrorModuleU8", - "Duration": { - "secs": "u64", - "nanos": "u32" + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" }, - "EpochCounter": "u64", - "EpochInfo": { - "counter": "EpochCounter", - "started_at": "Timestamp", - "duration": "Timestamp", - "new_duration": "Option" + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" }, - "FinancialMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "assets": "Vec", - "mean_returns": "Vec", - "volatilities": "Vec", - "correlations": "Vec", - "covariances": "Vec" + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" }, - "FinancialRecalcPeriodMs": "u64", - "FixedI64": "i64", - "FixedNumber": "u128", - "FixedU128": "u128", - "Keys": "SessionKeys3", - "LenderInfo": { - "deposit": "Balance", - "pending_withdrawals": "PendingWithdrawal" + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" }, - "LookupSource": "AccountId", - "MarginState": { + "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": { - "Good": null, - "SubGood": null, - "MaintenanceStart": "u64", - "MaintenanceIsGoing": "u64", - "MaintenanceTimeOver": "u64", - "MaintenanceEnd": null, - "SubCritical": null + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" } }, - "MaxCountOfAssetsRecalcPerBlock": "i32", - "MmId": "u16", - "MmInfo": { - "weight": "Perbill", - "borrowed": "Balance" + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] }, - "MmPoolInfo": { - "account_id": "AccountId", - "min_amount": "Balance", - "total_staked": "Balance", - "total_deposit": "Balance", - "total_borrowed": "Balance", - "total_pending_withdrawals": "PendingWithdrawal" + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TimeUnit": { + "Era": "U32", + "SlashingSpan": "U32" }, - "Number": "FixedU128", - "OperationRequestLiqFm": { - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber" + "ledger": { + "Substrate": "SubstrateLedger" }, - "OperationRequest": { + "SubstrateLedger": { "account": "AccountId", - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber", - "higher_priority": "bool" + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "OperationRequestDexDeleteOrder": { - "asset": "Asset", - "order_id": "OrderId", - "price": "FixedI64", - "who": "AccountId", - "buyout": "Option", - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber" + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" }, - "Order": { - "order_id": "OrderId", - "account_id": "AccountId", - "side": "OrderSide", - "price": "FixedI64", - "amount": "FixedU128", - "created_at": "u64", - "expiration_time": "u64" + "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" }, - "OrderType": { + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { "_enum": { - "Limit": { - "price": "FixedI64", - "expiration_time": "u64" - }, - "Market": null + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 } }, - "OrderId": "u64", - "OrderSide": { + "ContributionStatus": { "_enum": [ - "Buy", - "Sell" + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" ] }, - "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" + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } }, - "PoolTokenIndex": "u32", - "PortfolioMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "z_score": "u32", - "volatility": "FixedNumber", - "value_at_risk": "FixedNumber" + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } }, - "Price": "u128", - "PriceLog": { - "latest_timestamp": "Duration", - "prices": "CapVec" + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" }, - "PricePayload": { - "public": "[u8; 33]", - "asset": "Asset", - "price": "FixedI64", - "block_number": "BlockNumber" + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" }, - "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" - ] + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "status": "ProposalStatus", - "expiry": "BlockNumber" + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } }, - "ResourceId": "[u8; 32]", - "Round": { - "total_cap": "Balance", - "individual_cap": "Balance", - "end": "u64", - "token": "Asset", - "minimal_buy_amount": "Balance", - "vesting_params": "VestingParams" + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } }, - "Signature": "u32", - "SignedBalance": { + "Keys": "SessionKeys1", + "ParachainTransactType": { "_enum": { - "Positive": "Balance", - "Negative": "Balance" + "Xcm": 0, + "Proxy": 1 } }, - "SubAccType": { - "_enum": [ - "Bailsman", - "Borrower", - "Lender" - ] + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } }, - "Timestamp": "u64", - "TotalAggregates": { - "collateral": "Balance", - "debt": "Balance" + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" }, - "TransferReason": { - "_enum": [ - "Common", - "InterestFee", - "MarginCall", - "LiquidityFarming", - "BailsmenRedistribution", - "TreasuryEqBuyout", - "TreasuryBuyEq", - "Subaccount", - "Lock", - "Unlock", - "Claim", - "CurveFeeWithdraw", - "Reserve", - "Unreserve" - ] + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" }, - "UserGroup": { - "_enum": [ - "UNKNOWN", - "Balances", - "Bailsmen", - "Borrowers", - "Lenders" - ] + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" }, - "UnsignedPriorityPair": "(u64, u64)", - "VestingInfo": { + "MaxLocksOf": "u32", + "BifrostVestingInfo": { "locked": "Balance", - "perBlock": "Balance", - "startingBlock": "BlockNumber" + "per_block": "Balance", + "starting_block": "BlockNumber" }, - "VestingParams": { - "blocks_until_beginning": "u64", - "amount_of_blocks": "u64" + "OracleKey": "CurrencyId", + "BlockNumberFor": "BlockNumber", + "OrderInfo": { + "owner": "AccountIdOf", + "vsbond": "CurrencyId", + "amount": "BalanceOf", + "remain": "BalanceOf", + "total_price": "BalanceOf", + "order_id": "OrderId", + "order_type": "OrderType", + "remain_price": "BalanceOf" }, - "XdotNumber": "u128", - "XdotPoolInfo": { - "pool_asset": "AssetId", - "lp_total_supply": "Balance", + "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", - "base_asset": "AssetId", - "xbase_asset": "AssetId", - "g1": "XdotNumber", - "g2": "XdotNumber", - "maturity": "u64", - "ts": "XdotNumber" + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" }, - "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" + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" }, - "Address": "AccountId", - "AmmPool": { + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" + }, + "PairStatus": { "_enum": { - "Curve": "PoolId", - "Yield": "PoolId" + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null } }, - "Asset": { - "0": "AssetIdInnerType" + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10 + } }, - "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" + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } }, - "AssetId": "Asset", - "AssetIdInnerType": "u64", - "AssetMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "returns": "Vec", - "volatility": "FixedNumber", - "correlations": "Vec<(Asset, FixedNumber)>" + "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 + } }, - "AssetName": "Vec", - "AssetType": { + "PoolType": { "_enum": { - "Native": null, - "Physical": null, - "Synthetic": null, - "Lp": "AmmPool" + "Mining": 0, + "Farming": 1, + "EBFarming": 2 } }, - "Balance": "u64", - "BalanceOf": "Balance", - "BalancesAggregate": { - "total_issuance": "Balance", - "total_debt": "Balance" + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } }, - "BestPrice": { - "ask": "Option", - "bid": "Option" + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber", + "pending_unlocks": "Vec<(BlockNumber, Balance)>" }, - "BinaryId": "u64", - "BinaryInfo": { - "start_time": "u64", - "end_time": "u64", - "proper": "Asset", - "minimal_amount": "Balance", - "target": "(Asset, BinaryMode)", - "total": "(Balance, Balance)", - "claimed": "Balance" + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" }, - "BinaryMode": { + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "MultiLocation": "MultiLocationV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 902, + null + ], + "types": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "CallPut": "FixedI64", - "InOut": "(FixedI64, FixedI64)" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "BlockNumber": "u64", - "CapVec": { - "head_index": "u32", - "len_cap": "u32", - "items": "Vec" - }, - "ChainAddressType": { - "_enum": [ - "Ethereum", - "Substrate", - "SubstrateWithPrefix" - ] - }, - "ChainId": "u8", - "Currency": { - "_enum": [ - "UNKNOWN", - "Eqd", - "Eq", - "Eth", - "Btc", - "Eos", - "Dot", - "Crv" - ] + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "ChunkKey": "u64", - "DataPoint": { - "price": "u64", - "account_id": "AccountId", - "block_number": "BlockNumber", - "timestamp": "u64" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "DebtWeightType": "i128", - "DebtWeightTypeInner": "i128", - "DepositNonce": "u64", - "DispatchErrorModule": "DispatchErrorModuleU8", - "Duration": { - "secs": "u64", - "nanos": "u32" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "EpochCounter": "u64", - "EpochInfo": { - "counter": "EpochCounter", - "started_at": "Timestamp", - "duration": "Timestamp", - "new_duration": "Option" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "FinancialMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "assets": "Vec", - "mean_returns": "Vec", - "volatilities": "Vec", - "correlations": "Vec", - "covariances": "Vec" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "FinancialRecalcPeriodMs": "u64", - "FixedI64": "i64", - "FixedNumber": "u128", - "FixedU128": "u128", - "Keys": "SessionKeys3", - "LenderInfo": { - "deposit": "Balance", - "pending_withdrawals": "PendingWithdrawal" + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "LookupSource": "AccountId", - "MarginState": { + "DelayedDispatchTime": { "_enum": { - "Good": null, - "SubGood": null, - "MaintenanceStart": "u64", - "MaintenanceIsGoing": "u64", - "MaintenanceTimeOver": "u64", - "MaintenanceEnd": null, - "SubCritical": null + "At": "BlockNumber", + "After": "BlockNumber" } }, - "MaxCountOfAssetsRecalcPerBlock": "i32", - "MmId": "u16", - "MmInfo": { - "weight": "Perbill", - "borrowed": "Balance" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "MmPoolInfo": { - "account_id": "AccountId", - "min_amount": "Balance", - "total_staked": "Balance", - "total_deposit": "Balance", - "total_borrowed": "Balance", - "total_pending_withdrawals": "PendingWithdrawal" + "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" }, - "Number": "FixedU128", - "OperationRequestLiqFm": { - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "OperationRequest": { - "account": "AccountId", - "authority_index": "AuthIndex", - "validators_len": "u32", + "Share": "u128", + "OracleValue": "Price", + "BiddingOrderId": "u64", + "EraId": "u32", + "BiddingOrderUnit": { + "bidder_id": "AccountId", + "token_id": "AssetId", "block_num": "BlockNumber", - "higher_priority": "bool" + "votes": "Balance", + "annual_roi": "Permill", + "validator": "AccountId" }, - "OperationRequestDexDeleteOrder": { - "asset": "Asset", - "order_id": "OrderId", - "price": "FixedI64", - "who": "AccountId", - "buyout": "Option", - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber" + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" }, - "Order": { - "order_id": "OrderId", - "account_id": "AccountId", - "side": "OrderSide", - "price": "FixedI64", - "amount": "FixedU128", - "created_at": "u64", - "expiration_time": "u64" + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" }, - "OrderType": { - "_enum": { - "Limit": { - "price": "FixedI64", - "expiration_time": "u64" - }, - "Market": null - } + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" }, - "OrderId": "u64", - "OrderSide": { + "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": [ - "Buy", - "Sell" + "BIFROST", + "EOS", + "IOST" ] }, - "PendingWithdrawal": { - "last_epoch": "EpochCounter", - "available": "Balance", - "available_next_epoch": "Balance", - "requested": "Balance" + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" }, - "PoolId": "u32", - "PoolInfo": { - "owner": "AccountId", - "pool_asset": "AssetId", - "assets": "Vec", - "amplification": "Number", - "fee": "Permill", - "admin_fee": "Permill", - "balances": "Vec", - "total_balances": "Vec" + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" }, - "PoolTokenIndex": "u32", - "PortfolioMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "z_score": "u32", - "volatility": "FixedNumber", - "value_at_risk": "FixedNumber" + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" }, - "Price": "u128", - "PriceLog": { - "latest_timestamp": "Duration", - "prices": "CapVec" + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" }, - "PricePayload": { - "public": "[u8; 33]", - "asset": "Asset", - "price": "FixedI64", - "block_number": "BlockNumber" + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" }, - "PricePeriod": { - "_enum": [ - "Min", - "TenMin", - "Hour", - "FourHour", - "Day" - ] + "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" }, - "PricePoint": { - "block_number": "BlockNumber", - "timestamp": "u64", - "last_fin_recalc_timestamp": "Timestamp", - "price": "u64", - "data_points": "Vec" + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" }, - "PriceUpdate": { - "period_start": "Duration", - "time": "Duration", - "price": "FixedNumber" + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" }, - "ProposalStatus": { - "_enum": [ - "Initiated", - "Approved", - "Rejected" - ] + "TxSig": { + "signature": "Vec", + "author": "AccountId" }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "status": "ProposalStatus", - "expiry": "BlockNumber" + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" }, - "ResourceId": "[u8; 32]", - "Round": { - "total_cap": "Balance", - "individual_cap": "Balance", - "end": "u64", - "token": "Asset", - "minimal_buy_amount": "Balance", - "vesting_params": "VestingParams" + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" }, - "Signature": "u32", - "SignedBalance": { + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Succeeded": { + "tx_id": "Vec" + }, + "Failed": { + "tx_id": "Vec", + "reason": "Vec" + }, + "TxOut": { "_enum": { - "Positive": "Balance", - "Negative": "Balance" + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" } }, - "SubAccType": { + "TransactionStatus": { "_enum": [ - "Bailsman", - "Borrower", - "Lender" + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" ] }, - "Timestamp": "u64", - "TotalAggregates": { - "collateral": "Balance", - "debt": "Balance" + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" }, - "TransferReason": { - "_enum": [ - "Common", - "InterestFee", - "MarginCall", - "LiquidityFarming", - "BailsmenRedistribution", - "TreasuryEqBuyout", - "TreasuryBuyEq", - "Subaccount", - "Lock", - "Unlock", - "Claim", - "CurveFeeWithdraw", - "Reserve", - "Unreserve" - ] + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" }, - "UserGroup": { + "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": [ - "UNKNOWN", - "Balances", - "Bailsmen", - "Borrowers", - "Lenders" + "SalpContribute", + "NoExtraFee" ] }, - "UnsignedPriorityPair": "(u64, u64)", - "VestingInfo": { - "locked": "Balance", - "perBlock": "Balance", - "startingBlock": "BlockNumber" + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TimeUnit": { + "Era": "U32", + "SlashingSpan": "U32" }, - "VestingParams": { - "blocks_until_beginning": "u64", - "amount_of_blocks": "u64" + "ledger": { + "Substrate": "SubstrateLedger" }, - "XdotNumber": "u128", - "XdotPoolInfo": { - "pool_asset": "AssetId", - "lp_total_supply": "Balance", + "SubstrateLedger": { "account": "AccountId", - "base_asset": "AssetId", - "xbase_asset": "AssetId", - "g1": "XdotNumber", - "g2": "XdotNumber", - "maturity": "u64", - "ts": "XdotNumber" + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "LockPeriod": { + "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": [ - "None", - "ThreeMonth", - "SixMonth", - "Year" + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" ] - } - } - } - ] - }, - "Pangolin": { - "alias": {}, - "rpc": {}, - "types": [ - { - "minmax": [ - 0, - 28110 - ], - "types": { - "UsableBalance": { - "usableBalance": "Balance" }, - "Status": { + "CrowdloanContributeCall": { "_enum": { - "Free": null, - "Reserved": null + "CrowdloanContribute": "ContributeCall" } }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "ContributeCall": { "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" + "Contribute": "Contribution" } }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" - }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" }, - "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" + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } }, - "LockFor": { + "ParachainTransactProxyType": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "Primary": 0, + "Derived": 1 } }, - "Common": { - "amount": "Balance" + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } }, - "Unbonding": { - "amount": "Balance", - "until": "BlockNumber" + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" }, - "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" + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" }, - "TransactionOutcome": { - "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" - } + "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" }, - "EthereumNetwork": { + "OrderId": "u64", + "OrderType": { "_enum": { - "Mainnet": null, - "Ropsten": null + "Sell": 0, + "Buy": 1 } }, - "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" - ] + "UnlockId": "U32", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { - "_enum": [ - "Fee", - "Misc", - "All" - ] + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { + "PairStatus": { "_enum": { - "Token": null, - "Deposit": null + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": 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": { + "TokenSymbol": { "_enum": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10 } }, - "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": { + "CurrencyId": { "_enum": { - "Call": "H160", - "Create": "Null" + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" } }, - "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": { + "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": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 } }, - "ExitError": { + "PoolType": { "_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" + "Mining": 0, + "Farming": 1, + "EBFarming": 2 } }, - "Fee": { - "amount": "Balance" - }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" - }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" - }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" - }, - "ProxyType": { + "PoolState": { "_enum": { - "Any": null, - "NonTransfer": null, - "Governance": null, - "Staking": null, - "IdentityJudgement": null, - "EthereumBridge": null + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 } }, - "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" + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber", + "pending_unlocks": "Vec<(BlockNumber, Balance)>" }, - "LockReasons": { - "_enum": { - "Fee": null, - "Misc": null, - "All": null - } + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" }, - "StakingLedgerT": { - "stash": "AccountId", - "active": "Compact", - "activeDepositRing": "Compact", - "activeKton": "Compact", - "depositItems": "Vec", - "ringStakingLock": "StakingLock", - "ktonStakingLock": "StakingLock", - "claimedRewards": "Vec" - } + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1", + "MultiLocation": "MultiLocationV1", + "XcmError": "XcmErrorV1", + "Response": "ResponseV1" } - }, - { - "minmax": [ - 28140, - null - ], - "types": { - "UsableBalance": { - "usableBalance": "Balance" - }, - "Status": { - "_enum": { - "Free": null, - "Reserved": null + } + ], + "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 } - }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { - "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" + ], + "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 } - }, - "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": { + ], + "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": { - "Common": "Common", - "Staking": "StakingLock" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "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" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "TransactionOutcome": { - "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" - } + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "EthereumNetwork": { + "DelayedDispatchTime": { "_enum": { - "Mainnet": null, - "Ropsten": null + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "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" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "[u8;65]", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "[u8; 20; Address]", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "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" }, - "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" - ] + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { + "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": [ - "Fee", - "Misc", - "All" + "BIFROST", + "EOS", + "IOST" ] }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { - "_enum": { - "Token": null, - "Deposit": null - } + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" }, - "DarwiniaDemocracyVoteThreshold": { - "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" - ] + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" }, - "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" + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" }, - "EthAddress": "H160", - "TransactionV2": { - "_enum": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" - } + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" }, - "EIP2930Transaction": { - "chainId": "u64", - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "accessList": "EthAccessList", - "oddYParity": "bool", - "r": "H256", - "s": "H256" + "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" }, - "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" + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" }, - "EthAccessListItem": { - "address": "EthAddress", - "slots": "Vec" + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" }, - "EthAccessList": "Vec", - "LegacyTransaction": { - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "signature": "EthTransactionSignature" + "TxSig": { + "signature": "Vec", + "author": "AccountId" }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" }, - "EthTransactionAction": { + "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": { - "Call": "H160", - "Create": "Null" + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" } }, - "EthBloom": "H2048", - "EthLog": { - "address": "EthAddress", - "topics": "Vec", - "data": "Bytes", - "blockHash": "Option", - "blockNumber": "Option", - "transactionHash": "Option", - "transactionIndex": "Option", - "logIndex": "Option", - "transactionLogIndex": "Option", - "removed": "bool" - }, - "ExitRevert": { + "TransactionStatus": { "_enum": [ - "Reverted" + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" ] }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" }, - "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" - } + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" }, - "Fee": { - "amount": "Balance" + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" }, - "ProxyType": { + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { "_enum": { - "Any": null, - "NonTransfer": null, - "Governance": null, - "Staking": null, - "IdentityJudgement": null, - "EthereumBridge": null + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" } }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" - }, - "CrabRuntimePalletsProxyProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" - ] - }, - "DarwiniaRuntimePalletsProxyProxyType": { + "PalletBalanceOf": "Balance", + "ExtraFeeName": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "SalpContribute", + "NoExtraFee" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TimeUnit": { + "Era": "U32", + "SlashingSpan": "U32" }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "ledger": { + "Substrate": "SubstrateLedger" }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "PowerOf": { - "power": "Power" + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "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" }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" }, - "LockReasons": { + "RedeemStatus": "BalanceOf", + "FundStatus": { "_enum": { - "Fee": null, - "Misc": null, - "All": null + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 } }, - "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" + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" + ] }, - "Status": { + "CrowdloanContributeCall": { "_enum": { - "Free": null, - "Reserved": null + "CrowdloanContribute": "ContributeCall" } }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { + "ContributeCall": { "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" + "Contribute": "Contribution" } }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" - }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" }, - "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" + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } }, - "LockFor": { + "ParachainTransactProxyType": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "Primary": 0, + "Derived": 1 } }, - "Common": { - "amount": "Balance" + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } }, - "StakingLock": { - "stakingAmount": "Balance", - "unbondings": "Vec" + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } }, - "Unbonding": { - "amount": "Balance", - "until": "BlockNumber" + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } }, - "RingBalance": "Balance", - "KtonBalance": "Balance", - "TsInMs": "u64", - "Power": "u32", - "DepositId": "U256", - "TimeDepositItem": { - "value": "Balance", - "startTime": "TsInMs", - "expireTime": "TsInMs" + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" }, - "ExposureT": { - "ownRingBalance": "Compact", - "ownKtonBalance": "Compact", - "ownPower": "Power", - "totalPower": "Power", - "others": "Vec" + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "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" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "OrderId": "u64", + "OrderType": { + "_enum": { + "Sell": 0, + "Buy": 1 + } }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "UnlockId": "U32", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" }, - "TransactionOutcome": { + "PairStatus": { "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null } }, - "EthereumNetwork": { + "TokenSymbol": { "_enum": { - "Mainnet": null, - "Ropsten": null + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10 } }, - "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" + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { - "_enum": [ - "Fee", - "Misc", - "All" - ] + "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 + } }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { + "PoolState": { "_enum": { - "Token": null, - "Deposit": null + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 } }, - "DarwiniaDemocracyVoteThreshold": { - "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" - ] + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber", + "pending_unlocks": "Vec<(BlockNumber, Balance)>" }, - "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" + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" }, - "EthAddress": "H160", - "TransactionV2": { + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "MultiLocation": "MultiLocationV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [ + 902, + null + ], + "types": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EIP2930Transaction": { - "chainId": "u64", - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "accessList": "EthAccessList", - "oddYParity": "bool", - "r": "H256", - "s": "H256" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "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" + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "EthAccessListItem": { - "address": "EthAddress", - "slots": "Vec" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "EthAccessList": "Vec", - "LegacyTransaction": { - "nonce": "U256", - "gasPrice": "U256", - "gasLimit": "U256", - "action": "EthTransactionAction", - "value": "U256", - "input": "Bytes", - "signature": "EthTransactionSignature" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" }, - "EthTransactionSignature": { - "v": "u64", - "r": "H256", - "s": "H256" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "EthTransactionAction": { + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { "_enum": { - "Call": "H160", - "Create": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "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" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "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" }, - "ExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" - } + "CompactBalance": "Compact", + "PoolInfoV0": { + "totalShares": "Compact", + "totalRewards": "CompactBalance", + "totalWithdrawnRewards": "CompactBalance" }, - "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" + "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" }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" }, - "ProxyType": { - "_enum": { - "Any": null, - "NonTransfer": null, - "Governance": null, - "Staking": null, - "IdentityJudgement": null, - "EthereumBridge": null - } + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" }, - "CrabRuntimePalletsProxyProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" - ] + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" }, - "DarwiniaRuntimePalletsProxyProxyType": { + "BlockchainType": { "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" + "BIFROST", + "EOS", + "IOST" ] }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" }, - "PowerOf": { - "power": "Power" + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" }, - "LockReasons": { - "_enum": { - "Fee": null, - "Misc": null, - "All": null - } + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" }, - "StakingLedgerT": { - "stash": "AccountId", - "active": "Compact", - "activeDepositRing": "Compact", - "activeKton": "Compact", - "depositItems": "Vec", - "ringStakingLock": "StakingLock", - "ktonStakingLock": "StakingLock", - "claimedRewards": "Vec" - } - } - }, - { - "minmax": [ - 28140, - null - ], - "types": { - "UsableBalance": { - "usableBalance": "Balance" + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" }, - "Status": { - "_enum": { - "Free": null, - "Reserved": null - } + "TxSig": { + "signature": "Vec", + "author": "AccountId" }, - "LockIdentifier": "[u8; 8]", - "MessageId": "(LaneId, MessageNonce)", - "LaneId": "[u8; 4]", - "MessageNonce": "u64", - "CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter": { - "_enum": { - "DarwiniaToCrabConversionRate": "FixedU128" - } + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" }, - "FixedU128": "UInt<128, FixedU128>", - "RelayerId": "AccountId", - "UnrewardedRelayer": { - "relayer": "RelayerId", - "messages": "DeliveredMessages" + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" }, - "DeliveredMessages": { - "begin": "MessageNonce", - "end": "MessageNonce", - "dispatchResults": "BitVec" + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" }, - "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" + "Succeeded": { + "tx_id": "Vec" }, - "BalanceInfo": {}, - "BalanceLock": { - "id": "LockIdentifier", - "lockFor": "LockFor", - "lockReasons": "LockReasons" + "Failed": { + "tx_id": "Vec", + "reason": "Vec" }, - "LockFor": { + "TxOut": { "_enum": { - "Common": "Common", - "Staking": "StakingLock" + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" } }, - "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" + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] }, - "Exposure": "ExposureT", - "IndividualExposure": { - "who": "AccountId", - "ringBalance": "Compact", - "ktonBalance": "Compact", - "power": "Power" + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" }, - "ElectionResultT": { - "electedStashes": "Vec", - "exposures": "Vec<(AccountId, ExposureT)>", - "compute": "ElectionCompute" + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" }, - "RKT": { - "r": "Balance", - "k": "Balance" + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" }, - "SpanRecord": { - "slashed": "RKT", - "paidOut": "RKT" + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" }, - "UnappliedSlash": { - "validator": "AccountId", - "own": "RKT", - "others": "Vec<(AccountId, RKT)>", - "reporters": "Vec", - "payout": "RKT" + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" }, - "MappedRing": "u128", - "EthereumTransactionIndex": "(H256, u64)", - "EthereumBlockNumber": "u64", - "Bloom": "[u8; 256; Bloom]", - "EthashProof": { - "dagNodes": "[H512; 2]", - "proof": "Vec" + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" }, - "LegacyReceipt": { - "gas_used": "U256", - "log_bloom": "Bloom", - "logs": "Vec", - "outcome": "TransactionOutcome" + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" }, - "LogEntry": { - "address": "Address", - "topics": "Vec", - "data": "Bytes" + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" }, - "TransactionOutcome": { + "IostTxOut": { "_enum": { - "Unknown": "Null", - "StateRoot": "H256", - "StatusCode": "u8" + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" } }, - "EthereumNetwork": { - "_enum": { - "Mainnet": null, - "Ropsten": null - } + "PalletBalanceOf": "Balance", + "ExtraFeeName": { + "_enum": [ + "SalpContribute", + "NoExtraFee" + ] }, - "EthereumReceiptProof": { - "index": "u64", - "proof": "Bytes", - "headerHash": "H256" + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TimeUnit": { + "Era": "U32", + "SlashingSpan": "U32" }, - "MMRProof": { - "memberLeafIndex": "u64", - "lastLeafIndex": "u64", - "proof": "Vec" + "ledger": { + "Substrate": "SubstrateLedger" }, - "EcdsaSignature": "[u8; 65; EcdsaSignature]", - "Signature": "[u8;65]", - "TronAddress": "EthereumAddress", - "AddressT": "[u8; 20; AddressT]", - "Address": "[u8; 20; Address]", - "MerkleMountainRangeRootLog": { - "prefix": "[u8; 4; Prefix]", - "ParentMmrRoot": "Hash" + "SubstrateLedger": { + "account": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec" }, - "ChainProperties": { - "ss58Format": "Option", - "tokenDecimals": "Option>", - "tokenSymbol": "Option>" + "UnlockChunk": { + "value": "Balance", + "unlock_time": "TimeUnit" }, - "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" - ] + "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" }, - "ValidatorPrefs": "ValidatorPrefsWithBlocked", - "PriorRelayer": { - "id": "AccountId", - "fee": "Balance", - "validRange": "BlockNumber" + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" }, - "TokenMessageId": "[u8; 16; TokenMessageId]", - "EraIndex": "u32", - "RefCount": "u32", - "Reasons": { + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { "_enum": [ - "Fee", - "Misc", - "All" + "Idle", + "Refunded", + "Redeemed", + "Unlocked", + "MigratedIdle", + "Contributing" ] }, - "ValidatorPrefsWithBlocked": { - "commission": "Compact", - "blocked": "bool" + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } }, - "EthereumAddress": "GenericEthereumAccountId", - "RedeemFor": { + "ContributeCall": { "_enum": { - "Token": null, - "Deposit": null + "Contribute": "Contribution" } }, - "DarwiniaDemocracyVoteThreshold": { - "_enum": [ - "SuperMajorityApprove", - "SuperMajorityAgainst", - "SimpleMajority" - ] + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" }, - "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" + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" }, - "EthAddress": "H160", - "TransactionV2": { + "WithdrawCall": { "_enum": { - "Legacy": "LegacyTransaction", - "EIP2930": "EIP2930Transaction", - "EIP1559": "EIP1559Transaction" + "Withdraw": "Withdraw" } }, - "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": { + "ParachainTransactProxyType": { "_enum": { - "Call": "H160", - "Create": "Null" + "Primary": 0, + "Derived": 1 } }, - "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" - ] + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } }, - "ExitFatal": { + "Keys": "SessionKeys1", + "ParachainTransactType": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "ExitError", - "Other": "Text" + "Xcm": 0, + "Proxy": 1 } }, - "ExitError": { + "RpcContributionStatus": { "_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" + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 } }, - "Fee": { - "amount": "Balance" + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" }, - "InProcessOrders": { - "orders": "Vec<(LaneId, MessageNonce)>" + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" }, - "MMRProofResult": { - "mmrSize": "u64", - "proof": "Text" + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" }, - "NodeIndex": "u64", - "MmrNodesPruningConfiguration": { - "step": "NodeIndex", - "progress": "NodeIndex", - "lastPosition": "NodeIndex" + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" }, - "ProxyType": { + "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": { - "Any": null, - "NonTransfer": null, - "Governance": null, - "Staking": null, - "IdentityJudgement": null, - "EthereumBridge": null + "Sell": 0, + "Buy": 1 } }, - "Announcement": "ProxyAnnouncement", - "ProxyAnnouncement": { - "real": "AccountId", - "callHash": "Hash", - "height": "BlockNumber" + "UnlockId": "U32", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" }, - "CrabRuntimePalletsProxyProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" - ] + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" }, - "DarwiniaRuntimePalletsProxyProxyType": { - "_enum": [ - "Any", - "NonTransfer", - "Governance", - "Staking", - "IdentityJudgement", - "EthereumBridge" - ] + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" }, - "RelayHeaderId": "EthereumBlockNumber", - "RelayProofs": "EthereumRelayProofs", - "RelayVotingState": { - "ayes": "Vec", - "nays": "Vec" + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" }, - "RelayAffirmationId": { - "relayHeaderId": "RelayHeaderId", - "round": "u32", - "index": "u32" + "PairStatus": { + "_enum": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } }, - "EthereumRelayProofs": { - "ethashProof": "Vec", - "mmrProof": "Vec" + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6, + "ZLK": 7, + "PHA": 8, + "RMRK": 9, + "MOVR": 10 + } }, - "PowerOf": { - "power": "Power" + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } }, - "PalletStakingIndividualExposure": { - "who": "AccountId32", - "value": "Compact" + "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 + } }, - "RewardPoint": "u32", - "SpanIndex": "u32", - "UnappliedSlashOther": "(AccountId, RKT)", - "AccountData": { - "free": "Balance", - "reserved": "Balance", - "freeKton": "Balance", - "reservedKton": "Balance" + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } }, - "LockReasons": { + "PoolState": { "_enum": { - "Fee": null, - "Misc": null, - "All": null + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 } }, - "StakingLedgerT": { - "stash": "AccountId", - "active": "Compact", - "activeDepositRing": "Compact", - "activeKton": "Compact", - "depositItems": "Vec", - "ringStakingLock": "StakingLock", - "ktonStakingLock": "StakingLock", - "claimedRewards": "Vec" - } + "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" + } + } }, - "VLN": { + "bitcountry-node": { "types": [ { "minmax": [ @@ -27389,40 +28771,73 @@ export const typesBundle = { null ], "types": { - "Asset": { - "_enum": { - "Collateral": "Collateral", - "Fiat": "Fiat", - "Usdv": null - } + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AssetInfo": { + "owner": "AccountId", + "data": "AssetData" }, - "Collateral": { - "_enum": [ - "Usdc" - ] + "AssetData": { + "name": "Text", + "description": "Text", + "properties": "Text", + "supporters": "Vec" }, - "Fiat": { - "_enum": [ - "Cop", - "Vez" - ] + "AuctionId": "u64", + "AuctionItem": { + "asset_id": "TokenId", + "class_id": "ClassId", + "recipient": "AccountId", + "initial_amount": "Balance", + "amount": "Balance", + "start_time": "u32", + "end_time": "u32" }, - "CurrencyId": "Asset", - "OracleKey": "Asset", - "OracleValue": "FixedU128", - "CurrencyIdOf": "Asset", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "AuctionInfo": { + "bid": "Option<(AccountId,Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "Share": "Permill" + "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" } } ] }, - "VLN-PC": { + "bitcountry-parachain": { "types": [ { "minmax": [ @@ -27430,2417 +28845,2463 @@ export const typesBundle = { null ], "types": { - "Asset": { - "_enum": { - "Collateral": "Collateral", - "Fiat": "Fiat", - "Network": "NetworkAsset", - "Usdv": null - } - }, - "Collateral": { - "_enum": [ - "Usdc" - ] + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AssetInfo": { + "owner": "AccountId", + "data": "AssetData" }, - "Fiat": { - "_enum": [ - "Cop", - "Vez" - ] + "AssetData": { + "name": "Text", + "description": "Text", + "properties": "Text", + "supporters": "Vec" }, - "CurrencyId": "NetworkAsset", - "OracleKey": "Asset", - "OracleValue": "FixedU128", - "CurrencyIdOf": "NetworkAsset", - "Amount": "i64", - "AmountOf": "Amount", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "AuctionId": "u64", + "AuctionItem": { + "asset_id": "TokenId", + "class_id": "ClassId", + "recipient": "AccountId", + "initial_amount": "Balance", + "amount": "Balance", + "start_time": "u32", + "end_time": "u32" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "Share": "Permill", - "XCurrencyId": { - "chain_id": "ChainId", - "currency_id": "Bytes" + "AuctionInfo": { + "bid": "Option<(AccountId,Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "ChainId": { - "_enum": { - "RelayChain": null, - "Parachain": "ParaId" - } + "RentId": "u64", + "RentalInfo": { + "owner": "AccountId", + "start": "BlockNumber", + "end": "Option", + "price_per_block": "Balance" }, - "NetworkAsset": { - "_enum": [ - "ACA", - "AUSD", - "DOT" - ] + "CountryId": "u64", + "CollectionId": "u64", + "ClassId": "u32", + "TokenId": "u64", + "ClassInfoOf": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "data": "NftClassData" }, - "BaseAsset": "CurrencyId", - "AssetPair": { - "base": "BaseAsset", - "quote": "CurrencyId" + "TokenInfoOf": { + "metadata": "Vec", + "owner": "AccountId", + "data": "NftAssetData" }, - "PaymentMethod": { + "NftCollectionData": { + "name": "Vec", + "owner": "AccountId", + "properties": "Vec" + }, + "TokenType": { "_enum": [ - "BankX", - "BankY" + "Transferrable", + "BoundToAddress" ] }, - "RatePremiumType": "FixedU128", - "SwapKind": { + "NftAssetData": { + "name": "Vec", + "description": "Vec", + "properties": "Vec" + }, + "NftClassData": { + "deposit": "Balance", + "properties": "Vec", + "token_type": "TokenType" + }, + "NetworkId": { "_enum": { - "In": "SwapIn", - "Out": "SwapOut" + "Any": "Null", + "Named": "Vec", + "Polkadot": "Null", + "Kusama": "Null" } }, - "SwapIn": { + "CurrencyId": { "_enum": { - "Created": null, - "Accepted": "Vec", - "Rejected": "Vec", - "Confirmed": "Vec", - "Expired": null, - "Completed": null + "Token": "TokenSymbol" } }, - "SwapOut": { + "TokenSymbol": { + "_enum": [ + "NUUM", + "AUSD", + "ACA", + "DOT" + ] + }, + "CountryCurrencyId": "u32", + "CurrencyIdOf": "CurrencyId", + "BalanceIdOf": "Balance", + "ChainId": { "_enum": { - "Created": null, - "Accepted": null, - "Rejected": "Vec", - "Confirmed": "Vec", - "Expired": null, - "Completed": null + "RelayChain": "Null", + "ParaChain": "ParaId" } }, - "PairPrice": { - "pair": "AssetPair", - "price": "FixedU128" - }, - "Swap": { - "human": "AccountId", - "kind": "SwapKind", - "price": "PairPrice", - "amount": "FixedU128" + "XCurrencyId": { + "chain_id": "ChainId", + "currency_id": "CurrencyId" }, - "RateDetail": { - "rate": "FixedU128" - } + "GroupCollectionId": "u64", + "ClassIdOf": "u32", + "TokenIdOf": "u32", + "SpotId": "u32" } } ] }, - "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" - ] - }, + "centrifuge": { "types": [ { "minmax": [ - 600, - 699 + 0, + null ], "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "AnchorData": { + "id": "Hash", + "docRoot": "Hash", + "anchoredBlock": "u64" }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "ChainId": "u8", + "chainbridge::ChainId": "u8", + "DepositNonce": "u64", + "Fee": { + "key": "Hash", + "price": "Balance" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "ParachainAccountIdOf": "AccountId", + "PreCommitData": { + "signingRoot": "Hash", + "identity": "AccountId", + "expirationBlock": "u64" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "Proof": { + "leafHash": "Hash", + "sortedHashes": "Vec" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "_Staking", + "NonProxy" + ] }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "ResourceId": "[u8; 32]", + "RelayChainAccountId": "AccountId", + "RootHashOf": "Hash" + } + } + ] + }, + "centrifuge-chain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "AnchorData": { + "id": "H256", + "docRoot": "H256", + "anchoredBlock": "u64" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "Fee": { + "key": "Hash", + "price": "Balance" }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "PreCommitData": { + "signingRoot": "H256", + "identity": "H256", + "expirationBlock": "u64" }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "Proof": { + "leafHash": "H256", + "sortedHashes": "H256" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "MultiAccountData": { + "threshold": "u16", + "signatories": "Vec", + "deposit": "Balance", + "depositor": "AccountId" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "ChainId": "u8", + "ResourceId": "[u8; 32]", + "chainbridge::ChainId": "u8", + "DepositNonce": "u64", + "RegistryId": "H160", + "TokenId": "U256", + "AssetId": { + "registryId": "RegistryId", + "tokenId": "TokenId" }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { - "_enum": [ - "ACA", - "AUSD", - "DOT", - "XBTC", - "LDOT", - "RENBTC" - ] + "RegistryInfo": { + "ownerCanBurn": "bool", + "fields": "Vec" }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "AssetInfo": { + "metadata": "Bytes" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "ProofMint": { + "value": "Bytes", + "property": "Bytes", + "salt": "[u8; 32]", + "hashes": "Vec" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "MintInfo": { + "anchorId": "Hash", + "staticHashes": "[Hash; 3]", + "proofs": "Vec" + } + } + } + ] + }, + "chainx": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId", + "Chain": { "_enum": [ - "KAR", - "ACA" + "ChainX", + "Bitcoin", + "Ethereum", + "Polkadot" ] }, - "AuthoritysOriginId": { + "NetworkType": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "Mainnet", + "Testnet" ] }, - "AcalaDataProviderId": { + "AssetType": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "Usable", + "Locked", + "Reserved", + "ReservedWithdrawal", + "ReservedDexSpot" ] }, - "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" + "OrderType": { + "_enum": [ + "Limit", + "Market" + ] }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "Side": { + "_enum": [ + "Buy", + "Sell" + ] }, - "LiquidationStrategy": { + "LockedType": { "_enum": [ - "Auction", - "Exchange" + "Bonded", + "BondedWithdrawal" ] }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "Memo": "Text", + "AssetInfo": { + "token": "String", + "tokenName": "String", + "chain": "Chain", + "decimals": "Decimals", + "desc": "String" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "TradingPairProfile": { + "id": "TradingPairId", + "currencyPair": "CurrencyPair", + "pipDecimals": "u32", + "tickDecimals": "u32", + "tradable": "bool" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "Order": { + "props": "OrderProperty", + "status": "OrderStatus", + "remaining": "Balance", + "executedIndices": "Vec", + "alreadyFilled": "Balance", + "lastUpdateAt": "BlockNumber" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "TradingPairInfo": { + "latestPrice": "Price", + "lastUpdated": "BlockNumber" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "OrderExecutedInfo": { + "tradingHistoryIdx": "TradingHistoryIndex", + "pairId": "TradingPairId", + "price": "Price", + "maker": "AccountId", + "taker": "AccountId", + "makerOrderId": "OrderId", + "takerOrderId": "OrderId", + "turnover": "Balance", + "executedAt": "BlockNumber" }, - "BalanceWrapper": { - "amount": "Balance" + "BtcHeaderInfo": { + "header": "BtcHeader", + "height": "u32" }, - "BalanceRequest": { - "amount": "Balance" + "BtcParams": { + "maxBits": "u32", + "blockMaxFuture": "u32", + "targetTimespanSeconds": "u32", + "targetSpacingSeconds": "u32", + "retargetingFactor": "u32", + "retargetingInterval": "u32", + "minTimespan": "u32", + "maxTimespan": "u32" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "MiningAssetInfo": { + "assetId": "AssetId", + "miningPower": "FixedAssetPower", + "rewardPot": "AccountId", + "rewardPotBalance": "RpcBalance", + "lastTotalMiningWeight": "RpcMiningWeight", + "lastTotalMiningWeightUpdate": "BlockNumber" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "MiningDividendInfo": { + "own": "Balance", + "other": "Balance", + "insufficientStake": "Balance" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "AssetLedger": { + "lastTotalMiningWeight": "MiningWeight", + "lastTotalMiningWeightUpdate": "BlockNumber" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "MinerLedger": { + "lastMiningWeight": "MiningWeight", + "lastMiningWeightUpdate": "BlockNumber", + "lastClaim": "Option" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "ClaimRestriction": { + "stakingRequirement": "StakingRequirement", + "frequencyLimit": "BlockNumber" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "NominatorInfo": { + "lastRebond": "Option" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "BondRequirement": { + "selfBonded": "Balance", + "total": "Balance" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "Unbonded": { + "value": "Balance", + "lockedUntil": "BlockNumber" }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" - } + "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" }, - "EvmCoreErrorExitSucceed": { + "OrderStatus": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "Created", + "PartialFill", + "Filled", + "PartialFillAndCanceled", + "Canceled" ] }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } - }, - "EvmCoreErrorExitRevert": { + "AssetId": "u32", + "MiningWeight": "u128", + "VoteWeight": "u128", + "ReferralId": "Text", + "AssetRestriction": { "_enum": [ - "Reverted" + "Move", + "Transfer", + "Deposit", + "Withdraw", + "DestroyWithdrawal", + "DestroyFree" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "AssetRestrictions": { + "bits": "u32" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "BtcHeader": "Vec", + "BtcNetwork": { + "_enum": [ + "Mainnet", + "Testnet" + ] }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "OrderInfo": "Order", + "Amount": "i128", + "AmountOf": "Amount", + "CurrencyIdOf": "AssetId", + "CurrencyId": "AssetId", + "Handicap": { + "highestBid": "Price", + "lowestAsk": "Price" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "OrderProperty": { + "id": "OrderId", + "side": "Side", + "price": "Price", + "amount": "Amount", + "pairId": "TradingPairId", + "submitter": "AccountId", + "orderType": "OrderType", + "createdAt": "BlockNumber" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "TotalAssetInfo": { + "info": "AssetInfo", + "balance": "BTreeMap", + "isOnline": "bool", + "restrictions": "AssetRestrictions" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "WithdrawalRecordId": "u32", + "WithdrawalState": { + "_enum": [ + "Applying", + "Processing", + "NormalFinish", + "RootFinish", + "NormalCancel", + "RootCancel" + ] }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" - } + "WithdrawalRecord": { + "assetId": "AssetId", + "applicant": "AccountId", + "balance": "Balance", + "addr": "AddrStr", + "ext": "Memo", + "height": "BlockNumber" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "WithdrawalLimit": { + "minimalWithdrawal": "Balance", + "fee": "Balance" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "TrusteeInfoConfig": { + "minTrusteeCount": "u32", + "maxTrusteeCount": "u32" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "GenericTrusteeIntentionProps": { + "about": "Text", + "hotEntity": "Vec", + "coldEntity": "Vec" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "GenericTrusteeSessionInfo": { + "trusteeList": "Vec", + "threshold": "u16", + "hotAddress": "Vec", + "coldAddress": "Vec" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "ChainAddress": "Vec", + "BtcTrusteeType": "Vec", + "BtcTrusteeAddrInfo": { + "addr": "BtcAddress", + "redeemScript": "Vec" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "BtcTrusteeIntentionProps": { + "about": "Text", + "hotEntity": "BtcTrusteeType", + "coldEntity": "BtcTrusteeType" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "BtcTrusteeSessionInfo": { + "trusteeList": "Vec", + "threshold": "u16", + "hotAddress": "BtcTrusteeAddrInfo", + "coldAddress": "BtcTrusteeAddrInfo" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "BtcTransaction": "Vec", + "BtcPartialMerkleTree": "Vec", + "BtcRelayedTxInfo": { + "blockHash": "H256", + "merkleProof": "BtcPartialMerkleTree" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "BtcHeaderIndex": { + "hash": "H256", + "height": "u32" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "BtcTxResult": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "Success", + "Failure" ] }, - "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" + "BtcTxState": { + "txType": "BtcTxType", + "result": "BtcTxResult" }, - "StakingPoolPhase": { + "BtcTxType": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "Withdrawal", + "Deposit", + "HotAndCold", + "TrusteeTransition", + "Irrelevance" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "BtcDepositCache": { + "txid": "H256", + "balance": "u64" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "BtcVoteResult": { + "_enum": [ + "Unfinish", + "Finish" + ] }, - "BalanceInfo": { - "amount": "Balance" + "BtcWithdrawalProposal": { + "sigState": "BtcVoteResult", + "withdrawalIdList": "Vec", + "tx": "BtcTransaction", + "trusteeList": "Vec<(AccountId, bool)>" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "Address": "LookupSource", - "LookupSource": "IndicesLookupSource" - } - }, - { - "minmax": [ - 700, - 719 - ], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "BtcTxVerifier": { + "_enum": [ + "Recover", + "RuntimeInterface" + ] }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "RpcTotalAssetInfo": { + "info": "AssetInfo", + "balance": "BTreeMap", + "isOnline": "bool", + "restrictions": "AssetRestrictions" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "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" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "RpcWithdrawalRecord": { + "assetId": "AssetId", + "applicant": "AccountId", + "balance": "RpcBalance", + "addr": "String", + "ext": "String", + "height": "BlockNumber", + "state": "WithdrawalState" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "RpcMiningDividendInfo": { + "own": "RpcBalance", + "other": "RpcBalance", + "insufficientStake": "RpcBalance" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "RpcInclusionFee": { + "baseFee": "RpcBalance", + "lenFee": "RpcBalance", + "adjustedWeightFee": "RpcBalance" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "RpcFeeDetails": { + "inclusionFee": "Option", + "tip": "RpcBalance", + "extraFee": "RpcBalance", + "finalFee": "RpcBalance" }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "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" }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "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" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "Depth": { + "asks": "Vec<(RpcPrice, RpcBalance)>", + "bids": "Vec<(RpcPrice, RpcBalance)>" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "Page": { + "pageIndex": "u32", + "pageSize": "u32", + "data": "Vec" }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "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": [ - "ACA", - "AUSD", - "DOT", - "XBTC", - "LDOT", - "RENBTC" + "ChainX", + "Bitcoin", + "Ethereum", + "Polkadot" ] }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "NetworkType": { + "_enum": [ + "Mainnet", + "Testnet" + ] }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "AssetType": { + "_enum": [ + "Usable", + "Locked", + "Reserved", + "ReservedWithdrawal", + "ReservedDexSpot" + ] }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "OrderType": { "_enum": [ - "KAR", - "ACA" + "Limit", + "Market" ] }, - "AuthoritysOriginId": { + "Side": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "Buy", + "Sell" ] }, - "AcalaDataProviderId": { + "LockedType": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "Bonded", + "BondedWithdrawal" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "Memo": "Text", + "AssetInfo": { + "token": "String", + "tokenName": "String", + "chain": "Chain", + "decimals": "Decimals", + "desc": "String" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "TradingPairProfile": { + "id": "TradingPairId", + "currencyPair": "CurrencyPair", + "pipDecimals": "u32", + "tickDecimals": "u32", + "tradable": "bool" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "Order": { + "props": "OrderProperty", + "status": "OrderStatus", + "remaining": "Balance", + "executedIndices": "Vec", + "alreadyFilled": "Balance", + "lastUpdateAt": "BlockNumber" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "TradingPairInfo": { + "latestPrice": "Price", + "lastUpdated": "BlockNumber" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "OrderExecutedInfo": { + "tradingHistoryIdx": "TradingHistoryIndex", + "pairId": "TradingPairId", + "price": "Price", + "maker": "AccountId", + "taker": "AccountId", + "makerOrderId": "OrderId", + "takerOrderId": "OrderId", + "turnover": "Balance", + "executedAt": "BlockNumber" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "BtcHeaderInfo": { + "header": "BtcHeader", + "height": "u32" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "BtcParams": { + "maxBits": "u32", + "blockMaxFuture": "u32", + "targetTimespanSeconds": "u32", + "targetSpacingSeconds": "u32", + "retargetingFactor": "u32", + "retargetingInterval": "u32", + "minTimespan": "u32", + "maxTimespan": "u32" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "MiningAssetInfo": { + "assetId": "AssetId", + "miningPower": "FixedAssetPower", + "rewardPot": "AccountId", + "rewardPotBalance": "RpcBalance", + "lastTotalMiningWeight": "RpcMiningWeight", + "lastTotalMiningWeightUpdate": "BlockNumber" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "MiningDividendInfo": { + "own": "Balance", + "other": "Balance", + "insufficientStake": "Balance" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "AssetLedger": { + "lastTotalMiningWeight": "MiningWeight", + "lastTotalMiningWeightUpdate": "BlockNumber" }, - "BalanceWrapper": { - "amount": "Balance" + "MinerLedger": { + "lastMiningWeight": "MiningWeight", + "lastMiningWeightUpdate": "BlockNumber", + "lastClaim": "Option" }, - "BalanceRequest": { - "amount": "Balance" + "ClaimRestriction": { + "stakingRequirement": "StakingRequirement", + "frequencyLimit": "BlockNumber" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "NominatorInfo": { + "lastRebond": "Option" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "BondRequirement": { + "selfBonded": "Balance", + "total": "Balance" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "Unbonded": { + "value": "Balance", + "lockedUntil": "BlockNumber" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "ValidatorLedger": { + "totalNomination": "Balance", + "lastTotalVoteWeight": "VoteWeight", + "lastTotalVoteWeightUpdate": "BlockNumber" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "NominatorLedger": { + "nomination": "Balance", + "lastVoteWeight": "VoteWeight", + "lastVoteWeightUpdate": "BlockNumber", + "unbondedChunks": "Vec" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "ValidatorProfile": { + "registeredAt": "BlockNumber", + "isChilled": "bool", + "lastChilled": "Option", + "referralId": "ReferralId" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "GlobalDistribution": { + "treasury": "u32", + "mining": "u32" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "MiningDistribution": { + "asset": "u32", + "staking": "u32" }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" - } + "InclusionFee": { + "baseFee": "Balance", + "lenFee": "Balance", + "adjustedWeightFee": "Balance" }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "FeeDetails": { + "inclusionFee": "Option>", + "extraFee": "Balance", + "tip": "Balance", + "finalFee": "Balance" }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "UnbondedIndex": "u32", + "Token": "Text", + "Desc": "Text", + "AddrStr": "Text", + "HandicapInfo": "Handicap", + "Price": "u128", + "OrderId": "u64", + "TradingPairId": "u32", + "TradingHistoryIndex": "u64", + "PriceFluctuation": "u32", + "BtcAddress": "Text", + "FixedAssetPower": "u32", + "StakingRequirement": "u32", + "Decimals": "u8", + "CurrencyPair": { + "base": "AssetId", + "quote": "AssetId" }, - "EvmCoreErrorExitRevert": { + "OrderStatus": { "_enum": [ - "Reverted" + "Created", + "PartialFill", + "Filled", + "PartialFillAndCanceled", + "Canceled" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "AssetId": "u32", + "MiningWeight": "u128", + "VoteWeight": "u128", + "ReferralId": "Text", + "AssetRestriction": { + "_enum": [ + "Move", + "Transfer", + "Deposit", + "Withdraw", + "DestroyWithdrawal", + "DestroyFree" + ] }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "AssetRestrictions": { + "bits": "u32" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "BtcHeader": "Vec", + "BtcNetwork": { + "_enum": [ + "Mainnet", + "Testnet" + ] }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "OrderInfo": "Order", + "Amount": "i128", + "AmountOf": "Amount", + "CurrencyIdOf": "AssetId", + "CurrencyId": "AssetId", + "Handicap": { + "highestBid": "Price", + "lowestAsk": "Price" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "OrderProperty": { + "id": "OrderId", + "side": "Side", + "price": "Price", + "amount": "Amount", + "pairId": "TradingPairId", + "submitter": "AccountId", + "orderType": "OrderType", + "createdAt": "BlockNumber" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" - } + "TotalAssetInfo": { + "info": "AssetInfo", + "balance": "BTreeMap", + "isOnline": "bool", + "restrictions": "AssetRestrictions" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "WithdrawalRecordId": "u32", + "WithdrawalState": { + "_enum": [ + "Applying", + "Processing", + "NormalFinish", + "RootFinish", + "NormalCancel", + "RootCancel" + ] }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "WithdrawalRecord": { + "assetId": "AssetId", + "applicant": "AccountId", + "balance": "Balance", + "addr": "AddrStr", + "ext": "Memo", + "height": "BlockNumber" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "WithdrawalLimit": { + "minimalWithdrawal": "Balance", + "fee": "Balance" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "TrusteeInfoConfig": { + "minTrusteeCount": "u32", + "maxTrusteeCount": "u32" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "GenericTrusteeIntentionProps": { + "about": "Text", + "hotEntity": "Vec", + "coldEntity": "Vec" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "GenericTrusteeSessionInfo": { + "trusteeList": "Vec", + "threshold": "u16", + "hotAddress": "Vec", + "coldAddress": "Vec" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "ChainAddress": "Vec", + "BtcTrusteeType": "Vec", + "BtcTrusteeAddrInfo": { + "addr": "BtcAddress", + "redeemScript": "Vec" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "BtcTrusteeIntentionProps": { + "about": "Text", + "hotEntity": "BtcTrusteeType", + "coldEntity": "BtcTrusteeType" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "BtcTrusteeSessionInfo": { + "trusteeList": "Vec", + "threshold": "u16", + "hotAddress": "BtcTrusteeAddrInfo", + "coldAddress": "BtcTrusteeAddrInfo" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "BtcTransaction": "Vec", + "BtcPartialMerkleTree": "Vec", + "BtcRelayedTxInfo": { + "blockHash": "H256", + "merkleProof": "BtcPartialMerkleTree" + }, + "BtcHeaderIndex": { + "hash": "H256", + "height": "u32" + }, + "BtcTxResult": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "Success", + "Failure" ] }, - "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" + "BtcTxState": { + "txType": "BtcTxType", + "result": "BtcTxResult" }, - "StakingPoolPhase": { + "BtcTxType": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "Withdrawal", + "Deposit", + "HotAndCold", + "TrusteeTransition", + "Irrelevance" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "BtcDepositCache": { + "txid": "H256", + "balance": "u64" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "BtcVoteResult": { + "_enum": [ + "Unfinish", + "Finish" + ] }, - "BalanceInfo": { - "amount": "Balance" + "BtcWithdrawalProposal": { + "sigState": "BtcVoteResult", + "withdrawalIdList": "Vec", + "tx": "BtcTransaction", + "trusteeList": "Vec<(AccountId, bool)>" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress" - } - }, - { - "minmax": [ - 720, - 722 - ], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "BtcTxVerifier": { + "_enum": [ + "Recover", + "RuntimeInterface" + ] }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "RpcTotalAssetInfo": { + "info": "AssetInfo", + "balance": "BTreeMap", + "isOnline": "bool", + "restrictions": "AssetRestrictions" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "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" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "RpcWithdrawalRecord": { + "assetId": "AssetId", + "applicant": "AccountId", + "balance": "RpcBalance", + "addr": "String", + "ext": "String", + "height": "BlockNumber", + "state": "WithdrawalState" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "RpcMiningDividendInfo": { + "own": "RpcBalance", + "other": "RpcBalance", + "insufficientStake": "RpcBalance" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "RpcInclusionFee": { + "baseFee": "RpcBalance", + "lenFee": "RpcBalance", + "adjustedWeightFee": "RpcBalance" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "RpcFeeDetails": { + "inclusionFee": "Option", + "tip": "RpcBalance", + "extraFee": "RpcBalance", + "finalFee": "RpcBalance" }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "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" }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "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" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "Depth": { + "asks": "Vec<(RpcPrice, RpcBalance)>", + "bids": "Vec<(RpcPrice, RpcBalance)>" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "Page": { + "pageIndex": "u32", + "pageSize": "u32", + "data": "Vec" }, - "Share": "u128", - "OracleValue": "Price", + "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", - "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" - } - }, + "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": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" - } + "_enum": [ + "CLV", + "CUSDT", + "DOT", + "CETH" + ] }, "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "CurrencyTypeEnum": { "_enum": [ - "KAR", - "ACA" + "CLV", + "CUSDT", + "DOT", + "CETH" ] }, - "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" + "PairKey": "u64", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "Price": "FixedU128", + "Share": "u128", + "OracleKey": "CurrencyId", + "CurrencyInfo": { + "id": "CurrencyId", + "name": "CurrencyTypeEnum" }, - "BalanceRequest": { - "amount": "Balance" + "ExchangeInfo": { + "balance": "Balance", + "routes": "Vec" }, - "TradingPairStatus": { + "PoolId": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "Swap": "u64" } }, - "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" - }, + "EcdsaSignature": "[u8; 65]", "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" - } - }, - "EvmCoreErrorExitSucceed": { + "ExitSucceed": { "_enum": [ "Stopped", "Returned", "Suicided" ] }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } - }, - "EvmCoreErrorExitRevert": { + "ExitRevert": { "_enum": [ "Reverted" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "ExitError": { + "_enum": [ + "StackUnderflow", + "StackOverflow", + "InvalidJump", + "InvalidRange", + "DesignatedInvalid", + "CallTooDeep", + "CreateCollision", + "CreateContractLimit", + "OutOfOffset", + "OutOfGas", + "OutOfFund", + "PCUnderflow", + "CreateEmpty", + "Other" + ] }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "ExitFatal": { + "_enum": [ + "NotSupported", + "UnhandledInterrupt", + "CallErrorAsFatal", + "Other" + ] }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "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" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "Competitor": { + "vie_id": "[u8;16]", + "staked": "bool", + "submitted_winner": "bool" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" - } + "Vie": { + "operator": "AccountId", + "stake": "Balance", + "places": "Vec", + "time": "Moment", + "competitors": "Vec", + "memo": "Vec" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "VieOf": "Vie", + "VieReq": { + "stake": "Balance", + "places": "Vec", + "competitors": "Vec", + "memo": "Vec" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "VieRequestOf": "VieReq", + "Participants": { + "AccountId": "[u8;16]" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "Operators": { + "AccountId": "[u8;16]" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "StandingReq": { + "competitor": "AccountId", + "spot": "u32" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "PodiumReq": { + "champion": "AccountId", + "podium": "Vec" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "PodiumReqOf": "PodiumReq", + "Trophy": { + "trophy": "[u8; 16]", + "competitors": "Vec", + "stake": "Balance", + "memo": "Vec", + "time": "u64", + "podium": "Vec" }, "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", + "TokenInfo": { + "metadata": "Vec", "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "data": "Trophy" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "TokenInfoOf": "TokenInfo" + } + } + ] + }, + "contextfree": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "ResourceId": "[u8; 32]", + "DepositNonce": "u64", + "ProposalStatus": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "Initiated", + "Approved", + "Rejected" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "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" }, - "StakingPoolPhase": { + "ProposalId": "u32", + "ProjectId": "u32", + "ChainIndex": "u32", + "Protocol": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "Solidity", + "Substrate" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "Chain": { + "_protocol": "Protocol" }, - "ChangeRate": { + "CrossChainAccount": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "Solidity": "H160", + "Substrate": "AccountId" } }, - "ChangeRatio": { + "IpfsHash": "Text", + "SolidityStrategy": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "ERC20Balance": "H160" } }, - "BalanceInfo": { - "amount": "Balance" + "SubstrateStrategy": { + "_enum": [ + "NativeBalance" + ] }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [ - 723, - 729 - ], - "types": { - "CallOf": "Call", - "DispatchTime": { + "Strategy": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Solidity": "SolidityStrategy", + "Substrate": "SubstrateStrategy" } }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "Workspace": { + "_chain": "ChainIndex", + "strategies": "Vec" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "UserGroup": { + "owner": "CrossChainAccount", + "admins": "Vec", + "maintainers": "Vec", + "proposers": "Option>" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "Project": { + "usergroup": "UserGroup", + "data": "IpfsHash", + "workspaces": "Vec" }, - "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" + "VotingFormat": { + "_enum": [ + "SingleChoice", + "SplitVote" + ] }, - "DelayedDispatchTime": { + "OptionIndex": "u8", + "PrivacyLevel": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Opaque": "u8", + "Rank": "Null", + "Private": "Null", + "Public": "Null", + "Mixed": "Null" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" - }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "VotingPower": "U256", + "DAOProposalState": { + "finalized": "bool", + "snapshots": "Vec>", + "blacklisted": "bool", + "votes": "Vec", + "pub_voters": "Option", + "updates": "u32" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DAOProposal": { + "_author": "CrossChainAccount", + "_voting_format": "VotingFormat", + "_option_count": "OptionIndex", + "_data": "IpfsHash", + "_privacy": "PrivacyLevel", + "_start": "u64", + "_end": "u64", + "_frequency": "Option", + "_workspaces": "Vec", + "state": "DAOProposalState" }, - "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 - } + "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" }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "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" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" - } + "PeerId": "(Vec)", + "Amendment": { + "statement": "Vec", + "owners": "Vec" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] + "BlockNumber": "u32", + "VestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "period_count": "BlockNumber", + "per_period": "Compact" }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] + "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" }, - "AcalaDataProviderId": { + "FundsType": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "SWORK", + "MARKET" ] }, - "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" + "FundsUnlockChunk": { + "value": "Compact", + "era": "Compact" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "MarketBenefit": { + "total_funds": "Compact", + "active_funds": "Compact", + "used_fee_reduction_quota": "Compact", + "file_reward": "Compact", + "refreshed_at": "Compact", + "unlocking_funds": "Vec>" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "SworkBenefit": { + "total_funds": "Compact", + "active_funds": "Compact", + "total_fee_reduction_count": "u32", + "used_fee_reduction_count": "u32", + "refreshed_at": "Compact", + "unlocking_funds": "Vec>" }, - "LiquidationStrategy": { + "BridgeChainId": "u8", + "ChainId": "u8", + "ResourceId": "H256", + "DepositNonce": "u64", + "ProposalStatus": { "_enum": [ - "Auction", - "Exchange" + "Initiated", + "Approved", + "Rejected" ] }, - "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" + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "Erc721Token": { + "id": "TokenId", + "metadata": "Vec" }, - "BalanceWrapper": { - "amount": "Balance" + "TokenId": "U256", + "ETHAddress": "Vec", + "EthereumTxHash": "H256", + "Lock": { + "total": "Compact", + "last_unlock_at": "BlockNumber", + "lock_type": "LockType" }, - "BalanceRequest": { - "amount": "Balance" + "LockType": { + "delay": "BlockNumber", + "lock_period": "u32" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "FileInfo": { + "file_size": "u64", + "spower": "u64", + "expired_at": "BlockNumber", + "calculated_at": "BlockNumber", + "amount": "Compact", + "prepaid": "Compact", + "reported_replica_count": "u32", + "replicas": "Vec>" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "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>" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "Replica": { + "who": "AccountId", + "valid_at": "BlockNumber", + "anchor": "SworkerAnchor", + "is_reported": "bool", + "created_at": "Option" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "Guarantee": { + "targets": "Vec>", + "total": "Compact", + "submitted_in": "EraIndex", + "suppressed": "bool" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "ValidatorPrefs": { + "guarantee_fee": "Compact" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "Group": { + "members": "BTreeSet", + "allowlist": "BTreeSet" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "IASSig": "Vec", + "Identity": { + "anchor": "SworkerAnchor", + "punishment_deadline": "u64", + "group": "Option" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "ISVBody": "Vec", + "MerkleRoot": "Vec", + "ReportSlot": "u64", + "PKInfo": { + "code": "SworkerCode", + "anchor": "Option" }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" - } + "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" }, - "EvmCoreErrorExitSucceed": { + "FundsType": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "SWORK", + "MARKET" ] }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "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>" }, - "EvmCoreErrorExitRevert": { + "BridgeChainId": "u8", + "ChainId": "u8", + "ResourceId": "H256", + "DepositNonce": "u64", + "ProposalStatus": { "_enum": [ - "Reverted" + "Initiated", + "Approved", + "Rejected" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "Erc721Token": { + "id": "TokenId", + "metadata": "Vec" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "TokenId": "U256", + "ETHAddress": "Vec", + "EthereumTxHash": "H256", + "Lock": { + "total": "Compact", + "last_unlock_at": "BlockNumber", + "lock_type": "LockType" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "LockType": { + "delay": "BlockNumber", + "lock_period": "u32" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "FileInfo": { + "file_size": "u64", + "spower": "u64", + "expired_at": "BlockNumber", + "calculated_at": "BlockNumber", + "amount": "Compact", + "prepaid": "Compact", + "reported_replica_count": "u32", + "replicas": "Vec>" }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "FileInfoV2": { + "file_size": "u64", + "spower": "u64", + "expired_at": "BlockNumber", + "calculated_at": "BlockNumber", + "amount": "Compact", + "prepaid": "Compact", + "reported_replica_count": "u32", + "remaining_paid_count": "u32", + "replicas": "BTreeMap>" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "Replica": { + "who": "AccountId", + "valid_at": "BlockNumber", + "anchor": "SworkerAnchor", + "is_reported": "bool", + "created_at": "Option" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "Guarantee": { + "targets": "Vec>", + "total": "Compact", + "submitted_in": "EraIndex", + "suppressed": "bool" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "ValidatorPrefs": { + "guarantee_fee": "Compact" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "Group": { + "members": "BTreeSet", + "allowlist": "BTreeSet" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "IASSig": "Vec", + "Identity": { + "anchor": "SworkerAnchor", + "punishment_deadline": "u64", + "group": "Option" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "ISVBody": "Vec", + "MerkleRoot": "Vec", + "ReportSlot": "u64", + "PKInfo": { + "code": "SworkerCode", + "anchor": "Option" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "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" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "RoamingAgreementPolicy": "[u8; 16]", + "RoamingAgreementPolicyIndex": "u64", + "RoamingAgreementPolicyActivationType": "Text", + "RoamingAgreementPolicySetting": { + "policy_activation_type": "Text", + "policy_expiry_block": "Moment" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "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" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "RoamingSession": "[u8; 16]", + "RoamingSessionIndex": "u64", + "RoamingSessionJoinRequest": { + "session_network_server_id": "Moment", + "session_join_requested_at_block": "Moment" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "RoamingSessionJoinAccept": { + "session_join_request_accept_expiry": "Moment", + "session_join_request_accept_accepted_at_block": "Moment" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "RoamingBillingPolicy": "[u8; 16]", + "RoamingBillingPolicyIndex": "u64", + "RoamingBillingPolicySetting": { + "policy_next_billing_at_block": "Moment", + "policy_frequency_in_blocks": "Moment" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "RoamingChargingPolicy": "[u8; 16]", + "RoamingChargingPolicyIndex": "u64", + "RoamingChargingPolicySetting": { + "policy_next_charging_at_block": "Moment", + "policy_delay_after_billing_in_blocks": "u64" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "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" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "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" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "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" }, - "BalanceInfo": { - "amount": "Balance" + "MiningSettingToken": "[u8; 16]", + "MiningSettingTokenIndex": "u64", + "MiningSettingTokenType": "Text", + "MiningSettingTokenLockAmount": "u64", + "MiningSettingTokenSetting": { + "token_type": "Text", + "token_lock_amount": "u64", + "token_lock_start_block": "Moment", + "token_lock_interval_blocks": "Moment" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [ - 730, - 1007 - ], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "MiningSettingTokenRequirementsSetting": { + "token_type": "Text", + "token_lock_min_amount": "u64", + "token_lock_min_blocks": "u32" }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "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" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "MiningSamplingToken": "[u8; 16]", + "MiningSamplingTokenIndex": "u64", + "MiningSamplingTokenSampleLockedAmount": "u64", + "MiningSamplingTokenSetting": { + "token_sample_block": "Moment", + "token_sample_locked_amount": "u64" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "MiningSamplingHardware": "[u8; 16]", + "MiningSamplingHardwareIndex": "u64", + "MiningSamplingHardwareSampleHardwareOnline": "u64", + "MiningSamplingHardwareSetting": { + "hardware_sample_block": "Moment", + "hardware_sample_hardware_online": "bool" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "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" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "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" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "MiningEligibilityProxy": "[u8; 16]", + "MiningEligibilityProxyIndex": "u64", + "MiningEligibilityProxyRewardRequest": { + "proxy_claim_requestor_account_id": "AccountId", + "proxy_claim_total_reward_amount": "Balance", + "proxy_claim_timestamp_redeemed": "Moment" }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "MiningEligibilityProxyClaimRewardeeData": { + "proxy_claim_rewardee_account_id": "AccountId", + "proxy_claim_reward_amount": "Balance", + "proxy_claim_start_date": "Date", + "proxy_claim_end_date": "Date" }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "RewardeeData": { + "proxy_claim_rewardee_account_id": "AccountId", + "proxy_claim_reward_amount": "Balance", + "proxy_claim_start_date": "Date", + "proxy_claim_end_date": "Date" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "RewardRequestorData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "total_amt": "Balance", + "rewardee_count": "u64", + "member_kind": "u32", + "requested_date": "Moment" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "RequestorData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "total_amt": "Balance", + "rewardee_count": "u64", + "member_kind": "u32", + "requested_date": "Moment" }, - "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 - } + "RewardTransferData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "is_sent": "bool", + "total_amt": "Balance", + "rewardee_count": "u64", + "member_kind": "u32", + "requested_date": "Moment" }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "TransferData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "is_sent": "bool", + "total_amt": "Balance", + "rewardee_count": "u64", + "member_kind": "u32", + "requested_date": "Moment" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "RewardDailyData": { + "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", + "total_amt": "Balance", + "proxy_claim_requestor_account_id": "AccountId", + "member_kind": "u32", + "rewarded_date": "Date" }, - "CurrencyIdOf": "CurrencyId", + "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": [ - "KAR", - "ACA" + "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", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "EaveTreasury", + "CdpTreasury", + "ElpTreasury", + "DSWF" ] }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "BalanceInfo": { + "amount": "Balance" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "BalanceRequest": { + "amount": "Balance" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "BalanceWrapper": { + "amount": "Balance" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "BondingLedger": { + "total": "Compact", + "active": "Compact", + "unlocking": "Vec" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "CID": "Vec", + "CallOf": "Call", + "CallRequest": { + "from": "Option", + "to": "Option", + "gasLimit": "Option", + "storageLimit": "Option", + "value": "Option", + "data": "Option" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } + }, + "ChangeBalance": { + "_enum": { + "NoChange": "Null", + "NewValue": "Balance" + } }, - "OptionRate": "Option", - "OptionRatio": "Option", "ChangeOptionRate": { "_enum": { "NoChange": "Null", @@ -29853,2281 +31314,2605 @@ export const typesBundle = { "NewValue": "OptionRatio" } }, - "ChangeBalance": { + "ChangeRate": { "_enum": { "NoChange": "Null", - "NewValue": "Balance" + "NewValue": "Rate" } }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { + "ChangeRatio": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "NoChange": "Null", + "NewValue": "Ratio" } }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "ClassData": { + "deposit": "Balance", + "properties": "Properties" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "ClassId": "u32", + "ClassIdOf": "ClassId", + "ClassInfoOf": { + "metadata": "CID", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, "CodeInfo": { "codeSize": "u32", "refCount": "u32" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "CollateralAuctionItem": { + "refundRecipient": "AccountId", + "currencyId": "CurrencyId", + "initialAmount": "Compact", + "amount": "Compact", + "target": "Compact", + "startTime": "BlockNumber" }, - "EvmCoreErrorExitReason": { + "CurrencyId": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "Token": "TokenSymbol", + "DEXShare": "(TokenSymbol, TokenSymbol)", + "ERC20": "EvmAddress" } }, - "EvmCoreErrorExitSucceed": { + "CurrencyIdOf": "CurrencyId", + "DataProviderId": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "Aggregated", + "Eave", + "Band" ] }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" + "DebitAuctionItem": { + "initialAmount": "Compact", + "amount": "Compact", + "fix": "Compact", + "startTime": "BlockNumber" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EvmCoreErrorExitRevert": { - "_enum": [ - "Reverted" - ] + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "EvmCoreErrorExitFatal": { + "DestAddress": "Vec", + "DispatchId": "u32", + "DispatchTime": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { + "ElpUnlockChunk": { "value": "Compact", "era": "Compact" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "EvmAccountInfo": { + "nonce": "Index", + "contractInfo": "Option", + "developerDeposit": "Option" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "EvmAddress": "H160", + "EvmContractInfo": { + "codeHash": "H256", + "maintainer": "H160", + "deployed": "bool" }, - "Guarantee": { - "total": "Balance", + "ExchangeRate": "FixedU128", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" + }, + "Keys": "SessionKeys2", + "Ledger": { "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "unbondingToFree": "Balance", + "freePool": "Balance", + "toUnbondNextEra": "(Balance, Balance)" }, - "PoolId": { + "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": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "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" } }, - "PoolIdV0": { + "Params": { + "targetMaxFreeUnbondedRatio": "Ratio", + "targetMinFreeUnbondedRatio": "Ratio", + "targetUnbondingToFreeRatio": "Ratio", + "unbondingToFreeAdjustment": "Ratio", + "baseFeeRate": "Rate" + }, + "PolkadotAccountId": "AccountId", + "PolkadotAccountIdOf": "PolkadotAccountId", + "PoolId": { "_enum": { - "LoansIncentive": "CurrencyId", + "Loans": "CurrencyId", "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Elp": "Null" } }, + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, "Position": { "collateral": "Balance", "debit": "Balance" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, + "Price": "FixedU128", "Properties": { "_set": { "_bitLength": 8, "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "Burnable": 2 } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" - }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "PublicKey": "[u8; 20]", + "Rate": "FixedU128", + "Ratio": "FixedU128", + "RedeemStrategy": { + "_enum": { + "Immediately": "Null", + "Target": "EraIndex", + "WaitForUnbonding": "Null" + } }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "RelaychainAccountId": "AccountId", + "RiskManagementParams": { + "maximumTotalDebitValue": "Balance", + "stabilityFee": "Option", + "liquidationRatio": "Option", + "liquidationPenalty": "Option", + "requiredCollateralRatio": "Option" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", + "RpcDataProviderId": "Text", + "ScheduleTaskIndex": "u32", + "Share": "u128", + "StorageKeyBytes": "Vec", + "StorageValue": "Vec", + "StorageValueBytes": "Vec", "SubAccountStatus": { "bonded": "Balance", "available": "Balance", "unbonding": "Vec<(EraIndex,Balance)>", "mockRewardRate": "Rate" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "SurplusAuctionItem": { + "amount": "Compact", + "startTime": "BlockNumber" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "TimestampedValueOf": "TimestampedValue", + "TokenBalanceOf": "Balance", + "TokenData": { + "deposit": "Balance" }, - "ChangeRate": { + "TokenId": "u64", + "TokenIdOf": "TokenId", + "TokenInfo": { + "name": "Text", + "symbol": "Text", + "decimals": "u8", + "owner": "AccountId" + }, + "TokenInfoOf": { + "metadata": "CID", + "owner": "AccountId", + "data": "TokenData" + }, + "TokenSymbol": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "EAVE": 0, + "EUSD": 1, + "DOT": 2, + "LDOT": 3, + "XBTC": 4, + "RENBTC": 5, + "INTERBTC": 6, + "PLM": 7, + "PHA": 8, + "HDT": 9, + "ICE": 128, + "IUSD": 129, + "KSM": 130, + "LKSM": 131, + "SDN": 135, + "KILT": 138 } }, - "ChangeRatio": { + "TradingPair": "(CurrencyId, CurrencyId)", + "TradingPairProvisionParameters": { + "minContribution": "(Balance, Balance)", + "targetProvision": "(Balance, Balance)", + "accumulatedProvision": "(Balance, Balance)", + "notBefore": "BlockNumber" + }, + "TradingPairStatus": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "NotEnabled": "Null", + "Provisioning": "TradingPairProvisionParameters", + "Enabled": "Null" } }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "VestingScheduleOf": "OrmlVestingSchedule", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" + } } - }, + } + ] + }, + "dev-parachain": { + "types": [ { "minmax": [ - 1008, - 1008 + 0, + null ], "types": { - "CallOf": "Call", - "DispatchTime": { + "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": { - "At": "BlockNumber", - "After": "BlockNumber" + "FOREIGN": null, + "LP": "LpProperty" } }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "LpProperty": { + "token_0": "AssetId", + "token_1": "AssetId" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "TokenBalance": "u128" + } + } + ] + }, + "dock-pos-main-runtime": { + "types": [ + { + "minmax": [ + 0, + 23 + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId", + "Keys": "SessionKeys2", + "Did": "[u8;32]", + "Bytes32": { + "value": "[u8;32]" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "Bytes33": { + "value": "[u8;33]" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "Bytes64": { + "value": "[u8;64]" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "Bytes65": { + "value": "[u8;65]" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "PublicKey": { + "_enum": { + "Sr25519": "Bytes32", + "Ed25519": "Bytes32", + "Secp256k1": "Bytes33" + } }, - "DelayedDispatchTime": { + "DidSignature": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Sr25519": "Bytes64", + "Ed25519": "Bytes64", + "Secp256k1": "Bytes65" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "KeyDetail": { + "controller": "Did", + "public_key": "PublicKey" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "KeyUpdate": { + "did": "Did", + "public_key": "PublicKey", + "controller": "Option", + "last_modified_in_block": "BlockNumber" }, - "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", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } - }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] - }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "DidRemoval": { + "did": "Did", + "last_modified_in_block": "BlockNumber" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "RegistryId": "[u8;32]", + "RevokeId": "[u8;32]", + "Registry": { + "policy": "Policy", + "add_only": "bool" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "Revoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "UnRevoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "RemoveRegistry": { + "registry_id": "RegistryId", + "last_modified": "BlockNumber" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "PAuth": "BTreeMap", + "Policy": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "OneOf": "BTreeSet" } }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "BlobId": "[u8;32]", + "Blob": { + "id": "BlobId", + "blob": "Vec", + "author": "Did" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "EpochNo": "u32", + "EpochLen": "u32", + "SlotNo": "u64", + "Balance": "u64", + "EpochDetail": { + "validator_count": "u8", + "starting_slot": "SlotNo", + "expected_ending_slot": "SlotNo", + "ending_slot": "Option", + "emission_for_validators": "Option", + "emission_for_treasury": "Option" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "ValidatorStatsPerEpoch": { + "block_count": "EpochLen", + "locked_reward": "Option", + "unlocked_reward": "Option" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "Payload": { + "proposal": "Vec", + "round_no": "u64" }, - "BalanceWrapper": { - "amount": "Balance" + "Membership": { + "members": "BTreeSet", + "vote_requirement": "u64" }, - "BalanceRequest": { - "amount": "Balance" + "PMAuth": "BTreeMap", + "Bonus": { + "swap_bonuses": "Vec<(Balance, BlockNumber)>", + "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" }, - "TradingPairStatus": { + "Attestation": { + "priority": "Compact", + "iri": "Option>" + }, + "StateChange": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "KeyUpdate": "KeyUpdate", + "DidRemoval": "DidRemoval", + "Revoke": "Revoke", + "UnRevoke": "UnRevoke", + "RemoveRegistry": "RemoveRegistry", + "Blob": "Blob", + "MasterVote": "Payload", + "Attestation": "(Did, Attestation)" } + } + } + }, + { + "minmax": [ + 23 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "PerDispatchClassU32": { + "normal": "u32", + "operational": "u32", + "mandatory": "u32" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "BlockLength": { + "max": "PerDispatchClassU32" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "Keys": "SessionKeys2", + "Did": "[u8;32]", + "Bytes32": { + "value": "[u8;32]" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "Bytes33": { + "value": "[u8;33]" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "Bytes64": { + "value": "[u8;64]" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "Bytes65": { + "value": "[u8;65]" }, - "EvmCoreErrorExitReason": { + "PublicKey": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "Sr25519": "Bytes32", + "Ed25519": "Bytes32", + "Secp256k1": "Bytes33" } }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "EvmCoreErrorExitError": { + "DidSignature": { "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" + "Sr25519": "Bytes64", + "Ed25519": "Bytes64", + "Secp256k1": "Bytes65" } }, - "EvmCoreErrorExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "KeyDetail": { + "controller": "Did", + "public_key": "PublicKey" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "KeyUpdate": { + "did": "Did", + "public_key": "PublicKey", + "controller": "Option", + "last_modified_in_block": "BlockNumber" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "DidRemoval": { + "did": "Did", + "last_modified_in_block": "BlockNumber" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "RegistryId": "[u8;32]", + "RevokeId": "[u8;32]", + "Registry": { + "policy": "Policy", + "add_only": "bool" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "Revoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "UnRevoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "RemoveRegistry": { + "registry_id": "RegistryId", + "last_modified": "BlockNumber" }, - "PoolIdV0": { + "PAuth": "BTreeMap", + "Policy": { "_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 + "OneOf": "BTreeSet" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "BlobId": "[u8;32]", + "Blob": { + "id": "BlobId", + "blob": "Vec", + "author": "Did" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "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" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "ValidatorStatsPerEpoch": { + "block_count": "EpochLen", + "locked_reward": "Option", + "unlocked_reward": "Option" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "Payload": { + "proposal": "Vec", + "round_no": "u64" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "Membership": { + "members": "BTreeSet", + "vote_requirement": "u64" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "PMAuth": "BTreeMap", + "Bonus": { + "swap_bonuses": "Vec<(Balance, BlockNumber)>", + "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "Attestation": { + "priority": "Compact", + "iri": "Option>" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "Account": { + "nonce": "U256", + "balance": "U256" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "Transaction": { + "nonce": "U256", + "action": "String", + "gas_price": "u64", + "gas_limit": "u64", + "value": "U256", + "input": "Vec", + "signature": "Signature" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "Signature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "ChangeRate": { + "ParamType": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "Address": null, + "Int": "u16", + "Uint": "u16" } }, - "ChangeRatio": { + "ContractConfig": { + "address": "H160", + "query_aggregator_call_encoded": "Vec", + "query_price_abi_encoded": "Vec", + "return_val_abi": "Vec" + }, + "StateChange": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "KeyUpdate": "KeyUpdate", + "DidRemoval": "DidRemoval", + "Revoke": "Revoke", + "UnRevoke": "UnRevoke", + "RemoveRegistry": "RemoveRegistry", + "Blob": "Blob", + "MasterVote": "Payload", + "Attestation": "(Did, Attestation)" } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + } + } + } + ], + "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": "BBSPlusPublicKeyStorageKey" + } + ], + "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": "AccumPublicKeyStorageKey" + } + ], + "type": "Option" + }, + "accumulatorWithPublicKeyAndParams": { + "description": "Return Accumulator public key with params", + "params": [ + { + "name": "id", + "type": "AccumulatorId" + } + ], + "type": "Option<(Vec, Option)>" + }, + "didDetails": { + "description": "Get all keys, controllers and service endpoints of the DID", + "params": [ + { + "name": "did", + "type": "Did" + }, + { + "name": "params", + "type": "u8", + "isOptional": true + } + ], + "type": "Option" + }, + "didListDetails": { + "description": "Get all keys, controllers and service endpoints of the DID", + "params": [ + { + "name": "dids", + "type": "Vec" + }, + { + "name": "params", + "type": "u8", + "isOptional": true + } + ], + "type": "Vec>" } }, + "staking_rewards": { + "yearlyEmission": { + "description": "", + "params": [ + { + "name": "total_staked", + "type": "Balance" + }, + { + "name": "total_issuance", + "type": "Balance" + } + ], + "type": "Balance" + }, + "maxYearlyEmission": { + "description": "", + "params": [], + "type": "Balance" + } + } + } + }, + "dock-pos-test-runtime": { + "types": [ { "minmax": [ - 1008, - 1009 + 0, + 23 ], "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" + "Address": "AccountId", + "LookupSource": "AccountId", + "Keys": "SessionKeys2", + "Did": "[u8;32]", + "Bytes32": { + "value": "[u8;32]" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "Bytes33": { + "value": "[u8;33]" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "Bytes64": { + "value": "[u8;64]" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "Bytes65": { + "value": "[u8;65]" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "PublicKey": { + "_enum": { + "Sr25519": "Bytes32", + "Ed25519": "Bytes32", + "Secp256k1": "Bytes33" + } }, - "DelayedDispatchTime": { + "DidSignature": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Sr25519": "Bytes64", + "Ed25519": "Bytes64", + "Secp256k1": "Bytes65" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "KeyDetail": { + "controller": "Did", + "public_key": "PublicKey" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "KeyUpdate": { + "did": "Did", + "public_key": "PublicKey", + "controller": "Option", + "last_modified_in_block": "BlockNumber" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DidRemoval": { + "did": "Did", + "last_modified_in_block": "BlockNumber" }, - "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 - } + "RegistryId": "[u8;32]", + "RevokeId": "[u8;32]", + "Registry": { + "policy": "Policy", + "add_only": "bool" }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "Revoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" }, - "CurrencyId": { + "UnRevoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" + }, + "RemoveRegistry": { + "registry_id": "RegistryId", + "last_modified": "BlockNumber" + }, + "PAuth": "BTreeMap", + "Policy": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "OneOf": "BTreeSet" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] + "BlobId": "[u8;32]", + "Blob": { + "id": "BlobId", + "blob": "Vec", + "author": "Did" }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "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" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "ValidatorStatsPerEpoch": { + "block_count": "EpochLen", + "locked_reward": "Option", + "unlocked_reward": "Option" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "Payload": { + "proposal": "Vec", + "round_no": "u64" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "Membership": { + "members": "BTreeSet", + "vote_requirement": "u64" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "PMAuth": "BTreeMap", + "Bonus": { + "swap_bonuses": "Vec<(Balance, BlockNumber)>", + "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "Attestation": { + "priority": "Compact", + "iri": "Option>" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "StateChange": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "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" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "BlockLength": { + "max": "PerDispatchClassU32" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "Keys": "SessionKeys2", + "Did": "[u8;32]", + "Bytes32": { + "value": "[u8;32]" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "Bytes33": { + "value": "[u8;33]" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "Bytes64": { + "value": "[u8;64]" }, - "BalanceWrapper": { - "amount": "Balance" + "Bytes65": { + "value": "[u8;65]" }, - "BalanceRequest": { - "amount": "Balance" + "PublicKey": { + "_enum": { + "Sr25519": "Bytes32", + "Ed25519": "Bytes32", + "Secp256k1": "Bytes33" + } }, - "TradingPairStatus": { + "DidSignature": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "Sr25519": "Bytes64", + "Ed25519": "Bytes64", + "Secp256k1": "Bytes65" } }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "KeyDetail": { + "controller": "Did", + "public_key": "PublicKey" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "KeyUpdate": { + "did": "Did", + "public_key": "PublicKey", + "controller": "Option", + "last_modified_in_block": "BlockNumber" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "DidRemoval": { + "did": "Did", + "last_modified_in_block": "BlockNumber" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "RegistryId": "[u8;32]", + "RevokeId": "[u8;32]", + "Registry": { + "policy": "Policy", + "add_only": "bool" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "Revoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "UnRevoke": { + "registry_id": "RegistryId", + "revoke_ids": "BTreeSet", + "last_modified": "BlockNumber" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "RemoveRegistry": { + "registry_id": "RegistryId", + "last_modified": "BlockNumber" }, - "EvmCoreErrorExitReason": { + "PAuth": "BTreeMap", + "Policy": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "OneOf": "BTreeSet" } }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "BlobId": "[u8;32]", + "Blob": { + "id": "BlobId", + "blob": "Vec", + "author": "Did" }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "EpochNo": "u32", + "EpochLen": "u32", + "SlotNo": "u64", + "Balance": "u64", + "EpochDetail": { + "validator_count": "u8", + "starting_slot": "SlotNo", + "expected_ending_slot": "SlotNo", + "ending_slot": "Option", + "emission_for_validators": "Option", + "emission_for_treasury": "Option" }, - "EvmCoreErrorExitRevert": { - "_enum": [ - "Reverted" - ] + "ValidatorStatsPerEpoch": { + "block_count": "EpochLen", + "locked_reward": "Option", + "unlocked_reward": "Option" }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "Payload": { + "proposal": "Vec", + "round_no": "u64" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "Membership": { + "members": "BTreeSet", + "vote_requirement": "u64" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "PMAuth": "BTreeMap", + "Bonus": { + "swap_bonuses": "Vec<(Balance, BlockNumber)>", + "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "Attestation": { + "priority": "Compact", + "iri": "Option>" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "Account": { + "nonce": "U256", + "balance": "U256" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "Transaction": { + "nonce": "U256", + "action": "String", + "gas_price": "u64", + "gas_limit": "u64", + "value": "U256", + "input": "Vec", + "signature": "Signature" }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "Signature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "PoolIdV0": { + "ParamType": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Address": null, + "Int": "u16", + "Uint": "u16" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "ContractConfig": { + "address": "H160", + "query_aggregator_call_encoded": "Vec", + "query_price_abi_encoded": "Vec", + "return_val_abi": "Vec" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "StateChange": { + "_enum": { + "KeyUpdate": "KeyUpdate", + "DidRemoval": "DidRemoval", + "Revoke": "Revoke", + "UnRevoke": "UnRevoke", + "RemoveRegistry": "RemoveRegistry", + "Blob": "Blob", + "MasterVote": "Payload", + "Attestation": "(Did, Attestation)" } + } + } + } + ], + "rpc": { + "poa": { + "treasuryAccount": { + "description": "Return account address of treasury. The account address can then be used to query the chain for balance", + "params": [], + "type": "AccountId" + }, + "treasuryBalance": { + "description": "Return free balance of treasury account. In the context of PoA, only free balance makes sense for treasury. But just in case, to check all kinds of balance (locked, reserved, etc), get the account address with above call and query the chain.", + "params": [], + "type": "Balance" + }, + "getTotalEmissionInEpoch": { + "description": "Return total (validators + treasury) emission rewards for given epoch", + "params": [ + "EpochNo" + ], + "type": "Balance" + } + }, + "price_feed": { + "tokenUsdPrice": { + "description": "Gets the price of Dock/USD from pallet's storage", + "params": [], + "type": "Option" + }, + "tokenUsdPriceFromContract": { + "description": "Gets the price of Dock/USD from EVM contract", + "params": [], + "type": "Option" + } + }, + "fiat_filter": { + "getCallFeeDock": { + "description": "Accepts a scale-encoded extrinsic, returns fee in µDOCK as Balance (u64)", + "params": [ + "Bytes" + ], + "type": "Balance" + } + }, + "core_mods": { + "bbsPlusPublicKeyWithParams": { + "description": "Return BBS+ public key with params", + "params": [ + { + "name": "id", + "type": "BBSPlusPublicKeyStorageKey" + } + ], + "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": "AccumPublicKeyStorageKey" + } + ], + "type": "Option" + }, + "accumulatorWithPublicKeyAndParams": { + "description": "Return Accumulator public key with params", + "params": [ + { + "name": "id", + "type": "AccumulatorId" + } + ], + "type": "Option<(Vec, Option)>" + }, + "didDetails": { + "description": "Get all keys, controllers and service endpoints of the DID", + "params": [ + { + "name": "did", + "type": "Did" + }, + { + "name": "params", + "type": "u8", + "isOptional": true + } + ], + "type": "Option" + }, + "didListDetails": { + "description": "Get all keys, controllers and service endpoints of the DID", + "params": [ + { + "name": "dids", + "type": "Vec" + }, + { + "name": "params", + "type": "u8", + "isOptional": true + } + ], + "type": "Vec>" + } + }, + "staking_rewards": { + "yearlyEmission": { + "description": "", + "params": [ + { + "name": "total_staked", + "type": "Balance" + }, + { + "name": "total_issuance", + "type": "Balance" + } + ], + "type": "Balance" + }, + "maxYearlyEmission": { + "description": "", + "params": [], + "type": "Balance" + } + } + } + }, + "dotmog-node": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "MogwaiStruct": { + "id": "Hash", + "dna": "Hash", + "genesis": "BlockNumber", + "price": "Balance", + "gen": "u32", + "rarity": "RarityType" }, - "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" + "MogwaiBios": { + "mogwai_id": "Hash", + "state": "u32", + "metaxy": "Vec<[u8;16]>", + "intrinsic": "Balance", + "level": "u8", + "phases": "Vec", + "adaptations": "Vec" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "GameEvent": { + "id": "Hash", + "begin": "BlockNumber", + "duration": "u16", + "event_type": "GameEventType", + "hashes": "Vec", + "value": "u64" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "GameEventType": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "Default", + "Hatch" ] }, - "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": { + "RarityType": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "Minor", + "Normal", + "Rare", + "Epic", + "Legendary" ] }, - "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" + "MogwaicoinAddress": { + "address": "Vec", + "account": "AccountId", + "signature": "Vec", + "state": "ClaimState", + "balance": "Balance" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "ClaimState": { + "_enum": [ + "None", + "Registred", + "Verified", + "Secured", + "Processed", + "Holded", + "Failed", + "Cancelled" + ] + } } - }, + } + ] + }, + "edgeware": { + "alias": { + "voting": { + "Tally": "VotingTally" + } + }, + "types": [ { "minmax": [ - 1010, - 1013 + 0, + 31 ], "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, - "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" + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { + "_enum": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] }, - "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 - } + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "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" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { "_enum": [ - "KAR", - "ACA" + "PreVoting", + "Commit", + "Voting", + "Completed" ] }, - "AuthoritysOriginId": { + "VoteType": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "Binary", + "MultiOption", + "RankedChoice" ] }, - "AcalaDataProviderId": { + "TallyType": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "OnePerson", + "OneCoin" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" - }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "voting::VoteType": "VoteType", + "voting::TallyType": "TallyType", + "voting::Tally": "VotingTally", + "CompactAssignments": "CompactAssignmentsTo257", + "ContractExecResult": "ContractExecResultTo255", + "RewardDestination": "RewardDestinationTo257", + "RefCount": "u32", + "AccountInfo": "AccountInfoWithRefCount", + "Address": "IndicesLookupSource", + "LookupSource": "IndicesLookupSource" + } + }, + { + "minmax": [ + 39, + 41 + ], + "types": { + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, - "LiquidationStrategy": { + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", + "Balance2": "u128", + "VoteStage": { "_enum": [ - "Auction", - "Exchange" + "PreVoting", + "Commit", + "Voting", + "Completed" ] }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "BalanceWrapper": { - "amount": "Balance" + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "BalanceRequest": { - "amount": "Balance" + "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" + ] }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "staus": "ProposalStatus", + "expiry": "BlockNumber" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "VoteStage": { + "_enum": [ + "PreVoting", + "Commit", + "Voting", + "Completed" + ] }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "VoteType": { + "_enum": [ + "Binary", + "MultiOption", + "RankedChoice" + ] }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "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" + ] }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" - } + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "staus": "ProposalStatus", + "expiry": "BlockNumber" }, - "EvmCoreErrorExitSucceed": { + "VoteStage": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "PreVoting", + "Commit", + "Voting", + "Completed" ] }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } - }, - "EvmCoreErrorExitRevert": { + "VoteType": { "_enum": [ - "Reverted" + "Binary", + "MultiOption", + "RankedChoice" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "TallyType": { + "_enum": [ + "OnePerson", + "OneCoin" + ] }, - "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" - } + "VoteOutcome": "[u8; 32]", + "VotingTally": "Option>", + "VoteData": { + "initiator": "AccountId", + "stage": "VoteStage", + "vote_type": "VoteType", + "tally_type": "TallyType", + "is_commit_reveal": "bool" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "Commitments": "Vec<(AccountId, VoteOutcome)>", + "Reveals": "Vec<(AccountId, Vec)>", + "VoteRecord": { + "id": "u64", + "commitments": "Commitments", + "reveals": "Reveals", + "data": "VoteData", + "outcomes": "Vec" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "ProposalRecord": { + "index": "u32", + "author": "AccountId", + "stage": "VoteStage", + "transition_time": "u32", + "title": "Text", + "contents": "Text", + "vote_id": "u64" }, + "ProposalContents": "Bytes", + "ProposalTitle": "Bytes", "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" - }, "Properties": { "_set": { - "_bitLength": 8, "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "Burnable": 2 } }, "ClassData": { "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "properties": "Properties" }, "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "deposit": "Balance" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", + "ClassInfo": { + "metadata": "Vec", + "total_issuance": "TokenId", "owner": "AccountId", "data": "ClassData" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "ClassInfoOf": "ClassInfo", + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "TokenData" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "TokenInfoOf": "TokenInfo", + "TokenId": "u64", + "ClassIdOf": "ClassId", + "TokenIdOf": "TokenId", + "Amount": "i128", + "AmountOf": "Amount", + "Approval": { + "amount": "Balance", + "deposit": "Balance" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "ApprovalKey": { + "owner": "AccountId", + "delegate": "AccountId" + }, + "Commitment": "ScalarData", + "CurrencyId": "u64", + "CurrencyIdOf": "CurrencyId", + "DustHandlerType": { + "_enum": { + "Burn": "Null", + "Transfer": "AccountId" + } + }, + "HashFunction": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "PoseidonDefault", + "PoseidonExp3", + "PoseidonExp5", + "PoseidonExp17", + "MiMC", + "Blake2", + "Sha256" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "Manager": { + "accountId": "AccountId", + "required": "bool" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "MerkleTree": { + "leaf_count": "u32", + "max_leaves": "u32", + "depth": "u8", + "root_hash": "ScalarData", + "edge_nodes": "Vec", + "hasher": "HashFunction", + "should_store_leaves": "bool" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "MixerInfo": { + "minimum_deposit_length_for_reward": "BlockNumber", + "fixed_deposit_size": "Balance", + "currency_id": "CurrencyIdOf" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "Nullifier": "ScalarData", + "ScalarData": "[u8; 32]", + "TokenDetails": { + "owner": "AccountId", + "issuer": "AccountId", + "admin": "AccountId", + "freezer": "AccountId", + "supply": "Balance", + "deposit": "Balance", + "min_balance": "Balance", + "approvals": "u32", + "is_frozen": "bool", + "dust_type": "DustHandlerType" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "TokenMetadata": { + "deposit": "Balance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "is_frozen": "bool" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "TreeId": "u32", + "WithdrawProof": { + "mixer_id": "TreeId", + "cached_block": "BlockNumber", + "cached_root": "ScalarData", + "comms": "Vec", + "nullifier_hash": "ScalarData", + "proof_bytes": "Vec", + "leaf_index_commitments": "Vec", + "proof_commitments": "Vec", + "recipient": "Option", + "relayer": "Option" }, - "BalanceInfo": { - "amount": "Balance" + "ETHBlock": { + "inner": "Block" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "ETHReceipts": { + "inner": "Vec" + }, + "ETHTxStatuses": { + "inner": "Vec" + }, + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "LookupSource": "MultiAddress" } - }, + } + ] + }, + "encointer-node-notee": { + "types": [ { "minmax": [ - 1014, - 1018 + 0, + null ], "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "CeremonyPhaseType": { + "_enum": [ + "Registering", + "Assigning", + "Attesting" + ] }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "CeremonyIndexType": "u32", + "ParticipantIndexType": "u64", + "MeetupIndexType": "u64", + "AttestationIndexType": "u64", + "CurrencyIdentifier": "Hash", + "BalanceType": "i128", + "BalanceEntry": { + "principal": "i128", + "last_update": "BlockNumber" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "CurrencyCeremony": { + "cid": "CurrencyIdentifier", + "cindex": "CeremonyIndexType" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "Location": { + "lat": "i64", + "lon": "i64" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "Reputation": { + "_enum": [ + "Unverified", + "UnverifiedReputable", + "VerifiedUnlinked", + "VerifiedLinked" + ] }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "CurrencyPropertiesType": { + "name_utf8": "Text", + "demurrage_per_block": "i128" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "ClaimOfAttendance": { + "claimant_public": "AccountId", + "ceremony_index": "CeremonyIndexType", + "currency_identifier": "CurrencyIdentifier", + "meetup_index": "MeetupIndexType", + "location": "Location", + "timestamp": "Moment", + "number_of_participants_confirmed": "u32" }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "Attestation": { + "claim": "ClaimOfAttendance", + "signature": "Signature", + "public": "AccountId" }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "ProofOfAttendance": { + "prover_public": "AccountId", + "ceremony_index": "CeremonyIndexType", + "currency_identifier": "CurrencyIdentifier", + "attendee_public": "AccountId", + "attendee_signature": "Signature" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "ShopIdentifier": "Text", + "ArticleIdentifier": "Text" + } + } + ] + }, + "encointer-node-teeproxy": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "CeremonyPhaseType": { + "_enum": [ + "Registering", + "Assigning", + "Attesting" + ] }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "CeremonyIndexType": "u32", + "CurrencyIdentifier": "Hash", + "CurrencyCeremony": { + "cid": "CurrencyIdentifier", + "cindex": "CeremonyIndexType" }, - "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 - } + "Location": { + "lat": "i64", + "lon": "i64" }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "CurrencyPropertiesType": { + "name_utf8": "Text", + "demurrage_per_block": "i128" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "ShardIdentifier": "Hash", + "Request": { + "shard": "ShardIdentifier", + "cyphertext": "Vec" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "Enclave": { + "pubkey": "AccountId", + "mrenclave": "Hash", + "timestamp": "u64", + "url": "Text" + } + } + } + ] + }, + "encointer-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId", + "CeremonyPhaseType": { "_enum": [ - "KAR", - "ACA" + "Registering", + "Assigning", + "Attesting" ] }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] + "CeremonyIndexType": "u32", + "ParticipantIndexType": "u64", + "MeetupIndexType": "u64", + "AttestationIndexType": "u64", + "CommunityIdentifier": "Hash", + "BalanceType": "i128", + "BalanceEntry": { + "principal": "i128", + "last_update": "BlockNumber" }, - "AcalaDataProviderId": { + "CommunityCeremony": { + "cid": "CommunityIdentifier", + "cindex": "CeremonyIndexType" + }, + "Location": { + "lat": "i64", + "lon": "i64" + }, + "Reputation": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "Unverified", + "UnverifiedReputable", + "VerifiedUnlinked", + "VerifiedLinked" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "CommunityPropertiesType": { + "name_utf8": "Text", + "demurrage_per_block": "i128" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "ClaimOfAttendance": { + "claimant_public": "AccountId", + "ceremony_index": "CeremonyIndexType", + "community_identifier": "CommunityIdentifier", + "meetup_index": "MeetupIndexType", + "location": "Location", + "timestamp": "Moment", + "number_of_participants_confirmed": "u32" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "Attestation": { + "claim": "ClaimOfAttendance", + "signature": "Signature", + "public": "AccountId" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "ProofOfAttendance": { + "prover_public": "AccountId", + "ceremony_index": "CeremonyIndexType", + "community_identifier": "CommunityIdentifier", + "attendee_public": "AccountId", + "attendee_signature": "Signature" }, - "LiquidationStrategy": { + "ShopIdentifier": "Text", + "ArticleIdentifier": "Text", + "PersonhoodUniquenessRating": "Vec", + "SybilResponse": { "_enum": [ - "Auction", - "Exchange" + "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" }, - "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" + "CategoryId": "u32", + "CategoryIdOf": "CategoryId", + "CategoryData": { + "metadata": "NFTMetadata", + "nftCount": "Compact" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "CurrencyId": "u32", + "CurrencyIdOf": "CurrencyId", + "Amount": "i128", + "AmountOf": "Amount", + "ClassId": "u32", + "ClassIdOf": "ClassId", + "ClassInfoOf": { + "metadata": "NFTMetadata", + "totalIssuance": "TokenId", + "owner": "AccountId", + "data": "ClassData" }, - "Erc20Info": { - "address": "EvmAddress", + "ClassData": { + "deposit": "Compact", + "properties": "Properties", "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" + "description": "Vec", + "createBlock": "Compact" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "TokenId": "u64", + "TokenIdOf": "TokenId", + "TokenInfoOf": { + "metadata": "NFTMetadata", + "owner": "AccountId", + "data": "TokenData" }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" - } + "TokenData": { + "deposit": "Compact", + "createBlock": "Compact" + } + } + } + ] + }, + "galital": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithTripleRefCount", + "Account": { + "nonce": "U256", + "balance": "U256" }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "Transaction": { + "nonce": "U256", + "action": "String", + "gas_price": "u64", + "gas_limit": "u64", + "value": "U256", + "input": "Vec", + "signature": "Signature" }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "ChainId": "u8", + "ResourceId": "[u8; 32]", + "DepositNonce": "u64", + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "u8", + "expiry": "U256" }, - "EvmCoreErrorExitRevert": { + "ClassId": "u64", + "TokenId": "u64", + "ClassData": "Vec", + "TokenData": "Vec", + "ReportReason": { "_enum": [ - "Reverted" + "None", + "Illigal", + "Plagiarism", + "Duplicate", + "Reported" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "ClassInfoOf": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "class_data": "ClassData" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "ExtendedInfo": { + "display_flag": "bool", + "report": "ReportReason", + "frozen": "bool" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "TokenInfoOf": { + "metadata": "Vec", + "owner": "AccountId", + "class_data": "ClassData" + } + } + } + ] + }, + "galital-collator": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "U256" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "Transaction": { + "nonce": "U256", + "action": "String", + "gas_price": "u64", + "gas_limit": "u64", + "value": "U256", + "input": "Vec", + "signature": "Signature" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "Signature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" - } + "ClassId": "u64", + "TokenId": "u64", + "ClassData": "Vec", + "TokenData": "Vec", + "ReportReason": { + "_enum": [ + "None", + "Illigal", + "Plagiarism", + "Duplicate", + "Reported" + ] }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "ClassInfoOf": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "class_data": "ClassData" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "ExtendedInfo": { + "display_flag": "bool", + "report": "ReportReason", + "frozen": "bool" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", "TokenInfoOf": { - "metadata": "CID", + "metadata": "Vec", "owner": "AccountId", - "data": "TokenData" - }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } - }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" - }, + "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", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", + "TokenInfoOf": "TokenInfo", + "ClassInfo": { + "metadata": "Vec", + "total_issuance": "TokenId", "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "data": "NftClassData" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "TokenInfo": { + "metadata": "Vec", + "owner": "AccountId", + "data": "NftAssetData" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "NftSeriesData": { + "name": "Vec", + "owner": "AccountId", + "properties": "Vec" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "NftClassData": { + "deposit": "Balance", + "properties": "Vec", + "token_type": "TokenType", + "collection_type": "CollectionType", + "total_supply": "u64", + "initial_supply": "u64" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "NftAssetData": { + "deposit": "Balance", + "name": "Vec", + "description": "Vec", + "properties": "Vec" }, - "StakingPoolPhase": { + "TokenType": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "Transferrable", + "BoundToAddress" ] }, - "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" + "CollectionType": { + "_enum": [ + "Collectable", + "Wearable", + "Executable" + ] }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV1", - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" + "ClassProperties": { + "Transferrable": "bool", + "Burnable": "bool" + } } - }, + } + ] + }, + "hack-hydra-dx": { + "types": [ { "minmax": [ - 1019, + 0, null ], "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", + "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", + "type": "Balance" + }, + { + "name": "token_in", + "type": "CurrencyId" + }, + { + "name": "token_out", + "type": "CurrencyId" + }, + { + "name": "reversed", + "type": "bool" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Vec, FixedU128)", + "isSubscription": false, + "jsonrpc": "router_getBestRoute", + "method": "getBestRoute", + "section": "router" + } + } + }, + "instances": { + "council": [ + "generalCouncil" + ] + }, + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", "origin": "PalletsOrigin" }, "AuthorityOrigin": "DelayedOrigin", @@ -32176,10 +33961,17 @@ export const typesBundle = { "perPeriod": "Compact" }, "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", + "OrmlCurrencyId": "u8", "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "isActive": "bool", + "totalDeposited": "Balance", + "unlockHeight": "BlockNumber", + "coolDownDuration": "BlockNumber", + "rewardDuration": "BlockNumber", + "periodFinish": "BlockNumber", + "lastUpdateBlock": "BlockNumber", + "rewardRate": "Balance", + "rewardPerShareStored": "Balance" }, "CompactBalance": "Compact", "PoolInfoV0": { @@ -32189,2134 +33981,2762 @@ export const typesBundle = { }, "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 - } + "Deposits": { + "voucherBalance": "Balance", + "isCollateral": "bool" }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "BorrowSnapshot": { + "principal": "Balance", + "borrowIndex": "u128" }, - "CurrencyId": { + "EarnedSnapshot": { + "totalEarnedPrior": "Balance", + "exchangeRatePrior": "u128" + }, + "JumpModel": { + "baseRate": "Rate", + "jumpRate": "Rate", + "fullRate": "Rate", + "jumpUtilization": "Ratio" + }, + "CurveModel": { + "baseRate": "Rate" + }, + "InterestRateModel": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "JumpModel": "JumpModel", + "CurveModel": "CurveModel" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] + "Market": { + "collateralFactor": "Ratio", + "liquidationThreshold": "Ratio", + "reserveFactor": "Ratio", + "closeFactor": "Ratio", + "liquidateIncentive": "Rate", + "liquidateIncentiveReservedFactor": "Ratio", + "rateModel": "InterestRateModel", + "state": "MarketState", + "supplyCap": "Balance", + "borrowCap": "Balance", + "ptokenId": "CurrencyId" }, - "AuthoritysOriginId": { + "MarketState": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "Active", + "Pending", + "Supervision" ] }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "RewardMarketState": { + "index": "Balance", + "block": "BlockNumber" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "Liquidity": "FixedU128", + "Shortfall": "FixedU128", + "ReservableAmount": { + "total": "Balance", + "reserved": "Balance" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "MatchingLedger": { + "totalStakeAmount": "ReservableAmount", + "totalUnstakeAmount": "ReservableAmount" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "UnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "StakingLedger": { + "stash": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec", + "claimedRewards": "Vec" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "DerivativeIndex": "u16", + "Pool": { + "baseAmount": "Balance", + "quoteAmount": "Balance", + "baseAmountLast": "Balance", + "quoteAmountLast": "Balance", + "lpTokenId": "AssetId", + "blockTimestampLast": "BlockNumber", + "price0CumulativeLast": "Balance", + "price1CumulativeLast": "Balance" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "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" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "Route": "Vec<(AssetId, AssetId)>", + "VaultPhase": { + "_enum": [ + "Pending", + "Contributing", + "Closed", + "Failed", + "Succeeded", + "Expired" + ] }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "ContributionStrategy": { + "_enum": [ + "XCM", + "XCMPROXY" + ] }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "ChildStorageKind": { + "_enum": [ + "Pending", + "Flying", + "Contributed" + ] }, - "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" - }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "TrieIndex": "u32", + "LeasePeriod": "BlockNumber", + "Vault": { + "ctoken": "AssetId", + "phase": "VaultPhase", + "contributed": "Balance", + "pending": "Balance", + "flying": "Balance", + "contributionStrategy": "ContributionStrategy", + "cap": "Balance", + "endBlock": "BlockNumber", + "trieIndex": "TrieIndex", + "leaseStart": "LeasePeriod", + "leaseEnd": "LeasePeriod" }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" - } + "XcmWeightFeeMisc": { + "weight": "Weight", + "fee": "Balance" }, - "EvmCoreErrorExitSucceed": { + "XcmCall": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "Bond", + "BondExtra", + "Unbond", + "Rebond", + "WithdrawUnbonded", + "Nominate", + "Contribute", + "Withdraw", + "AddMemo" ] }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "BridgeToken": { + "id": "CurrencyId", + "external": "bool", + "fee": "Balance" }, - "EvmCoreErrorExitRevert": { + "ProposalStatus": { "_enum": [ - "Reverted" + "Initiated", + "Approved", + "Rejected" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "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" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "Fee": { + "numerator": "u32", + "denominator": "u32" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "BalanceInfo": { + "amount": "Balance", + "assetId": "AssetId" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "CurrencyId": "AssetId", + "CurrencyIdOf": "AssetId", + "Intention": { + "who": "AccountId", + "asset_sell": "AssetId", + "asset_buy": "AssetId", + "amount": "Balance", + "discount": "bool", + "sell_or_buy": "IntentionType" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "IntentionId": "u128", + "IntentionType": { + "_enum": [ + "SELL", + "BUY" + ] }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "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" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" - } + "LookupSource": "MultiAddress", + "Request": { + "cyphertext": "Vec", + "shard": "ShardIdentifier" }, - "PoolIdV0": { + "ShardIdentifier": "Hash" + } + } + ] + }, + "interbtc-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "BalanceWrapper": { + "amount": "String" + }, + "CurrencyId": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId" } }, - "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 + "InterbtcPrimitivesCurrencyId": { + "_enum": { + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId" } }, - "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)" + "InterbtcForeignAssetId": "u32", + "ForeignAssetId": "u32", + "FundAccountJsonRpcRequest": { + "account_id": "AccountId", + "currency_id": "InterbtcPrimitivesCurrencyId" }, - "ChangeRate": { + "H256Le": "H256", + "SignedFixedPoint": "FixedU128", + "TokenSymbol": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 } }, - "ChangeRatio": { + "InterbtcPrimitivesTokenSymbol": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 } }, - "BalanceInfo": { - "amount": "Balance" + "UnsignedFixedPoint": "FixedU128", + "VaultCurrencyPair": { + "collateral": "CurrencyId", + "wrapped": "CurrencyId" }, - "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" + "VaultId": { + "account_id": "AccountId", + "currencies": "VaultCurrencyPair" + } } } ], - "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.", + "btcRelay": { + "verifyBlockHeaderInclusion": { + "description": "Verify that the block with the given hash is included", "params": [ { - "name": "providerId", - "type": "RpcDataProviderId" - }, + "name": "block_hash", + "type": "H256Le" + } + ], + "type": "void" + } + }, + "escrow": { + "balanceAt": { + "description": "Get a given user's escrowed balance", + "params": [ { - "name": "key", - "type": "OracleKey" + "name": "account_id", + "type": "AccountId" }, { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "height", + "type": "Option" } ], - "type": "Option", - "isSubscription": false, - "jsonrpc": "oracle_getValue", - "method": "getValue", - "section": "oracle" + "type": "BalanceWrapper" }, - "getAllValues": { - "description": "Retrieves all oracle values.", + "totalSupply": { + "description": "Get the total voting supply in the system", "params": [ { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "height", + "type": "Option" } ], - "type": "Vec<(OracleKey, Option)>", - "isSubscription": false, - "jsonrpc": "oracle_getAllValues", - "method": "getAllValues", - "section": "oracle" + "type": "BalanceWrapper" } }, - "tokens": { - "queryExistentialDeposit": { - "description": "Query Existential Deposit for a given currency.", + "issue": { + "getIssueRequests": { + "description": "Get all issue request IDs for a particular account", "params": [ { - "name": "currencyId", - "type": "CurrencyId" - }, + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + }, + "getVaultIssueRequests": { + "description": "Get all issue request IDs for a particular vault", + "params": [ { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "vault_id", + "type": "AccountId" } ], - "type": "NumberOrHex", - "isSubscription": false, - "jsonrpc": "tokens_queryExistentialDeposit", - "method": "queryExistentialDeposit", - "section": "tokens" + "type": "Vec" } }, - "dex": { - "getSupplyAmount": { - "description": "Get supply amount", + "oracle": { + "collateralToWrapped": { + "description": "Collateral to Wrapped exchange rate", "params": [ { - "name": "supplyCurrencyId", - "type": "CurrencyId" + "name": "amount", + "type": "BalanceWrapper" }, { - "name": "targetCurrencyId", + "name": "currency_id", "type": "CurrencyId" - }, - { - "name": "targetCurrencyAmount", - "type": "BalanceRequest" } ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "dex_getSupplyAmount", - "method": "getSupplyAmount", - "section": "dex" + "type": "BalanceWrapper" }, - "getTargetAmount": { - "description": "Get target amount", + "wrappedToCollateral": { + "description": "Wrapped to Collateral exchange rate", "params": [ { - "name": "supplyCurrencyId", - "type": "CurrencyId" + "name": "amount", + "type": "BalanceWrapper" }, { - "name": "targetCurrencyId", + "name": "currency_id", "type": "CurrencyId" - }, - { - "name": "supplyCurrencyAmount", - "type": "BalanceRequest" } ], - "type": "BalanceWrapper", - "isSubscription": false, - "jsonrpc": "dex_getTargetAmount", - "method": "getTargetAmount", - "section": "dex" + "type": "BalanceWrapper" } }, - "evm": { - "call": { - "description": "eth call", + "redeem": { + "getRedeemRequests": { + "description": "Get all redeem request IDs for a particular account", "params": [ { - "name": "data", - "type": "CallRequest" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "account_id", + "type": "AccountId" } ], - "type": "Raw", - "isSubscription": false, - "jsonrpc": "evm_call", - "method": "call", - "section": "evm" + "type": "Vec" }, - "estimateResources": { - "description": "eth estimateResources", + "getVaultRedeemRequests": { + "description": "Get all redeem request IDs for a particular vault", "params": [ { - "name": "from", - "type": "H160" + "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" + } + }, + "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" + } + }, + "reward": { + "computeEscrowReward": { + "description": "Get a given user's rewards due", + "params": [ + { + "name": "account_id", + "type": "AccountId" }, { - "name": "unsignedExtrinsic", - "type": "Bytes" + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + }, + "computeVaultReward": { + "description": "Get a given vault's rewards due", + "params": [ + { + "name": "vault_id", + "type": "VaultId" }, { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "currency_id", + "type": "CurrencyId" } ], - "type": "EstimateResourcesResponse", - "isSubscription": false, - "jsonrpc": "evm_estimateResources", - "method": "estimateResources", - "section": "evm" + "type": "BalanceWrapper" } }, - "stakingPool": { - "getAvailableUnbonded": { - "description": "Get Available Unbonded", + "vaultRegistry": { + "getCollateralizationFromVault": { + "description": "Returns the collateralization of a specific vault", "params": [ { - "name": "account", + "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": "BalanceInfo", - "isSubscription": false, - "jsonrpc": "stakingPool_getAvailableUnbonded", - "method": "getAvailableUnbonded", - "section": "stakingPool" + "type": "Vec" }, - "getLiquidStakingExchangeRate": { - "description": "get liquid staking exchange rate", + "getVaultsWithIssuableTokens": { + "description": "Get all vaults with non-zero issuable tokens, ordered in descending order of this amount", "params": [], - "type": "ExchangeRate", - "isSubscription": false, - "jsonrpc": "stakingPool_getLiquidStakingExchangeRate", - "method": "getLiquidStakingExchangeRate", - "section": "stakingPool" + "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": { - "council": [ - "generalCouncil" + "balances": [ + "ksm", + "kbtc", + "kint", + "dot", + "ibtc", + "intr" ] - }, + } + }, + "interbtc-standalone": { "types": [ { "minmax": [ - 600, - 699 + 0, + null ], "types": { - "CallOf": "Call", - "DispatchTime": { + "BalanceWrapper": { + "amount": "String" + }, + "CurrencyId": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId" } }, - "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": { + "InterbtcPrimitivesCurrencyId": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId" } }, - "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" + "InterbtcForeignAssetId": "u32", + "ForeignAssetId": "u32", + "FundAccountJsonRpcRequest": { + "account_id": "AccountId", + "currency_id": "InterbtcPrimitivesCurrencyId" }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", + "H256Le": "H256", + "SignedFixedPoint": "FixedU128", "TokenSymbol": { - "_enum": [ - "ACA", - "AUSD", - "DOT", - "XBTC", - "LDOT", - "RENBTC" - ] - }, - "DexShare": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 } }, - "CurrencyId": { + "InterbtcPrimitivesTokenSymbol": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 } }, - "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" - } + "UnsignedFixedPoint": "FixedU128", + "VaultCurrencyPair": { + "collateral": "CurrencyId", + "wrapped": "CurrencyId" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + "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" } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + ], + "type": "void" + } + }, + "escrow": { + "balanceAt": { + "description": "Get a given user's escrowed balance", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "height", + "type": "Option" } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + ], + "type": "BalanceWrapper" + }, + "totalSupply": { + "description": "Get the total voting supply in the system", + "params": [ + { + "name": "height", + "type": "Option" } - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + ], + "type": "BalanceWrapper" + } + }, + "issue": { + "getIssueRequests": { + "description": "Get all issue request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" } - }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" + ], + "type": "Vec" + }, + "getVaultIssueRequests": { + "description": "Get all issue request IDs for a particular vault", + "params": [ + { + "name": "vault_id", + "type": "AccountId" } - }, - "EvmCoreErrorExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" + ], + "type": "Vec" + } + }, + "oracle": { + "collateralToWrapped": { + "description": "Collateral to Wrapped exchange rate", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" + }, + { + "name": "currency_id", + "type": "CurrencyId" } - }, - "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" + ], + "type": "BalanceWrapper" + }, + "wrappedToCollateral": { + "description": "Wrapped to Collateral exchange rate", + "params": [ + { + "name": "amount", + "type": "BalanceWrapper" + }, + { + "name": "currency_id", + "type": "CurrencyId" } - }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + ], + "type": "BalanceWrapper" + } + }, + "redeem": { + "getRedeemRequests": { + "description": "Get all redeem request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "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 + ], + "type": "Vec" + }, + "getVaultRedeemRequests": { + "description": "Get all redeem request IDs for a particular vault", + "params": [ + { + "name": "vault_id", + "type": "AccountId" } - }, - "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" + ], + "type": "Vec" + } + }, + "refund": { + "getRefundRequests": { + "description": "Get all refund request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" } - }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + ], + "type": "Vec" + }, + "getRefundRequestsByIssueId": { + "description": "Get all refund request IDs for a particular issue ID", + "params": [ + { + "name": "issue_id", + "type": "H256" } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "Address": "LookupSource", - "LookupSource": "IndicesLookupSource" + ], + "type": "H256" + }, + "getVaultRefundRequests": { + "description": "Get all refund request IDs for a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + } + }, + "replace": { + "getNewVaultReplaceRequests": { + "description": "Get all replace request IDs to a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" + }, + "getOldVaultReplaceRequests": { + "description": "Get all replace request IDs from a particular vault", + "params": [ + { + "name": "account_id", + "type": "AccountId" + } + ], + "type": "Vec" } }, + "reward": { + "computeEscrowReward": { + "description": "Get a given user's rewards due", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + }, + "computeVaultReward": { + "description": "Get a given vault's rewards due", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + } + }, + "vaultRegistry": { + "getCollateralizationFromVault": { + "description": "Returns the collateralization of a specific vault", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" + }, + "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": [ - 700, - 719 + 0, + null ], "types": { - "CallOf": "Call", - "DispatchTime": { + "BalanceWrapper": { + "amount": "String" + }, + "CurrencyId": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId" } }, - "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": { + "InterbtcPrimitivesCurrencyId": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId" } }, - "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" + "InterbtcForeignAssetId": "u32", + "ForeignAssetId": "u32", + "FundAccountJsonRpcRequest": { + "account_id": "AccountId", + "currency_id": "InterbtcPrimitivesCurrencyId" }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", + "H256Le": "H256", + "SignedFixedPoint": "FixedU128", "TokenSymbol": { - "_enum": [ - "ACA", - "AUSD", - "DOT", - "XBTC", - "LDOT", - "RENBTC" - ] - }, - "DexShare": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 } }, - "CurrencyId": { + "InterbtcPrimitivesTokenSymbol": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 } }, - "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" - ] + "UnsignedFixedPoint": "FixedU128", + "VaultCurrencyPair": { + "collateral": "CurrencyId", + "wrapped": "CurrencyId" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "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" } - }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + ], + "type": "void" + } + }, + "escrow": { + "balanceAt": { + "description": "Get a given user's escrowed balance", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "height", + "type": "Option" } - }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + ], + "type": "BalanceWrapper" + }, + "totalSupply": { + "description": "Get the total voting supply in the system", + "params": [ + { + "name": "height", + "type": "Option" } - }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" - }, - "BalanceWrapper": { - "amount": "Balance" - }, - "BalanceRequest": { - "amount": "Balance" - }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + ], + "type": "BalanceWrapper" + } + }, + "issue": { + "getIssueRequests": { + "description": "Get all issue request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" } - }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + ], + "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" + } + }, + "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" + } + }, + "reward": { + "computeEscrowReward": { + "description": "Get a given user's rewards due", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + }, + "computeVaultReward": { + "description": "Get a given vault's rewards due", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + } + }, + "vaultRegistry": { + "getCollateralizationFromVault": { + "description": "Returns the collateralization of a specific vault", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" + }, + "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>" }, - "EvmCoreErrorExitSucceed": { + "OrderStatus": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "Created", + "Confirmed", + "Expired", + "Deleted" ] }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "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" }, - "EvmCoreErrorExitRevert": { + "AddressStatus": { "_enum": [ - "Reverted" + "active", + "inActive" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "FetchFailedOf": { + "block_num": "BlockNumber", + "tx": "Vec", + "err": "Vec" + } + } + } + ] + }, + "joystream-node": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "ActorId": "u64", + "MemberId": "u64", + "BlockAndTime": { + "block": "u32", + "time": "u64" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "ThreadId": "u64", + "PostId": "u64", + "InputValidationLengthConstraint": { + "min": "u16", + "max_min_diff": "u16" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "WorkingGroup": { + "_enum": [ + "Forum", + "Storage", + "Content", + "OperationsAlpha", + "Gateway", + "Distribution", + "OperationsBeta", + "OperationsGamma", + "Membership" + ] }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "BalanceKind": { + "_enum": [ + "Positive", + "Negative" + ] }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "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" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "CouncilStageAnnouncing": { + "candidatesCount": "u64" }, - "PoolId": { + "CouncilStageElection": { + "candidatesCount": "u64" + }, + "CouncilStageUpdate": { + "stage": "CouncilStage", + "changed_at": "u32" + }, + "CouncilStage": { "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" + "Announcing": "CouncilStageAnnouncing", + "Election": "CouncilStageElection", + "Idle": "Null" } }, - "PoolIdV0": { + "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": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Lead": "Null", + "Moderator": "ModeratorId" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "PollInput": { + "description": "Bytes", + "end_time": "u64", + "poll_alternatives": "Vec" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "ThreadOf": { + "category_id": "CategoryId", + "author_id": "ForumUserId", + "poll": "Option", + "cleanup_pay_off": "u128", + "number_of_posts": "u64" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "ExtendedPostId": { + "category_id": "CategoryId", + "thread_id": "ThreadId", + "post_id": "PostId" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "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" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "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" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "StakeParameters": { + "stake": "u128", + "staking_account_id": "AccountId" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "StorageProviderId": "u64", + "OpeningType": { + "_enum": { + "Leader": "Null", + "Regular": "Null" + } }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "ApplyOnOpeningParameters": { + "member_id": "MemberId", + "opening_id": "OpeningId", + "role_account_id": "AccountId", + "reward_account_id": "AccountId", + "description": "Bytes", + "stake_parameters": "StakeParameters" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "Penalty": { + "slashing_text": "Text", + "slashing_amount": "u128" + }, + "RewardPaymentType": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "MissedReward", + "RegularReward" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "StorageBucketId": "u64", + "StorageBucketsPerBagValueConstraint": { + "min": "u64", + "max_min_diff": "u64" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "DataObjectId": "u64", + "DynamicBagId": { + "_enum": { + "Member": "MemberId", + "Channel": "u64" + } }, - "StakingPoolPhase": { + "Voucher": { + "sizeLimit": "u64", + "objectsLimit": "u64", + "sizeUsed": "u64", + "objectsUsed": "u64" + }, + "DynamicBagType": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "Member", + "Channel" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "DynamicBagCreationPolicy": { + "numberOfStorageBuckets": "u64", + "families": "BTreeMap" }, - "ChangeRate": { + "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": { - "NoChange": "Null", - "NewValue": "Rate" + "Council": "Null", + "WorkingGroup": "WorkingGroup" } }, - "ChangeRatio": { + "Static": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Council": "Null", + "WorkingGroup": "WorkingGroup" } }, - "BalanceInfo": { - "amount": "Balance" + "Dynamic": { + "_enum": { + "Member": "MemberId", + "Channel": "u64" + } }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress" - } - }, - { - "minmax": [ - 720, - 722 - ], - "types": { - "CallOf": "Call", - "DispatchTime": { + "BagId": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Static": "Static", + "Dynamic": "Dynamic" } }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "DataObjectCreationParameters": { + "size": "u64", + "ipfsContentId": "Bytes" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "BagIdType": { + "_enum": { + "Static": "Static", + "Dynamic": "Dynamic" + } }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "UploadParameters": { + "bagId": "BagId", + "objectCreationList": "Vec", + "deletionPrizeSourceAccountId": "GenericAccountId", + "expectedDataSizeFee": "u128" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "StorageBucketIdSet": "BTreeSet", + "DataObjectIdSet": "BTreeSet", + "ContentIdSet": "BTreeSet", + "Cid": "Bytes", + "StorageBucketOperatorStatus": { + "_enum": { + "Missing": "Null", + "InvitedStorageWorker": "WorkerId", + "StorageWorker": "(WorkerId,GenericAccountId)" + } }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "DataObject": { + "accepted": "bool", + "deletion_prize": "u128", + "size": "u64", + "ipfsContentId": "Bytes" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "DistributionBucketId": { + "distribution_bucket_family_id": "DistributionBucketFamilyId", + "distribution_bucket_index": "DistributionBucketIndex" }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "DistributionBucketIndex": "u64", + "DistributionBucketFamilyId": "u64", + "DistributionBucket": { + "accepting_new_bags": "bool", + "distributing": "bool", + "pending_invitations": "BTreeSet", + "operators": "BTreeSet", + "assigned_bags": "u64" }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DistributionBucketFamily": { + "next_distribution_bucket_index": "DistributionBucketIndex" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "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" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "ReplyToDelete": { + "post_id": "PostId", + "reply_id": "ReplyId", + "hide": "bool" }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "ProposalId": "u32", + "ProposalStatus": { "_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 + "Active": "Null", + "PendingExecution": "u32", + "PendingConstitutionality": "Null" } }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "ProposalOf": { + "parameters": "ProposalParameters", + "proposerId": "MemberId", + "activatedAt": "u32", + "status": "ProposalStatus", + "votingResults": "VotingResults", + "exactExecutionBlock": "Option", + "nrOfCouncilConfirmations": "u32", + "stakingAccountId": "Option" }, - "CurrencyId": { + "ProposalDetails": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" - } + "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" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "VoteKind": { "_enum": [ - "KAR", - "ACA" + "Approve", + "Reject", + "Slash", + "Abstain" ] }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] + "DiscussionThread": { + "activated_at": "u32", + "author_id": "u64", + "mode": "ThreadMode" }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "DiscussionPost": { + "author_id": "u64" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "CreateOpeningParameters": { + "description": "Bytes", + "stake_policy": "StakePolicy", + "reward_per_block": "Option", + "working_group": "WorkingGroup" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "FillOpeningParameters": { + "opening_id": "OpeningId", + "successful_application_id": "ApplicationId", + "working_group": "WorkingGroup" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "TerminateRoleParameters": { + "worker_id": "WorkerId", + "slashing_amount": "Option", + "working_group": "WorkingGroup" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "ProposalDecision": { + "_enum": { + "Canceled": "Null", + "CanceledByRuntime": "Null", + "Vetoed": "Null", + "Rejected": "Null", + "Slashed": "Null", + "Expired": "Null", + "Approved": "Approved" + } }, - "LiquidationStrategy": { + "ExecutionFailed": { + "error": "Text" + }, + "Approved": { "_enum": [ - "Auction", - "Exchange" + "PendingExecution", + "PendingConstitutionality" ] }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } - }, - "ChangeOptionRatio": { + "SetLeadParams": "(MemberId,AccountId)", + "ThreadMode": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + "Open": "Null", + "Closed": "Vec" } }, - "ChangeBalance": { + "ExecutionStatus": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "Executed": "Null", + "ExecutionFailed": "ExecutionFailed" } }, - "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" + "FundingRequestParameters": { + "account": "AccountId", + "amount": "u128" }, - "BalanceWrapper": { - "amount": "Balance" + "ReferendumStageVoting": { + "started": "u32", + "winning_target_count": "u64", + "current_cycle_id": "u64" }, - "BalanceRequest": { - "amount": "Balance" + "ReferendumStageRevealing": { + "started": "u32", + "winning_target_count": "u64", + "intermediate_winners": "Vec", + "current_cycle_id": "u64" }, - "TradingPairStatus": { + "ReferendumStage": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "Inactive": "Null", + "Voting": "ReferendumStageVoting", + "Revealing": "ReferendumStageRevealing" } }, - "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" + "OptionResult": { + "option_id": "MemberId", + "vote_power": "VotePower" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "VotePower": "u128", + "ConstitutionInfo": { + "text_hash": "Hash" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "BountyId": "u64", + "EntryId": "u64", + "BountyActor": { + "_enum": { + "Council": "Null", + "Member": "MemberId" + } }, - "EvmCoreErrorExitReason": { + "AssuranceContractType_Closed": "BTreeSet", + "AssuranceContractType": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "Open": "Null", + "Closed": "AssuranceContractType_Closed" } }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "FundingType_Limited": { + "min_funding_amount": "u128", + "max_funding_amount": "u128", + "funding_period": "u32" + }, + "FundingType_Perpetual": { + "target": "u128" }, - "EvmCoreErrorExitError": { + "FundingType": { "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" + "Perpetual": "FundingType_Perpetual", + "Limited": "FundingType_Limited" } }, - "EvmCoreErrorExitRevert": { - "_enum": [ - "Reverted" - ] + "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" }, - "EvmCoreErrorExitFatal": { + "OracleWorkEntryJudgment": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" + "Winner": "OracleWorkEntryJudgment_Winner", + "Rejected": "Null" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "OracleJudgment": "BTreeMap", + "Entry": { + "member_id": "MemberId", + "staking_account_id": "AccountId", + "submitted_at": "u32", + "work_submitted": "bool", + "oracle_judgment_result": "Option" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "BountyMilestone_Created": { + "created_at": "u32", + "has_contributions": "bool" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "BountyMilestone_BountyMaxFundingReached": { + "max_funding_reached_at": "u32" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "BountyMilestone_WorkSubmitted": { + "work_period_started_at": "u32" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" - } + "BountyMilestone_JudgmentSubmitted": { + "successful_bounty": "bool" }, - "PoolIdV0": { + "BountyMilestone": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Created": "BountyMilestone_Created", + "BountyMaxFundingReached": "BountyMilestone_BountyMaxFundingReached", + "WorkSubmitted": "BountyMilestone_WorkSubmitted", + "JudgmentSubmitted": "BountyMilestone_JudgmentSubmitted" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "Bounty": { + "creation_params": "BountyCreationParameters", + "total_funding": "u128", + "milestone": "BountyMilestone", + "active_work_entry_count": "u32" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "CuratorId": "u64", + "CuratorGroupId": "u64", + "CuratorGroup": { + "curators": "BTreeSet", + "active": "bool" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "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" } }, - "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" + "VideoPost": { + "author": "ContentActor", + "bloat_bond": "u128", + "replies_count": "VideoPostId", + "post_type": "VideoPostType", + "video_reference": "VideoId" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "Side": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "Left", + "Right" ] }, - "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" + "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" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "EnglishAuctionBid": { + "amount": "u128", + "bidder_id": "MemberId" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "TransactionalStatus": { + "_enum": { + "Idle": "Null", + "InitiatedOfferToMember": "(MemberId,Option)", + "EnglishAuction": "EnglishAuction", + "OpenAuction": "OpenAuction", + "BuyNow": "u128" + } }, - "ChangeRate": { + "NftOwner": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "ChannelOwner": "Null", + "Member": "MemberId" } }, - "ChangeRatio": { + "OwnedNft": { + "owner": "NftOwner", + "transactional_status": "TransactionalStatus", + "creator_royalty": "Option", + "open_auctions_nonce": "OpenAuctionId" + }, + "CurrencyOf": "u128", + "CurrencyAmount": "u128", + "InitTransactionalStatus": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Idle": "Null", + "BuyNow": "u128", + "InitiatedOfferToMember": "(MemberId,Option)", + "EnglishAuction": "EnglishAuctionParams", + "OpenAuction": "OpenAuctionParams" } }, - "BalanceInfo": { - "amount": "Balance" + "NftIssuanceParameters": { + "royalty": "Option", + "nft_metadata": "Bytes", + "non_channel_owner": "Option", + "init_transactional_status": "InitTransactionalStatus" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "NftMetadata": "Vec", + "OpenAuctionId": "u64", + "AccountInfo": "AccountInfoWithRefCount", + "ValidatorPrefs": "ValidatorPrefsWithCommission" } - }, + } + ] + }, + "jupiter-prep": { + "types": [ { "minmax": [ - 723, - 729 + 0, + 2 ], "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" + "LookupSource": "MultiAddress", + "Address": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "FullIdentification": "AccountId", + "AuthorityState": { + "_enum": [ + "Working", + "Waiting" + ] }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "EraIndex": "u32", + "ActiveEraInfo": { + "index": "EraIndex", + "start": "Option" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "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" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "FullIdentification": "AccountId", + "AuthorityState": { + "_enum": [ + "Working", + "Waiting" + ] }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "EraIndex": "u32", + "ActiveEraInfo": { + "index": "EraIndex", + "start": "Option" }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "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", + "type": "Balance" + }, + { + "name": "token_in", + "type": "CurrencyId" + }, + { + "name": "token_out", + "type": "CurrencyId" + }, + { + "name": "reversed", + "type": "bool" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(Vec, FixedU128)", + "isSubscription": false, + "jsonrpc": "router_getBestRoute", + "method": "getBestRoute", + "section": "router" + } + } + }, + "instances": { + "council": [ + "generalCouncil" + ] + }, + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "CallOf": "Call", + "DispatchTime": { + "_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": { @@ -34326,11 +36746,17 @@ export const typesBundle = { "perPeriod": "Compact" }, "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", + "OrmlCurrencyId": "u8", "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "isActive": "bool", + "totalDeposited": "Balance", + "unlockHeight": "BlockNumber", + "coolDownDuration": "BlockNumber", + "rewardDuration": "BlockNumber", + "periodFinish": "BlockNumber", + "lastUpdateBlock": "BlockNumber", + "rewardRate": "Balance", + "rewardPerShareStored": "Balance" }, "CompactBalance": "Compact", "PoolInfoV0": { @@ -34340,7948 +36766,7949 @@ export const typesBundle = { }, "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" + "Deposits": { + "voucherBalance": "Balance", + "isCollateral": "bool" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "BorrowSnapshot": { + "principal": "Balance", + "borrowIndex": "u128" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "EarnedSnapshot": { + "totalEarnedPrior": "Balance", + "exchangeRatePrior": "u128" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "JumpModel": { + "baseRate": "Rate", + "jumpRate": "Rate", + "fullRate": "Rate", + "jumpUtilization": "Ratio" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "CurveModel": { + "baseRate": "Rate" }, - "ChangeBalance": { + "InterestRateModel": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "JumpModel": "JumpModel", + "CurveModel": "CurveModel" } }, - "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" - } + "Market": { + "collateralFactor": "Ratio", + "liquidationThreshold": "Ratio", + "reserveFactor": "Ratio", + "closeFactor": "Ratio", + "liquidateIncentive": "Rate", + "liquidateIncentiveReservedFactor": "Ratio", + "rateModel": "InterestRateModel", + "state": "MarketState", + "supplyCap": "Balance", + "borrowCap": "Balance", + "ptokenId": "CurrencyId" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "MarketState": { + "_enum": [ + "Active", + "Pending", + "Supervision" + ] }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "RewardMarketState": { + "index": "Balance", + "block": "BlockNumber" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "Liquidity": "FixedU128", + "Shortfall": "FixedU128", + "ReservableAmount": { + "total": "Balance", + "reserved": "Balance" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "MatchingLedger": { + "totalStakeAmount": "ReservableAmount", + "totalUnstakeAmount": "ReservableAmount" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "UnlockChunk": { + "value": "Balance", + "era": "EraIndex" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "StakingLedger": { + "stash": "AccountId", + "total": "Balance", + "active": "Balance", + "unlocking": "Vec", + "claimedRewards": "Vec" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "DerivativeIndex": "u16", + "Pool": { + "baseAmount": "Balance", + "quoteAmount": "Balance", + "baseAmountLast": "Balance", + "quoteAmountLast": "Balance", + "lpTokenId": "AssetId", + "blockTimestampLast": "BlockNumber", + "price0CumulativeLast": "Balance", + "price1CumulativeLast": "Balance" }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" - } + "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" }, - "EvmCoreErrorExitSucceed": { + "Route": "Vec<(AssetId, AssetId)>", + "VaultPhase": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "Pending", + "Contributing", + "Closed", + "Failed", + "Succeeded", + "Expired" ] }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "ContributionStrategy": { + "_enum": [ + "XCM", + "XCMPROXY" + ] }, - "EvmCoreErrorExitRevert": { + "ChildStorageKind": { "_enum": [ - "Reverted" + "Pending", + "Flying", + "Contributed" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "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" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "XcmWeightFeeMisc": { + "weight": "Weight", + "fee": "Balance" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "XcmCall": { + "_enum": [ + "Bond", + "BondExtra", + "Unbond", + "Rebond", + "WithdrawUnbonded", + "Nominate", + "Contribute", + "Withdraw", + "AddMemo" + ] }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "BridgeToken": { + "id": "CurrencyId", + "external": "bool", + "fee": "Balance" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "ProposalStatus": { + "_enum": [ + "Initiated", + "Approved", + "Rejected" + ] }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "TAssetBalance": "u128" + } + } + ], + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + } + }, + "khala": { + "0": { + "minmax": [ + 0, + 10 + ], + "types": { + "ChainId": "u8", + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "DispatchErrorModule": "DispatchErrorModuleU8", + "Keys": "AccountId", + "BridgeChainId": "u8", + "BridgeEvent": { + "_enum": { + "FungibleTransfer": "FungibleTransfer", + "NonFungibleTransfer": "NonFungibleTransfer", + "GenericTransfer": "GenericTransfer" + } + }, + "FungibleTransfer": { + "destId": "BridgeChainId", + "nonce": "DepositNonce", + "resourceId": "ResourceId", + "amount": "U256", + "recipient": "Vec" + }, + "NonFungibleTransfer": { + "destId": "BridgeChainId", + "nonce": "DepositNonce", + "resourceId": "ResourceId", + "tokenId": "Vec", + "recipient": "Vec", + "metadata": "Vec" + }, + "GenericTransfer": { + "destId": "BridgeChainId", + "nonce": "DepositNonce", + "resourceId": "ResourceId", + "metadata": "Vec" + }, + "ResourceId": "[u8; 32]", + "TokenId": "U256", + "DepositNonce": "u64", + "ProposalStatus": { + "_enum": { + "Initiated": null, + "Approved": null, + "Rejected": null + } + }, + "ProposalVotes": { + "votesFor": "Vec", + "votesAgainst": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" + }, + "AssetInfo": { + "destId": "BridgeChainId", + "assetIdentity": "Vec" + }, + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "CancelProxy", + "Governance", + "Collator", + "StakePoolManager" + ] + }, + "Sr25519PublicKey": "[u8; 32]", + "MasterPublicKey": "Sr25519PublicKey", + "WorkerPublicKey": "Sr25519PublicKey", + "ContractPublicKey": "Sr25519PublicKey", + "EcdhPublicKey": "[u8; 32]", + "MessageOrigin": { + "_enum": { + "Pallet": "Vec", + "Contract": "H256", + "Worker": "Sr25519PublicKey", + "AccountId": "H256", + "MultiLocation": "Vec", + "Gatekeeper": null + } + }, + "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", + "DispatchErrorModule": "DispatchErrorModuleU8", + "Keys": "AccountId", + "BridgeChainId": "u8", + "BridgeEvent": { + "_enum": { + "FungibleTransfer": "FungibleTransfer", + "NonFungibleTransfer": "NonFungibleTransfer", + "GenericTransfer": "GenericTransfer" + } + }, + "FungibleTransfer": { + "destId": "BridgeChainId", + "nonce": "DepositNonce", + "resourceId": "ResourceId", + "amount": "U256", + "recipient": "Vec" + }, + "NonFungibleTransfer": { + "destId": "BridgeChainId", + "nonce": "DepositNonce", + "resourceId": "ResourceId", + "tokenId": "Vec", + "recipient": "Vec", + "metadata": "Vec" + }, + "GenericTransfer": { + "destId": "BridgeChainId", + "nonce": "DepositNonce", + "resourceId": "ResourceId", + "metadata": "Vec" + }, + "ResourceId": "[u8; 32]", + "TokenId": "U256", + "DepositNonce": "u64", + "ProposalStatus": { + "_enum": { + "Initiated": null, + "Approved": null, + "Rejected": null + } + }, + "ProposalVotes": { + "votesFor": "Vec", + "votesAgainst": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" + }, + "AssetInfo": { + "destId": "BridgeChainId", + "assetIdentity": "Vec" + }, + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "CancelProxy", + "Governance", + "Collator", + "StakePoolManager" + ] + }, + "Sr25519PublicKey": "[u8; 32]", + "MasterPublicKey": "Sr25519PublicKey", + "WorkerPublicKey": "Sr25519PublicKey", + "ContractPublicKey": "Sr25519PublicKey", + "EcdhPublicKey": "[u8; 32]", + "MessageOrigin": { + "_enum": { + "Pallet": "Vec", + "Contract": "H256", + "Worker": "Sr25519PublicKey", + "AccountId": "H256", + "MultiLocation": "Vec", + "Gatekeeper": null + } + }, + "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" }, - "PoolId": { + "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": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "RelayChain": "Null", + "ParaChain": "ParaId" } }, - "PoolIdV0": { + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "DOT": 0, + "KSM": 1, + "KILT": 2 } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" - }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "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 + } }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "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" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "DidVerificationKeyRelationship": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" + } }, - "StakingPoolPhase": { + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "ChangeRate": { + "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": { - "NoChange": "Null", - "NewValue": "Rate" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "ChangeRatio": { + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "BalanceInfo": { + "LockedBalance": { + "block": "BlockNumber", "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + } } }, { "minmax": [ - 730, - 1007 + 10, + 11 ], "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" + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "DelayedDispatchTime": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "DidSignature": { "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 4, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131, - "CASH": 140 + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" } }, - "DexShare": { + "DidError": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "CurrencyId": { + "StorageError": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "SignatureError": { "_enum": [ - "KAR", - "ACA" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AuthoritysOriginId": { + "KeyError": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "AcalaDataProviderId": { + "UrlError": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "DidVerificationKeyUpdateAction": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "ChangeBalance": { + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "BalanceWrapper": { + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", "amount": "Balance" }, - "BalanceRequest": { - "amount": "Balance" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "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" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "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" }, - "EvmCoreErrorExitReason": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "EvmCoreErrorExitError": { + "DidPublicKey": { "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "EvmCoreErrorExitRevert": { + "DidVerificationKeyRelationship": { "_enum": [ - "Reverted" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "EvmCoreErrorExitFatal": { + "DidSignature": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "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": { + "DidError": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "PoolIdV0": { + "StorageError": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "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" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "InputError": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" }, - "ChangeRate": { + "DidVerificationKeyUpdateAction": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "ChangeRatio": { + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "BalanceInfo": { + "LockedBalance": { + "block": "BlockNumber", "amount": "Balance" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "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": [ - 1008, - 1008 + 17, + 17 ], "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" - }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" - }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" - }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "DelayedDispatchTime": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "DidSignature": { "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131 + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "DexShare": { + "DidError": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "CurrencyId": { + "StorageError": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "SignatureError": { "_enum": [ - "KAR", - "ACA" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AuthoritysOriginId": { + "KeyError": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "AcalaDataProviderId": { + "UrlError": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "DidVerificationKeyUpdateAction": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" - }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "HttpUrl": { + "payload": "Text" }, - "BalanceWrapper": { - "amount": "Balance" + "FtpUrl": { + "payload": "Text" }, - "BalanceRequest": { - "amount": "Balance" + "IpfsUrl": { + "payload": "Text" }, - "TradingPairStatus": { + "Url": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" - } + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "EvmCoreErrorExitRevert": { - "_enum": [ - "Reverted" - ] + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "EvmCoreErrorExitFatal": { + "CollatorStatus": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "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" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "PoolId": { + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "PoolIdV0": { + "DidEncryptionKey": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "X25519": "[u8; 32]" } }, - "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 + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "SignatureError": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "StakingPoolPhase": { + "InputError": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "ChangeRate": { + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "ChangeRatio": { + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "BalanceInfo": { + "LockedBalance": { + "block": "BlockNumber", "amount": "Balance" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [ - 1008, - 1009 - ], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "DelayedDispatchTime": { + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "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": { - "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 + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "DexShare": { + "DidEncryptionKey": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "X25519": "[u8; 32]" } }, - "CurrencyId": { + "DidPublicKey": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "DidVerificationKeyRelationship": { "_enum": [ - "KAR", - "ACA" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "AuthoritysOriginId": { + "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": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AcalaDataProviderId": { + "KeyError": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "HttpUrl": { + "payload": "Text" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "FtpUrl": { + "payload": "Text" }, - "ChangeBalance": { + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "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": { + "LockedBalance": { + "block": "BlockNumber", "amount": "Balance" }, - "BalanceRequest": { - "amount": "Balance" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "EvmCoreErrorExitReason": { + "CollatorStatus": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "EvmCoreErrorExitRevert": { + "DelegationStorageVersion": { "_enum": [ - "Reverted" + "V1", + "V2" ] }, - "EvmCoreErrorExitFatal": { + "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": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "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" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "PoolId": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "PoolIdV0": { + "DidEncryptionKey": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "X25519": "[u8; 32]" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "InputError": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "HttpUrl": { + "payload": "Text" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "FtpUrl": { + "payload": "Text" }, - "ChangeRatio": { + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "BalanceInfo": { + "LockedBalance": { + "block": "BlockNumber", "amount": "Balance" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [ - 1010, - 1013 - ], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "OrderedSet": "BoundedVec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" }, - "DelayedDispatchTime": { + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "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 - } + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "DexShare": { + "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": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "CurrencyId": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "ContentType": { "_enum": [ - "KAR", - "ACA" + "ApplicationJson", + "ApplicationJsonLd" ] }, - "AuthoritysOriginId": { + "DidStorageVersion": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "V1", + "V2" ] }, - "AcalaDataProviderId": { + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "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" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "DidPublicKey": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "ChangeOptionRatio": { + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ChangeBalance": { + "DidError": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "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": { + "StorageError": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "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" - }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" - } + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "EvmCoreErrorExitSucceed": { + "KeyError": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "EvmCoreErrorExitRevert": { + "InputError": { "_enum": [ - "Reverted" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "HttpUrl": { + "payload": "Text" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "FtpUrl": { + "payload": "Text" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "IpfsUrl": { + "payload": "Text" }, - "PoolId": { + "Url": { "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", + "Stake": { "owner": "AccountId", - "data": "TokenData" + "amount": "Balance" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "BondingLedger": { + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "state": "CollatorStatus" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "StakingPoolPhase": { + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "V1", + "V2" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "ChangeRate": { + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "ChangeRatio": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "BalanceInfo": { - "amount": "Balance" + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "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": [ - 1014, - 1018 + 23, + 24 ], "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" + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "DelayedDispatchTime": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" - }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "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": { + "DidEncryptionKey": { "_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 + "X25519": "[u8; 32]" } }, - "DexShare": { + "DidPublicKey": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "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": [ - "KAR", - "ACA" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AuthoritysOriginId": { + "KeyError": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "AcalaDataProviderId": { + "UrlError": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "HttpUrl": { + "payload": "Text" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "FtpUrl": { + "payload": "Text" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "IpfsUrl": { + "payload": "Text" }, - "ChangeBalance": { + "Url": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "BalanceWrapper": { + "Stake": { + "owner": "AccountId", "amount": "Balance" }, - "BalanceRequest": { - "amount": "Balance" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" }, - "EvmCoreErrorExitReason": { + "DidFragmentUpdateAction_ServiceEndpoints": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "EvmCoreErrorExitError": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "EvmCoreErrorExitRevert": { + "ContentType": { "_enum": [ - "Reverted" + "application/json", + "application/ld+json" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "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" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "PoolId": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "PoolIdV0": { + "DidEncryptionKey": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "X25519": "[u8; 32]" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "InputError": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "submitter": "AccountId" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "HttpUrl": { + "payload": "Text" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "FtpUrl": { + "payload": "Text" }, - "ChangeRatio": { + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "BalanceInfo": { + "LockedBalance": { + "block": "BlockNumber", "amount": "Balance" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV1", - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" - } - }, - { - "minmax": [ - 1019, - null - ], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "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 - } + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "DexShare": { + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "CurrencyId": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "ContentType": { "_enum": [ - "KAR", - "ACA" + "application/json", + "application/ld+json" ] }, - "AuthoritysOriginId": { + "DidStorageVersion": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "V1", + "V2" ] }, - "AcalaDataProviderId": { + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" ] }, - "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" + "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" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 2700, + 10710 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ChangeOptionRatio": { + "DidEncryptionKey": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + "X25519": "[u8; 32]" } }, - "ChangeBalance": { + "DidPublicKey": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "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" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "TradingPairStatus": { + "DidSignature": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "EvmCoreErrorExitReason": { + "StorageError": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" } }, - "EvmCoreErrorExitSucceed": { + "SignatureError": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" ] }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "EvmCoreErrorExitRevert": { + "InputError": { "_enum": [ - "Reverted" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "PoolId": { + "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": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "PoolIdV0": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2", + "V3" + ] }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" + }, + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10720, + 10899 + ], + "types": { + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "RawDidDetails" + }, + "RawServiceEndpoints": { + "id": "Text", + "serviceTypes": "Vec", + "urls": "Vec" + }, + "RawDidDetails": { + "authenticationKey": "Hash", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap>", + "lastTxCounter": "BlockNumber", + "deposit": "KiltSupportDeposit" + }, + "DidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "RpcDidDetails" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "RpcServiceEndpoint": { + "id": "String", + "serviceTypes": "Vec", + "urls": "Vec" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "RpcDidDetails": { + "authenticationKey": "Hash", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "lastTxCounter": "BlockNumber", + "deposit": "KiltSupportDeposit" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "RpcPublicKeyDetails": { + "key": "RpcDidPublicKey", + "blockNumber": "BlockNumber" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "RpcDidPublicKey": { + "_enum": { + "PublicVerificationKey": "RpcDidVerificationKey", + "PublicEncryptionKey": "RpcDidEncryptionKey" + } }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "RpcDidVerificationKey": { + "_enum": { + "Ed25519": "AccountId32", + "Sr25519": "AccountId32", + "Ecdsa": "AccountId33" + } }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "RpcDidEncryptionKey": { + "_enum": { + "X25519": "AccountId32" + } }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 10900, + null + ], + "types": { + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "RawDidDetails" + }, + "RawServiceEndpoints": { + "id": "Text", + "serviceTypes": "Vec", + "urls": "Vec" + }, + "RawDidDetails": { + "authenticationKey": "Hash", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap>", + "lastTxCounter": "BlockNumber", + "deposit": "KiltSupportDeposit" + }, + "DidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "RpcDidDetails" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "RpcServiceEndpoint": { + "id": "String", + "serviceTypes": "Vec", + "urls": "Vec" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "RpcDidDetails": { + "authenticationKey": "Hash", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "lastTxCounter": "BlockNumber", + "deposit": "KiltSupportDeposit" }, - "ChangeRate": { + "RpcPublicKeyDetails": { + "key": "RpcDidPublicKey", + "blockNumber": "BlockNumber" + }, + "RpcDidPublicKey": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "PublicVerificationKey": "RpcDidVerificationKey", + "PublicEncryptionKey": "RpcDidEncryptionKey" } }, - "ChangeRatio": { + "RpcDidVerificationKey": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Ed25519": "AccountId32", + "Sr25519": "AccountId32", + "Ecdsa": "AccountId33" } }, - "BalanceInfo": { - "amount": "Balance" + "RpcDidEncryptionKey": { + "_enum": { + "X25519": "AccountId32" + } }, - "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" + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } } } ], - "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" + "runtime": { + "DidApi": [ + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option>" }, - { - "name": "key", - "type": "OracleKey" + "query_did_by_account_id": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "AccountId32" + } + ], + "type": "Option>" }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option>" } - ], - "type": "Option", - "isSubscription": false, - "jsonrpc": "oracle_getValue", - "method": "getValue", - "section": "oracle" - }, - "getAllValues": { - "description": "Retrieves all oracle values.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" + }, + "version": 1 + } + ], + "ParachainStakingApi": [ + { + "methods": { + "get_staking_rates": { + "description": "Calculate the current staking and reward rates for collators and delegators", + "params": [], + "type": "StakingRates" }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "get_unclaimed_staking_rewards": { + "description": "Calculate the claimable staking rewards for a given account address", + "params": [ + { + "name": "account", + "type": "AccountId32" + } + ], + "type": "Balance" } - ], - "type": "Vec<(OracleKey, Option)>", - "isSubscription": false, - "jsonrpc": "oracle_getAllValues", - "method": "getAllValues", - "section": "oracle" + }, + "version": 1 } - }, - "tokens": { - "queryExistentialDeposit": { - "description": "Query Existential Deposit for a given currency.", + ] + }, + "rpc": { + "did": { + "query": { + "description": "Return the DID information linked to the provided DID identifier, if found.", "params": [ { - "name": "currencyId", - "type": "CurrencyId" + "name": "did", + "type": "AccountId32" }, { "name": "at", - "type": "BlockHash", - "isHistoric": true, + "type": "Hash", "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" + "type": "Option" }, - "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", + "queryByWeb3Name": { + "description": "Return the DID information linked to the provided web3name, if found.", "params": [ { - "name": "data", - "type": "CallRequest" + "name": "name", + "type": "String" }, { "name": "at", - "type": "BlockHash", - "isHistoric": true, + "type": "Hash", "isOptional": true } ], - "type": "Raw", - "isSubscription": false, - "jsonrpc": "evm_call", - "method": "call", - "section": "evm" + "type": "Option" }, - "estimateResources": { - "description": "eth estimateResources", + "queryByAccount": { + "description": "Return the DID information linked to the provided account, if found.", "params": [ { - "name": "from", - "type": "H160" - }, - { - "name": "unsignedExtrinsic", - "type": "Bytes" + "name": "account", + "type": "AccountId32" }, { "name": "at", - "type": "BlockHash", - "isHistoric": true, + "type": "Hash", "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" + "type": "Option" } } - }, - "instances": { - "council": [ - "generalCouncil" - ] - }, + } + }, + "kilt-spiritnet": { "types": [ { "minmax": [ - 600, - 699 + 0, + 8 ], "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "AccountInfo": "AccountInfoWithDualRefCount", + "Address": "AccountId", + "Attestation": { + "ctypeHash": "Hash", + "attester": "AccountId", + "delegationId": "Option", + "revoked": "bool" }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "ChainId": { + "_enum": { + "RelayChain": "Null", + "ParaChain": "ParaId" + } }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } }, - "DelayedDispatchTime": { + "XcmError": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "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 } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "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" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "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": [ - "ACA", - "AUSD", - "DOT", - "XBTC", - "LDOT", - "RENBTC" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "DexShare": { + "DidSignature": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" } }, - "CurrencyId": { + "DidError": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { "_enum": [ - "KAR", - "ACA" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AuthoritysOriginId": { + "KeyError": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "AcalaDataProviderId": { + "UrlError": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "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" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" }, - "ChangeOptionRatio": { + "DidVerificationKeyUpdateAction": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "HttpUrl": { + "payload": "Text" }, - "BalanceWrapper": { - "amount": "Balance" + "FtpUrl": { + "payload": "Text" }, - "BalanceRequest": { - "amount": "Balance" + "IpfsUrl": { + "payload": "Text" }, - "TradingPairStatus": { + "Url": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "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" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "EvmCoreErrorExitReason": { + "DidPublicKey": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "EvmCoreErrorExitSucceed": { + "DidVerificationKeyRelationship": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "EvmCoreErrorExitError": { + "DidSignature": { "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" } }, - "EvmCoreErrorExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "EvmCoreErrorExitFatal": { + "DidError": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" - } + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "PoolIdV0": { + "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": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", + "OrderedSet": "Vec", + "Stake": { "owner": "AccountId", - "data": "ClassData" - }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "amount": "Balance" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "ChangeRatio": { + "CollatorStatus": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Active": "Null", + "Leaving": "SessionIndex" } - }, - "BalanceInfo": { - "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "Address": "LookupSource", - "LookupSource": "IndicesLookupSource" + } } }, { "minmax": [ - 700, - 719 + 12, + 16 ], "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" + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "DelayedDispatchTime": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" - }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "DidVerificationKeyRelationship": { "_enum": [ - "ACA", - "AUSD", - "DOT", - "XBTC", - "LDOT", - "RENBTC" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "DexShare": { + "DidSignature": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "CurrencyId": { + "DidError": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } + }, + "SignatureError": { "_enum": [ - "KAR", - "ACA" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AuthoritysOriginId": { + "KeyError": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "AcalaDataProviderId": { + "UrlError": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "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": { + "InputError": { "_enum": [ - "Auction", - "Exchange" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "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" } }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "BalanceWrapper": { - "amount": "Balance" + "HttpUrl": { + "payload": "Text" }, - "BalanceRequest": { - "amount": "Balance" + "FtpUrl": { + "payload": "Text" }, - "TradingPairStatus": { + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" - } + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "EvmCoreErrorExitRevert": { - "_enum": [ - "Reverted" - ] + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "EvmCoreErrorExitFatal": { + "CollatorStatus": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "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" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "PoolId": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "PoolIdV0": { + "DidEncryptionKey": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "X25519": "[u8; 32]" } }, - "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 + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" - }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "SignatureError": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "StakingPoolPhase": { + "InputError": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "BalanceInfo": { - "amount": "Balance" + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress" - } - }, - { - "minmax": [ - 720, - 722 - ], - "types": { - "CallOf": "Call", - "DispatchTime": { + "DidVerificationKeyUpdateAction": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" - }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "HttpUrl": { + "payload": "Text" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "FtpUrl": { + "payload": "Text" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "IpfsUrl": { + "payload": "Text" }, - "DelayedDispatchTime": { + "Url": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "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 - } + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" - } + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "LiquidationStrategy": { + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { "_enum": [ - "Auction", - "Exchange" + "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" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "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": { - "NoChange": "Null", - "NewValue": "OptionRate" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ChangeOptionRatio": { + "DidEncryptionKey": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + "X25519": "[u8; 32]" } }, - "ChangeBalance": { + "DidPublicKey": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "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" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "TradingPairStatus": { + "DidSignature": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "EvmCoreErrorExitReason": { + "StorageError": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "EvmCoreErrorExitSucceed": { + "SignatureError": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "EvmCoreErrorExitRevert": { + "UrlError": { "_enum": [ - "Reverted" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "EvmCoreErrorExitFatal": { + "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": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "HttpUrl": { + "payload": "Text" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "FtpUrl": { + "payload": "Text" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "IpfsUrl": { + "payload": "Text" }, - "PoolId": { + "Url": { "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Homa": "Null" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", + "OrderedSet": "Vec", + "Stake": { "owner": "AccountId", - "data": "TokenData" + "amount": "Balance" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "BondingLedger": { + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "state": "CollatorStatus" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "V1", + "V2" ] }, - "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" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" + } } }, { "minmax": [ - 723, - 729 + 19, + 19 ], "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" + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "DelayedDispatchTime": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "DidSignature": { "_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 + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "DexShare": { + "DidError": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "CurrencyId": { + "StorageError": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "SignatureError": { "_enum": [ - "KAR", - "ACA" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AuthoritysOriginId": { + "KeyError": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "AcalaDataProviderId": { + "UrlError": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "HttpUrl": { + "payload": "Text" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "FtpUrl": { + "payload": "Text" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "IpfsUrl": { + "payload": "Text" }, - "ChangeBalance": { + "Url": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "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": { + "LockedBalance": { + "block": "BlockNumber", "amount": "Balance" }, - "BalanceRequest": { - "amount": "Balance" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "EvmCoreErrorExitReason": { + "CollatorStatus": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "EvmCoreErrorExitRevert": { + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { "_enum": [ - "Reverted" + "V1", + "V2" ] }, - "EvmCoreErrorExitFatal": { + "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": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "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" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "PoolId": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "PoolIdV0": { + "DidEncryptionKey": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "X25519": "[u8; 32]" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "InputError": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "HttpUrl": { + "payload": "Text" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "FtpUrl": { + "payload": "Text" }, - "ChangeRatio": { + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "BalanceInfo": { + "LockedBalance": { + "block": "BlockNumber", "amount": "Balance" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [ - 730, - 1007 - ], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "OrderedSet": "BoundedVec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" }, - "DelayedDispatchTime": { + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "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 - } + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "DexShare": { + "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": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "CurrencyId": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "ContentType": { "_enum": [ - "KAR", - "ACA" + "ApplicationJson", + "ApplicationJsonLd" ] }, - "AuthoritysOriginId": { + "DidStorageVersion": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "V1", + "V2" ] }, - "AcalaDataProviderId": { + "MaxCollatorCandidates": "u32", + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32" + } + }, + { + "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" }, - "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" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ChangeOptionRatio": { + "DidEncryptionKey": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + "X25519": "[u8; 32]" } }, - "ChangeBalance": { + "DidPublicKey": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "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" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "TradingPairStatus": { + "DidSignature": { "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "EvmCoreErrorExitReason": { + "StorageError": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" } }, - "EvmCoreErrorExitSucceed": { + "SignatureError": { "_enum": [ - "Stopped", - "Returned", - "Suicided" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "EvmCoreErrorExitRevert": { + "UrlError": { "_enum": [ - "Reverted" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "HttpUrl": { + "payload": "Text" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "FtpUrl": { + "payload": "Text" }, - "PoolId": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "IpfsUrl": { + "payload": "Text" }, - "PoolIdV0": { + "Url": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" + }, + "Stake": { "owner": "AccountId", - "data": "TokenData" + "amount": "Balance" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "BondingLedger": { + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "state": "CollatorStatus" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "StakingPoolPhase": { + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "V1", + "V2" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "ChangeRate": { + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "ChangeRatio": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "BalanceInfo": { - "amount": "Balance" + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "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": [ - 1008, - 1008 + 23, + 24 ], "types": { - "CallOf": "Call", - "DispatchTime": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "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": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "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": { + "DidPublicKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "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" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "DidSignature": { "_enum": { - "ACA": 0, - "AUSD": 1, - "DOT": 2, - "LDOT": 3, - "RENBTC": 20, - "CASH": 21, - "KAR": 128, - "KUSD": 129, - "KSM": 130, - "LKSM": 131 + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "DexShare": { + "DidError": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "CurrencyId": { + "StorageError": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "SignatureError": { "_enum": [ - "KAR", - "ACA" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "AuthoritysOriginId": { + "KeyError": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "AcalaDataProviderId": { + "UrlError": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "HttpUrl": { + "payload": "Text" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "FtpUrl": { + "payload": "Text" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "IpfsUrl": { + "payload": "Text" }, - "ChangeBalance": { + "Url": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "BalanceWrapper": { + "Stake": { + "owner": "AccountId", "amount": "Balance" }, - "BalanceRequest": { - "amount": "Balance" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" }, - "EvmCoreErrorExitReason": { + "DidFragmentUpdateAction_ServiceEndpoints": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "EvmCoreErrorExitError": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "EvmCoreErrorExitRevert": { + "ContentType": { "_enum": [ - "Reverted" + "application/json", + "application/ld+json" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "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" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "PoolId": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "PoolIdV0": { + "DidEncryptionKey": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "X25519": "[u8; 32]" } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { + "InputError": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "submitter": "AccountId" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "HttpUrl": { + "payload": "Text" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "FtpUrl": { + "payload": "Text" }, - "ChangeRatio": { + "IpfsUrl": { + "payload": "Text" + }, + "Url": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "BalanceInfo": { + "LockedBalance": { + "block": "BlockNumber", "amount": "Balance" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [ - 1008, - 1009 - ], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "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 - } + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "DexShare": { + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "CurrencyId": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { + "ContentType": { "_enum": [ - "KAR", - "ACA" + "application/json", + "application/ld+json" ] }, - "AuthoritysOriginId": { + "DidStorageVersion": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "V1", + "V2" ] }, - "AcalaDataProviderId": { + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "MaxDelegatedAttestations": "u32", + "MaxClaims": "u32", + "MaxChildren": "u32", + "DidNewKeyAgreementKeys": "BoundedBTreeSet", + "DidKeyAgreementKeys": "BoundedBTreeSet", + "DidVerificationKeysToRevoke": "BoundedBTreeSet", + "MaxNewKeyAgreementKeys": "u32", + "MaxTotalKeyAgreementKeys": "u32", + "MaxVerificationKeysToRevoke": "u32", + "MaxPublicKeysPerDid": "u32", + "DidPublicKeyMap": "BoundedBTreeMap", + "MaxUrlLength": "u32", + "MaxEndpointUrlsCount": "u32", + "MinCollators": "u32", + "MaxTopCandidates": "u32", + "Candidate": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "status": "CandidateStatus" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 2700, + 10710 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "LiquidationStrategy": { + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { "_enum": [ - "Auction", - "Exchange" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "DidSignature": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ChangeOptionRatio": { + "DidError": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" } }, - "ChangeBalance": { + "StorageError": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" } }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "BalanceWrapper": { - "amount": "Balance" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] }, - "BalanceRequest": { - "amount": "Balance" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "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" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" - } + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "EvmCoreErrorExitRevert": { - "_enum": [ - "Reverted" - ] + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" }, - "PoolId": { + "DidFragmentUpdateAction_ServiceEndpoints": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } }, - "PoolIdV0": { + "DidFragmentUpdateAction_DidVerificationKey": { "_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 + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "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": { + "DidStorageVersion": { "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" + "V1", + "V2", + "V3" ] }, - "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": { + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" ] }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" - }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "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" }, - "ChangeRatio": { + "CandidateStatus": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "BalanceInfo": { + "Deposit": { + "owner": "AccountId", "amount": "Balance" - }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + } } }, { "minmax": [ - 1010, - 1013 + 10720, + 10899 ], "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" - } + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "RawDidDetails" + }, + "RawServiceEndpoints": { + "id": "Text", + "serviceTypes": "Vec", + "urls": "Vec" + }, + "RawDidDetails": { + "authenticationKey": "Hash", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap>", + "lastTxCounter": "BlockNumber", + "deposit": "KiltSupportDeposit" + }, + "DidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "RpcDidDetails" }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "RpcServiceEndpoint": { + "id": "String", + "serviceTypes": "Vec", + "urls": "Vec" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", - "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" + "RpcDidDetails": { + "authenticationKey": "Hash", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "lastTxCounter": "BlockNumber", + "deposit": "KiltSupportDeposit" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "RpcPublicKeyDetails": { + "key": "RpcDidPublicKey", + "blockNumber": "BlockNumber" }, - "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "RpcDidPublicKey": { "_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 + "PublicVerificationKey": "RpcDidVerificationKey", + "PublicEncryptionKey": "RpcDidEncryptionKey" } }, - "DexShare": { + "RpcDidVerificationKey": { "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + "Ed25519": "AccountId32", + "Sr25519": "AccountId32", + "Ecdsa": "AccountId33" } }, - "CurrencyId": { + "RpcDidEncryptionKey": { "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + "X25519": "AccountId32" } }, - "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" + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 10900, + null + ], + "types": { + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "RawDidDetails" + }, + "RawServiceEndpoints": { + "id": "Text", + "serviceTypes": "Vec", + "urls": "Vec" + }, + "RawDidDetails": { + "authenticationKey": "Hash", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap>", + "lastTxCounter": "BlockNumber", + "deposit": "KiltSupportDeposit" + }, + "DidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "RpcDidDetails" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "RpcServiceEndpoint": { + "id": "String", + "serviceTypes": "Vec", + "urls": "Vec" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "RpcDidDetails": { + "authenticationKey": "Hash", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "lastTxCounter": "BlockNumber", + "deposit": "KiltSupportDeposit" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "RpcPublicKeyDetails": { + "key": "RpcDidPublicKey", + "blockNumber": "BlockNumber" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { + "RpcDidPublicKey": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" + "PublicVerificationKey": "RpcDidVerificationKey", + "PublicEncryptionKey": "RpcDidEncryptionKey" } }, - "ChangeOptionRatio": { + "RpcDidVerificationKey": { "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" + "Ed25519": "AccountId32", + "Sr25519": "AccountId32", + "Ecdsa": "AccountId33" } }, - "ChangeBalance": { + "RpcDidEncryptionKey": { "_enum": { - "NoChange": "Null", - "NewValue": "Balance" + "X25519": "AccountId32" } }, - "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" + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + } + ], + "runtime": { + "DidApi": [ + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option>" + }, + "query_did_by_account_id": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "AccountId32" + } + ], + "type": "Option>" + }, + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option>" } }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" - }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" - }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" - }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" - }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" - }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" - }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" - }, - "EvmCoreErrorExitReason": { - "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "version": 1 + } + ], + "ParachainStakingApi": [ + { + "methods": { + "get_staking_rates": { + "description": "Calculate the current staking and reward rates for collators and delegators", + "params": [], + "type": "StakingRates" + }, + "get_unclaimed_staking_rewards": { + "description": "Calculate the claimable staking rewards for a given account address", + "params": [ + { + "name": "account", + "type": "AccountId32" + } + ], + "type": "Balance" } }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] - }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" + "version": 1 + } + ] + }, + "rpc": { + "did": { + "query": { + "description": "Return the DID information linked to the provided DID identifier, if found.", + "params": [ + { + "name": "did", + "type": "AccountId32" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "EvmCoreErrorExitRevert": { - "_enum": [ - "Reverted" - ] - }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" + ], + "type": "Option" + }, + "queryByWeb3Name": { + "description": "Return the DID information linked to the provided web3name, if found.", + "params": [ + { + "name": "name", + "type": "String" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } - }, - "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" + ], + "type": "Option" + }, + "queryByAccount": { + "description": "Return the DID information linked to the provided account, if found.", + "params": [ + { + "name": "account", + "type": "AccountId32" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true } + ], + "type": "Option" + } + } + } + }, + "kintsugi-parachain": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "BalanceWrapper": { + "amount": "String" }, - "PoolIdV0": { + "CurrencyId": { "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "Token": "TokenSymbol", + "ForeignAsset": "ForeignAssetId" } }, - "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 + "InterbtcPrimitivesCurrencyId": { + "_enum": { + "Token": "InterbtcPrimitivesTokenSymbol", + "ForeignAsset": "InterbtcForeignAssetId" } }, - "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)" + "InterbtcForeignAssetId": "u32", + "ForeignAssetId": "u32", + "FundAccountJsonRpcRequest": { + "account_id": "AccountId", + "currency_id": "InterbtcPrimitivesCurrencyId" }, - "ChangeRate": { + "H256Le": "H256", + "SignedFixedPoint": "FixedU128", + "TokenSymbol": { "_enum": { - "NoChange": "Null", - "NewValue": "Rate" + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 } }, - "ChangeRatio": { + "InterbtcPrimitivesTokenSymbol": { "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" + "DOT": 0, + "IBTC": 1, + "INTR": 2, + "KSM": 10, + "KBTC": 11, + "KINT": 12 } }, - "BalanceInfo": { - "amount": "Balance" + "UnsignedFixedPoint": "FixedU128", + "VaultCurrencyPair": { + "collateral": "CurrencyId", + "wrapped": "CurrencyId" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV0", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "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" } }, - { - "minmax": [ - 1014, - 1018 - ], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "escrow": { + "balanceAt": { + "description": "Get a given user's escrowed balance", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "height", + "type": "Option" } - }, - "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" + ], + "type": "BalanceWrapper" + }, + "totalSupply": { + "description": "Get the total voting supply in the system", + "params": [ + { + "name": "height", + "type": "Option" } - }, - "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 + ], + "type": "BalanceWrapper" + } + }, + "issue": { + "getIssueRequests": { + "description": "Get all issue request IDs for a particular account", + "params": [ + { + "name": "account_id", + "type": "AccountId" } - }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" + ], + "type": "Vec" + }, + "getVaultIssueRequests": { + "description": "Get all issue request IDs for a particular vault", + "params": [ + { + "name": "vault_id", + "type": "AccountId" } - }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" + ], + "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" + } + }, + "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" + } + }, + "reward": { + "computeEscrowReward": { + "description": "Get a given user's rewards due", + "params": [ + { + "name": "account_id", + "type": "AccountId" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + }, + "computeVaultReward": { + "description": "Get a given vault's rewards due", + "params": [ + { + "name": "vault_id", + "type": "VaultId" + }, + { + "name": "currency_id", + "type": "CurrencyId" + } + ], + "type": "BalanceWrapper" + } + }, + "vaultRegistry": { + "getCollateralizationFromVault": { + "description": "Returns the collateralization of a specific vault", + "params": [ + { + "name": "vault", + "type": "VaultId" + }, + { + "name": "only_issued", + "type": "bool" + } + ], + "type": "UnsignedFixedPoint" + }, + "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" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] - }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" - ] - }, - "AcalaDataProviderId": { - "_enum": [ - "Aggregated", - "Acala", - "Band" - ] + "Difficulty": "U256", + "DifficultyAndTimestamp": { + "difficulty": "Difficulty", + "timestamp": "Moment" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "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" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "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" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "Transaction": { + "nonce": "U256", + "action": "String", + "gas_price": "u64", + "gas_limit": "u64", + "value": "U256", + "input": "Vec", + "signature": "Signature" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "Signature": { + "v": "u64", + "r": "H256", + "s": "H256" }, - "LiquidationStrategy": { + "ClassId": "u64", + "TokenId": "u64", + "ClassData": "Vec", + "TokenData": "Vec", + "ReportReason": { "_enum": [ - "Auction", - "Exchange" + "None", + "Illigal", + "Plagiarism", + "Duplicate", + "Reported" ] }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "ClassInfoOf": { + "metadata": "Vec", + "total_issuance": "TokenId", + "owner": "AccountId", + "class_data": "ClassData" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "ExtendedInfo": { + "display_flag": "bool", + "report": "ReportReason", + "frozen": "bool" }, - "ChangeBalance": { + "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": { - "NoChange": "Null", - "NewValue": "Balance" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "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" + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "frozen": "Balance", + "reserved": "Balance" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "VestingScheduleOf": "OrmlVestingSchedule", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" }, - "EvmCoreErrorExitReason": { + "Share": "u128", + "ChainId": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "RelayChain": "Null", + "ParaChain": "ParaId" } }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" }, - "EvmCoreErrorExitError": { - "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" - } + "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" }, - "EvmCoreErrorExitRevert": { + "CurrencyId": { "_enum": [ - "Reverted" + "LAMI", + "AUSD", + "DOT", + "FEUR", + "FJPY", + "FBTC", + "FETH", + "FAUD", + "FCAD", + "FCHF", + "FXAU", + "FOIL", + "FGBP" ] }, - "EvmCoreErrorExitFatal": { - "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" - } - }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" - }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" - }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" - }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "Leverage": { + "_enum": [ + "LongTwo", + "LongThree", + "LongFive", + "LongTen", + "LongTwenty", + "LongThirty", + "LongFifty", + "LongReserved", + "ShortTwo", + "ShortThree", + "ShortFive", + "ShortTen", + "ShortTwenty", + "ShortThirty", + "ShortFifty", + "ShortReserved" + ] }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "SwapRate": { + "long": "Rate", + "short": "Rate" }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" + "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 } }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" - } + "TradingPair": { + "base": "CurrencyId", + "quote": "CurrencyId" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "AccumulateConfig": { + "frequency": "Moment", + "offset": "Moment" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", + "IdentityDepositBalanceOf": "Balance", + "Pool": { "owner": "AccountId", - "data": "TokenData" + "balance": "Balance" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "MarginTradingPairOption": { + "enabled": "bool", + "maxSpread": "Option", + "swapRate": "SwapRate", + "accumulateConfig": "Option" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "MarginPoolOption": { + "additionalSwapRate": "FixedI128", + "minLeveragedAmount": "FixedU128" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "MarginPoolTradingPairOption": { + "enabled": "bool", + "bidSpread": "Option", + "askSpread": "Option", + "enabledTrades": "Leverages" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", + "SyntheticPoolCurrencyOption": { + "bidSpread": "Option", + "askSpread": "Option", + "additionalCollateralRatio": "Option", + "syntheticEnabled": "bool" + }, + "MarginPosition": { "owner": "AccountId", - "data": "ClassData" + "poolId": "LiquidityPoolId", + "pair": "TradingPair", + "leverage": "Leverage", + "leveragedHeld": "FixedI128", + "leveragedDebits": "FixedI128", + "openAccumulatedSwapRate": "Rate", + "marginHeld": "FixedI128" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "SyntheticPosition": { + "collateral": "FixedU128", + "synthetic": "FixedU128" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "RiskThreshold": { + "marginCall": "Permill", + "stopOut": "Permill" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "PositionId": "u64", + "Rate": "FixedI128", + "PoolTraderInfo": { + "positionNum": "PositionId", + "long": "PairInfo", + "short": "PairInfo" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "PairInfo": { + "baseAmount": "FixedI128", + "quoteAmount": "FixedI128" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "TradingPairRiskThreshold": { + "trader": "Option", + "enp": "Option", + "ell": "Option" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "SyntheticTokensRatio": { + "extreme": "Option", + "liquidation": "Option", + "collateral": "Option" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "PositionsSnapshot": { + "positionsCount": "PositionId", + "long": "LeveragedAmounts", + "short": "LeveragedAmounts" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "LeveragedAmounts": { + "held": "FixedI128", + "debits": "FixedI128" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "LiquidityPoolIdentityInfo": { + "legalName": "Vec", + "displayName": "Vec", + "web": "Vec", + "email": "Vec", + "image_url": "Vec" }, - "BalanceInfo": { - "amount": "Balance" + "SyntheticPoolState": { + "collateral_ratio": "FixedI128", + "is_safe": "boolean" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "ExchangeRate": "FixedU128", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "PublicKey": "[u8; 20]", - "DestAddress": "Vec", - "PoolTokenIndex": "u32", - "AssetId": "CurrencyId", - "Keys": "SessionKeys1", - "CompactAssignments": "CompactAssignmentsWith16", - "DispatchErrorModule": "DispatchErrorModuleU8", - "RawSolution": "RawSolutionWith16", - "Weight": "WeightV1", - "Address": "GenericMultiAddress", - "LookupSource": "GenericMultiAddress", - "MultiLocation": "MultiLocationV1", - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" + "Keys": "SessionKeys2", + "RefCount": "RefCountTo259" } }, { "minmax": [ - 1019, - null + 300, + 399 ], "types": { "CallOf": "Call", @@ -42296,7 +44723,6 @@ export const typesBundle = { "delay": "BlockNumber", "origin": "PalletsOrigin" }, - "AuthorityOrigin": "DelayedOrigin", "StorageValue": "Vec", "GraduallyUpdate": { "key": "StorageKey", @@ -42315,8 +44741,8 @@ export const typesBundle = { "OrderedSet": "Vec", "OrmlAccountData": { "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "frozen": "Balance", + "reserved": "Balance" }, "OrmlBalanceLock": { "amount": "Balance", @@ -42342,910 +44768,945 @@ export const typesBundle = { "perPeriod": "Compact" }, "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "CurrencyId", "PoolInfo": { - "totalShares": "Share", - "rewards": "BTreeMap" - }, - "CompactBalance": "Compact", - "PoolInfoV0": { "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" }, "Share": "u128", - "OracleValue": "Price", - "Amount": "i128", - "AmountOf": "Amount", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "TokenSymbol": { + "ChainId": { "_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 + "RelayChain": "Null", + "ParaChain": "ParaId" } }, - "DexShare": { - "_enum": { - "Token": "TokenSymbol", - "Erc20": "EvmAddress" - } + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(DexShare, DexShare)", - "ERC20": "EvmAddress", - "StableAssetPoolToken": "u32", - "LiquidCrowdloan": "u32", - "ForeignAsset": "u32" - } + "OracleValue": "Price", + "MarginPoolState": { + "enp": "FixedI128", + "ell": "FixedI128", + "required_deposit": "FixedI128" }, - "CurrencyIdOf": "CurrencyId", - "AirDropCurrencyId": { - "_enum": [ - "KAR", - "ACA" - ] + "MarginTraderState": { + "equity": "FixedI128", + "margin_held": "FixedI128", + "margin_level": "FixedI128", + "free_margin": "FixedI128", + "unrealized_pl": "FixedI128" }, - "AuthoritysOriginId": { + "CurrencyId": { "_enum": [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve" + "LAMI", + "AUSD", + "FEUR", + "FJPY", + "FBTC", + "FETH", + "FAUD", + "FCAD", + "FCHF", + "FXAU", + "FOIL", + "FGBP" ] }, - "AcalaDataProviderId": { + "Leverage": { "_enum": [ - "Aggregated", - "Acala", - "Band" + "LongTwo", + "LongThree", + "LongFive", + "LongTen", + "LongTwenty", + "LongThirty", + "LongFifty", + "LongReserved", + "ShortTwo", + "ShortThree", + "ShortFive", + "ShortTen", + "ShortTwenty", + "ShortThirty", + "ShortFifty", + "ShortReserved" ] }, - "TradingPair": "(CurrencyId, CurrencyId)", - "ChainBridgeChainId": "u8", - "AcalaAssetMetadata": { - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "minimalBalance": "Balance" + "SwapRate": { + "long": "Rate", + "short": "Rate" }, - "NumberOrHex": "u128", - "PalletBalanceOf": "Balance", - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "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 + } }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "TradingPair": { + "base": "CurrencyId", + "quote": "CurrencyId" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "AccumulateConfig": { + "frequency": "Moment", + "offset": "Moment" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "IdentityDepositBalanceOf": "Balance", + "Pool": { + "owner": "AccountId", + "balance": "Balance" }, - "OptionRate": "Option", - "OptionRatio": "Option", - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "MarginTradingPairOption": { + "enabled": "bool", + "maxSpread": "Option", + "swapRate": "SwapRate", + "accumulateConfig": "Option" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "MarginPoolOption": { + "additionalSwapRate": "FixedI128", + "minLeveragedAmount": "FixedU128" }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "MarginPoolTradingPairOption": { + "enabled": "bool", + "bidSpread": "Option", + "askSpread": "Option", + "enabledTrades": "Leverages" }, - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "interestRatePerSec": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "SyntheticPoolCurrencyOption": { + "bidSpread": "Option", + "askSpread": "Option", + "additionalCollateralRatio": "Option", + "syntheticEnabled": "bool" }, - "CandidateInfoOf": "CandidateInfo", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "MarginPosition": { + "owner": "AccountId", + "poolId": "LiquidityPoolId", + "pair": "TradingPair", + "leverage": "Leverage", + "leveragedHeld": "FixedI128", + "leveragedDebits": "FixedI128", + "openAccumulatedSwapRate": "Rate", + "marginHeld": "FixedI128" }, - "BalanceWrapper": { - "amount": "Balance" + "SyntheticPosition": { + "collateral": "FixedU128", + "synthetic": "FixedU128" }, - "BalanceRequest": { - "amount": "Balance" + "RiskThreshold": { + "marginCall": "Permill", + "stopOut": "Permill" }, - "TradingPairStatus": { - "_enum": { - "Disabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "PositionId": "u64", + "Rate": "FixedI128", + "PoolTraderInfo": { + "positionNum": "PositionId", + "long": "PairInfo", + "short": "PairInfo" }, - "Erc20Info": { - "address": "EvmAddress", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8" + "PairInfo": { + "baseAmount": "FixedI128", + "quoteAmount": "FixedI128" }, - "EstimateResourcesResponse": { - "gas": "u256", - "storage": "i32", - "weightFee": "u256" + "TradingPairRiskThreshold": { + "trader": "Option", + "enp": "Option", + "ell": "Option" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option" + "SyntheticTokensRatio": { + "extreme": "Option", + "liquidation": "Option", + "collateral": "Option" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "PositionsSnapshot": { + "positionsCount": "PositionId", + "long": "LeveragedAmounts", + "short": "LeveragedAmounts" }, - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "LeveragedAmounts": { + "held": "FixedI128", + "debits": "FixedI128" }, - "EvmAddress": "H160", - "CallRequest": { - "from": "Option", - "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "LiquidityPoolIdentityInfo": { + "legalName": "Vec", + "displayName": "Vec", + "web": "Vec", + "email": "Vec", + "image_url": "Vec" }, - "CallInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "Vec", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "CreateInfo": { - "exit_reason": "EvmCoreErrorExitReason", - "value": "H160", - "used_gas": "U256", - "used_storage": "i32", - "logs": "Vec" - }, - "EthereumLog": { - "address": "H160", - "topics": "Vec", - "data": "Bytes" + "SyntheticPoolState": { + "collateral_ratio": "FixedI128", + "is_safe": "boolean" }, - "EvmCoreErrorExitReason": { + "Keys": "SessionKeys2" + } + }, + { + "minmax": [ + 400, + null + ], + "types": { + "CallOf": "Call", + "DispatchTime": { "_enum": { - "Succeed": "EvmCoreErrorExitSucceed", - "Error": "EvmCoreErrorExitError", - "Revert": "EvmCoreErrorExitRevert", - "Fatal": "EvmCoreErrorExitFatal" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EvmCoreErrorExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "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" }, - "EvmCoreErrorExitError": { + "DelayedDispatchTime": { "_enum": { - "StackUnderflow": "Null", - "StackOverflow": "Null", - "InvalidJump": "Null", - "InvalidRange": "Null", - "DesignatedInvalid": "Null", - "CallTooDeep": "Null", - "CreateCollision": "Null", - "CreateContractLimit": "Null", - "OutOfOffset": "Null", - "OutOfGas": "Null", - "OutOfFund": "Null", - "PCUnderflow": "Null", - "CreateEmpty": "Null", - "Other": "Text", - "InvalidCode": "Null" + "At": "BlockNumber", + "After": "BlockNumber" } }, - "EvmCoreErrorExitRevert": { - "_enum": [ - "Reverted" - ] + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" }, - "EvmCoreErrorExitFatal": { + "VestingScheduleOf": "OrmlVestingSchedule", + "PoolInfo": { + "totalShares": "Compact", + "totalRewards": "Compact", + "totalWithdrawnRewards": "Compact" + }, + "Share": "u128", + "ChainId": { "_enum": { - "NotSupported": "Null", - "UnhandledInterrupt": "Null", - "CallErrorAsFatal": "EvmCoreErrorExitError", - "Other": "Text" + "RelayChain": "Null", + "ParaChain": "ParaId" } }, - "AcalaStakingLedge": { - "bonded": "Compact", - "unlocking": "Vec" + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" }, - "AcalaUnlockChunk": { - "value": "Compact", - "era": "Compact" + "OracleValue": "Price", + "MarginPoolState": { + "enp": "FixedI128", + "ell": "FixedI128", + "required_deposit": "FixedI128" }, - "RelaychainAccountId": "AccountId", - "SlashInfo": { - "validator": "RelaychainAccountId", - "relaychainTokenAmount": "Balance" + "MarginTraderState": { + "equity": "FixedI128", + "margin_held": "FixedI128", + "margin_level": "FixedI128", + "free_margin": "FixedI128", + "unrealized_pl": "FixedI128" }, - "ValidatorBacking": { - "totalInsurance": "Balance", - "isFrozen": "bool" + "CurrencyId": { + "_enum": [ + "LAMI", + "AUSD", + "DOT", + "FEUR", + "FJPY", + "FBTC", + "FETH", + "FAUD", + "FCAD", + "FCHF", + "FXAU", + "FOIL", + "FGBP" + ] }, - "Guarantee": { - "total": "Balance", - "bonded": "Balance", - "unbonding": "Option<(Balance, BlockNumber)>" + "Leverage": { + "_enum": [ + "LongTwo", + "LongThree", + "LongFive", + "LongTen", + "LongTwenty", + "LongThirty", + "LongFifty", + "LongReserved", + "ShortTwo", + "ShortThree", + "ShortFive", + "ShortTen", + "ShortTwenty", + "ShortThirty", + "ShortFifty", + "ShortReserved" + ] }, - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "Dex": "CurrencyId" - } + "SwapRate": { + "long": "Rate", + "short": "Rate" }, - "PoolIdV0": { - "_enum": { - "LoansIncentive": "CurrencyId", - "DexIncentive": "CurrencyId", - "HomaIncentive": "Null", - "DexSaving": "CurrencyId", - "HomaValidatorAllowance": "AccountId" + "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 } }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "TradingPair": { + "base": "CurrencyId", + "quote": "CurrencyId" }, - "CID": "Vec", - "Attributes": "BTreeMap, Vec>", - "TokenInfoOf": { - "metadata": "CID", + "AccumulateConfig": { + "frequency": "Moment", + "offset": "Moment" + }, + "IdentityDepositBalanceOf": "Balance", + "Pool": { "owner": "AccountId", - "data": "TokenData" + "balance": "Balance" }, - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2, - "Mintable": 4, - "ClassPropertiesMutable": 8 - } + "MarginTradingPairOption": { + "enabled": "bool", + "maxSpread": "Option", + "swapRate": "SwapRate", + "accumulateConfig": "Option" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties", - "attributes": "Attributes" + "MarginPoolOption": { + "additionalSwapRate": "FixedI128", + "minLeveragedAmount": "FixedU128" }, - "TokenData": { - "deposit": "Balance", - "attributes": "Attributes" + "MarginPoolTradingPairOption": { + "enabled": "bool", + "bidSpread": "Option", + "askSpread": "Option", + "enabledTrades": "Leverages" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "NFTClassId": "u32", - "ClassIdOf": "ClassId", - "NFTBalance": "u128", - "NFTBalanceOf": "NFTBalance", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", + "SyntheticPoolCurrencyOption": { + "bidSpread": "Option", + "askSpread": "Option", + "additionalCollateralRatio": "Option", + "syntheticEnabled": "bool" + }, + "MarginPosition": { "owner": "AccountId", - "data": "ClassData" + "poolId": "LiquidityPoolId", + "pair": "TradingPair", + "leverage": "Leverage", + "leveragedHeld": "FixedI128", + "leveragedDebits": "FixedI128", + "openAccumulatedSwapRate": "Rate", + "marginHeld": "FixedI128" }, - "NomineeId": "AccountId", - "HomaUnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "SyntheticPosition": { + "collateral": "FixedU128", + "synthetic": "FixedU128" }, - "BondingLedger": { - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "RiskThreshold": { + "marginCall": "Permill", + "stopOut": "Permill" }, - "OracleKey": "CurrencyId", - "AsOriginId": "AuthoritysOriginId", - "ProxyType": { - "_enum": [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan" - ] + "PositionId": "u64", + "Rate": "FixedI128", + "PoolTraderInfo": { + "positionNum": "PositionId", + "long": "PairInfo", + "short": "PairInfo" }, - "AtLeast64BitUnsigned": "u128", - "StableAssetPoolId": "u32", - "RelayChainBlockNumberOf": "RelayChainBlockNumber", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "PairInfo": { + "baseAmount": "FixedI128", + "quoteAmount": "FixedI128" }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "TradingPairRiskThreshold": { + "trader": "Option", + "enp": "Option", + "ell": "Option" }, - "StakingPoolPhase": { - "_enum": [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished" - ] + "SyntheticTokensRatio": { + "extreme": "Option", + "liquidation": "Option", + "collateral": "Option" }, - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "PositionsSnapshot": { + "positionsCount": "PositionId", + "long": "LeveragedAmounts", + "short": "LeveragedAmounts" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "LeveragedAmounts": { + "held": "FixedI128", + "debits": "FixedI128" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "LiquidityPoolIdentityInfo": { + "legalName": "Vec", + "displayName": "Vec", + "web": "Vec", + "email": "Vec", + "image_url": "Vec" }, - "BalanceInfo": { - "amount": "Balance" + "SyntheticPoolState": { + "collateral_ratio": "FixedI128", + "is_safe": "boolean" }, - "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" + "Keys": "SessionKeys2" } } - ], + ] + }, + "litentry": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "Address": "AccountId", + "LookupSource": "AccountId" + } + } + ] + }, + "logion": { "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" + "loAuthorityList": { + "StorageVersion": "LoAuthorityListStorageVersion" } - } - }, - "ajuna": { + }, "types": [ { "minmax": [ 0, - null + 109 ], "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" - ] + "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" }, - "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" + "AssetMetadata": { + "deposit": "DepositBalance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "AresPriceData": { - "price": "u64", - "account_id": "AccountId", - "create_bn": "BlockNumber", - "fraction_len": "FractionLength", - "raw_number": "JsonNumberValue", - "timestamp": "u64" + "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" }, - "BalanceOf": "Balance", - "ChooseWinnersPayload": { - "block_number": "BlockNumber", - "winners": "Vec", - "public": "AccountId", - "estimates_id": "u64", - "symbol": "Bytes", - "price": "(u64, FractionLength)" + "MetadataItem": { + "name": "Vec", + "value": "Vec", + "submitter": "AccountId" }, - "EstimatesState": { + "LocType": { "_enum": [ - "InActive", - "Active", - "WaitingPayout", - "Completed" + "Transaction", + "Identity", + "Collection" ] }, - "EstimatesType": { + "LocLink": { + "id": "LocId", + "nature": "Vec" + }, + "File": { + "hash": "Hash", + "nature": "Vec", + "submitter": "AccountId" + }, + "LocVoidInfo": { + "replacer": "Option" + }, + "StorageVersion": { "_enum": [ - "DEVIATION", - "RANGE" + "V1", + "V2MakeLocVoid", + "V3RequesterEnum", + "V4ItemSubmitter", + "V5Collection" ] }, - "FractionLength": "u32", - "HttpError": { + "Requester": { "_enum": { - "IoErr": "Bytes", - "TimeOut": "Bytes", - "StatusErr": "(Bytes,u16)", - "ParseErr": "Bytes" + "None": null, + "Account": "AccountId", + "Loc": "LocId" } }, - "HttpErrTracePayload": { - "trace_data": "HttpErrTraceData", - "auth": "AuthorityId", - "public": "MultiSigner" - }, - "HttpErrTraceData": { - "block_number": "BlockNumber", - "err_auth": "AuthorityId", - "err_status": "HttpError", - "tip": "Bytes" + "CollectionSize": "u32", + "CollectionItemId": "Hash", + "CollectionItem": { + "description": "Vec" }, - "JsonNumberValue": { - "integer": "u64", - "fraction": "u64", - "fraction_length": "u32", - "exponent": "u32" + "FullIdentification": "Exposure", + "IdentificationTuple": "(ValidatorId, FullIdentification)", + "MembershipProof": { + "session": "SessionIndex", + "trieNodes": "Vec>", + "validatorCount": "ValidatorCount" }, - "Keys": "SessionKeys3", + "SessionIndex": "u32", + "ValidatorCount": "u32", + "SessionKeys2": "(AccountId, AccountId)", + "Keys": "SessionKeys2" + } + }, + { + "minmax": [ + 110, + 111 + ], + "types": { + "Address": "MultiAddress", "LookupSource": "MultiAddress", - "MultiplierOption": { - "_enum": [ - "Base1", - "Base2", - "Base5" - ] + "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" }, - "OcwControlData": { - "need_verifier_check": "bool", - "open_free_price_reporter": "bool", - "open_paid_price_reporter": "bool" + "AssetMetadata": { + "deposit": "DepositBalance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "OffchainSignature": "MultiSignature", - "PaidValue": { - "create_bn": "BlockNumber", - "amount": "BalanceOf", - "is_income": "bool" + "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" }, - "PurchasedId": "Bytes", - "PriceKey": "Vec", - "PriceToken": "Bytes", - "PreCheckPayload": { - "block_number": "BlockNumber", - "pre_check_stash": "AccountId", - "pre_check_auth": "AuthorityId", - "auth": "AuthorityId", - "public": "MultiSigner" + "MetadataItem": { + "name": "Vec", + "value": "Vec", + "submitter": "AccountId" }, - "PreCheckResultPayload": { - "block_number": "BlockNumber", - "pre_check_list": "Vec", - "pre_check_stash": "AccountId", - "pre_check_auth": "AuthorityId", - "public": "MultiSigner" + "LocType": { + "_enum": [ + "Transaction", + "Identity", + "Collection" + ] }, - "PreCheckCompareLog": { - "chain_avg_price_list": "BTreeMap", - "validator_up_price_list": "BTreeMap", - "raw_precheck_list": "Vec" + "LocLink": { + "id": "LocId", + "nature": "Vec" }, - "PreCheckStruct": { - "price_key": "Vec", - "number_val": "JsonNumberValue", - "max_offset": "Percent", - "timestamp": "u64" + "File": { + "hash": "Hash", + "nature": "Vec", + "submitter": "AccountId" }, - "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", - "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", - "PricePayload": { - "block_number": "BlockNumber", - "price": "Vec", - "jump_block": "Vec", - "auth": "AuthorityId", - "public": "MultiSigner" + "LocVoidInfo": { + "replacer": "Option" }, - "PreCheckStatus": { + "StorageVersion": { "_enum": [ - "Review", - "Prohibit", - "Pass" + "V1", + "V2MakeLocVoid", + "V3RequesterEnum", + "V4ItemSubmitter", + "V5Collection", + "V6ItemUpload" ] }, - "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)" + "Requester": { + "_enum": { + "None": null, + "Account": "AccountId", + "Loc": "LocId" + } }, - "PurchasedDefaultData": { - "submit_threshold": "u8", - "max_duration": "u64", - "avg_keep_duration": "u64" + "CollectionSize": "u32", + "CollectionItemId": "Hash", + "CollectionItem": { + "description": "Vec", + "files": "Vec>" }, - "PurchasedForceCleanPayload": { - "BlockNumber": "BlockNumber", - "purchase_id_list": "Vec>", - "auth": "AuthorityId", - "public": "MultiSigner" + "CollectionItemFile": { + "name": "Vec", + "content_type": "Vec", + "fileSize": "u32", + "hash": "Hash" }, - "PurchaseId": "Vec", - "Releases": { - "_enum": [ - "V1_0_0_Ancestral", - "V1_0_1_HttpErrUpgrade", - "V1_1_0_HttpErrUpgrade", - "V1_2_0" - ] + "FullIdentification": "Exposure", + "IdentificationTuple": "(ValidatorId, FullIdentification)", + "MembershipProof": { + "session": "SessionIndex", + "trieNodes": "Vec>", + "validatorCount": "ValidatorCount" }, - "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" - } + "SessionIndex": "u32", + "ValidatorCount": "u32", + "SessionKeys2": "(AccountId, AccountId)", + "Keys": "SessionKeys2" } - } - ] - }, - "ares-mars": { - "types": [ + }, { "minmax": [ - 0, - null + 112, + 116 ], "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" + "LookupSource": "MultiAddress", + "OpaquePeerId": "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" }, - "AresPriceData": { - "price": "u64", - "account_id": "AccountId", - "create_bn": "BlockNumber", - "fraction_len": "FractionLength", - "raw_number": "JsonNumberValue", - "timestamp": "u64" + "AssetMetadata": { + "deposit": "DepositBalance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "BalanceOf": "Balance", - "ChooseWinnersPayload": { - "block_number": "BlockNumber", - "winners": "Vec", - "public": "AccountId", - "estimates_config": "Bytes", - "symbol": "Bytes", - "price": "(u64, FractionLength)" + "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" }, - "EstimatesState": { - "_enum": [ - "InActive", - "Active", - "WaitingPayout", - "Completed" - ] + "MetadataItem": { + "name": "Vec", + "value": "Vec", + "submitter": "AccountId" }, - "EstimatesType": { + "LocType": { "_enum": [ - "DEVIATION", - "RANGE" + "Transaction", + "Identity", + "Collection" ] }, - "FractionLength": "u32", - "HttpError": { - "_enum": { - "IoErr": "Bytes", - "TimeOut": "Bytes", - "StatusErr": "(Bytes,u16)", - "ParseErr": "Bytes" - } + "LocLink": { + "id": "LocId", + "nature": "Vec" }, - "HttpErrTracePayload": { - "trace_data": "HttpErrTraceData", - "auth": "AuthorityId", - "public": "MultiSigner" - }, - "HttpErrTraceData": { - "block_number": "BlockNumber", - "err_auth": "AuthorityId", - "err_status": "HttpError", - "tip": "Bytes" + "File": { + "hash": "Hash", + "nature": "Vec", + "submitter": "AccountId" }, - "JsonNumberValue": { - "integer": "u64", - "fraction": "u64", - "fraction_length": "u32", - "exponent": "u32" + "LocVoidInfo": { + "replacer": "Option" }, - "Keys": "SessionKeys4", - "LookupSource": "MultiAddress", - "MultiplierOption": { + "StorageVersion": { "_enum": [ - "Base1", - "Base2", - "Base5" + "V1", + "V2MakeLocVoid", + "V3RequesterEnum", + "V4ItemSubmitter", + "V5Collection", + "V6ItemUpload", + "V7ItemToken" ] }, - "OcwControlData": { - "need_verifier_check": "bool", - "open_free_price_reporter": "bool", - "open_paid_price_reporter": "bool" + "Requester": { + "_enum": { + "None": null, + "Account": "AccountId", + "Loc": "LocId" + } }, - "OffchainSignature": "MultiSignature", - "PaidValue": { - "create_bn": "BlockNumber", - "amount": "BalanceOf", - "is_income": "bool" + "CollectionSize": "u32", + "CollectionItemId": "Hash", + "CollectionItem": { + "description": "Vec", + "files": "Vec>", + "token": "Option", + "restricted_delivery": "bool" }, - "PurchasedId": "Bytes", - "PriceKey": "Vec", - "PriceToken": "Bytes", - "PreCheckPayload": { - "block_number": "BlockNumber", - "pre_check_stash": "AccountId", - "pre_check_auth": "AuthorityId", - "auth": "AuthorityId", - "public": "MultiSigner" + "CollectionItemFile": { + "name": "Vec", + "content_type": "Vec", + "fileSize": "u32", + "hash": "Hash" }, - "PreCheckResultPayload": { - "block_number": "BlockNumber", - "pre_check_list": "Vec", - "pre_check_stash": "AccountId", - "pre_check_auth": "AuthorityId", - "public": "MultiSigner" + "CollectionItemToken": { + "token_type": "Vec", + "token_id": "Vec" }, - "PreCheckCompareLog": { - "chain_avg_price_list": "BTreeMap", - "validator_up_price_list": "BTreeMap", - "raw_precheck_list": "Vec" + "FullIdentification": "Exposure", + "IdentificationTuple": "(ValidatorId, FullIdentification)", + "MembershipProof": { + "session": "SessionIndex", + "trieNodes": "Vec>", + "validatorCount": "ValidatorCount" }, - "PreCheckStruct": { - "price_key": "Vec", - "number_val": "JsonNumberValue", - "max_offset": "Percent", - "timestamp": "u64" + "SessionIndex": "u32", + "ValidatorCount": "u32", + "SessionKeys2": "(AccountId, AccountId)", + "Keys": "SessionKeys2" + } + }, + { + "minmax": [ + 117, + null + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "OpaquePeerId": "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" }, - "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", - "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", - "PricePayload": { - "block_number": "BlockNumber", - "price": "Vec", - "jump_block": "Vec", - "auth": "AuthorityId", - "public": "MultiSigner" + "AssetMetadata": { + "deposit": "DepositBalance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "PreCheckStatus": { + "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", + "seal": "Option" + }, + "MetadataItem": { + "name": "Vec", + "value": "Vec", + "submitter": "AccountId" + }, + "LocType": { "_enum": [ - "Review", - "Prohibit", - "Pass" + "Transaction", + "Identity", + "Collection" ] }, - "PurchasedRequestData": { - "account_id": "AccountId", - "offer": "BalanceOf", - "create_bn": "BlockNumber", - "submit_threshold": "u8", - "max_duration": "u64", - "request_keys": "Vec>" + "LocLink": { + "id": "LocId", + "nature": "Vec" }, - "PurchasedPricePayload": { - "block_number": "BlockNumber", - "purchase_id": "Vec", - "price": "Vec", - "auth": "AuthorityId", - "public": "MultiSigner" + "File": { + "hash": "Hash", + "nature": "Vec", + "submitter": "AccountId" }, - "PurchasedAvgPriceData": { - "create_bn": "u64", - "reached_type": "u8", - "price_data": "(u64, FractionLength)" + "LocVoidInfo": { + "replacer": "Option" }, - "PurchasedDefaultData": { - "submit_threshold": "u8", - "max_duration": "u64", - "avg_keep_duration": "u64" + "StorageVersion": { + "_enum": [ + "V1", + "V2MakeLocVoid", + "V3RequesterEnum", + "V4ItemSubmitter", + "V5Collection", + "V6ItemUpload", + "V7ItemToken", + "V8AddSeal" + ] }, - "PurchasedForceCleanPayload": { - "BlockNumber": "BlockNumber", - "purchase_id_list": "Vec>", - "auth": "AuthorityId", - "public": "MultiSigner" + "Requester": { + "_enum": { + "None": null, + "Account": "AccountId", + "Loc": "LocId" + } }, - "PurchaseId": "Vec", - "Releases": { + "CollectionSize": "u32", + "CollectionItemId": "Hash", + "CollectionItem": { + "description": "Vec", + "files": "Vec>", + "token": "Option", + "restricted_delivery": "bool" + }, + "CollectionItemFile": { + "name": "Vec", + "content_type": "Vec", + "fileSize": "u32", + "hash": "Hash" + }, + "CollectionItemToken": { + "token_type": "Vec", + "token_id": "Vec" + }, + "LegalOfficerData": { + "node_id": "Option", + "base_url": "Option>" + }, + "LoAuthorityListStorageVersion": { "_enum": [ - "V1_0_0_Ancestral", - "V1_0_1_HttpErrUpgrade", - "V1_1_0_HttpErrUpgrade", - "V1_2_0" + "V1", + "V2AddOnchainSettings" ] }, - "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" - } + "FullIdentification": "Exposure", + "IdentificationTuple": "(ValidatorId, FullIdentification)", + "MembershipProof": { + "session": "SessionIndex", + "trieNodes": "Vec>", + "validatorCount": "ValidatorCount" + }, + "SessionIndex": "u32", + "ValidatorCount": "u32", + "SessionKeys2": "(AccountId, AccountId)", + "Keys": "SessionKeys2" } } ] }, - "ares-odyssey": { + "logion-parachain": { "types": [ { "minmax": [ @@ -43254,4168 +45715,3698 @@ export const typesBundle = { ], "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" + "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" }, - "AresPriceData": { - "price": "u64", - "account_id": "AccountId", - "create_bn": "BlockNumber", - "fraction_len": "FractionLength", - "raw_number": "JsonNumberValue", - "timestamp": "u64" + "AssetMetadata": { + "deposit": "DepositBalance", + "name": "Vec", + "symbol": "Vec", + "decimals": "u8" }, - "BalanceOf": "Balance", - "ChooseWinnersPayload": { - "block_number": "BlockNumber", - "winners": "Vec", - "public": "AccountId", - "estimates_config": "Bytes", - "symbol": "Bytes", - "price": "(u64, FractionLength)" + "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" }, - "EstimatesState": { - "_enum": [ - "InActive", - "Active", - "WaitingPayout", - "Completed" - ] + "MetadataItem": { + "name": "Vec", + "value": "Vec", + "submitter": "AccountId" }, - "EstimatesType": { + "LocType": { "_enum": [ - "DEVIATION", - "RANGE" + "Transaction", + "Identity", + "Collection" ] }, - "FractionLength": "u32", - "HttpError": { - "_enum": { - "IoErr": "Bytes", - "TimeOut": "Bytes", - "StatusErr": "(Bytes,u16)", - "ParseErr": "Bytes" - } - }, - "HttpErrTracePayload": { - "trace_data": "HttpErrTraceData", - "auth": "AuthorityId", - "public": "MultiSigner" + "LocLink": { + "id": "LocId", + "nature": "Vec" }, - "HttpErrTraceData": { - "block_number": "BlockNumber", - "err_auth": "AuthorityId", - "err_status": "HttpError", - "tip": "Bytes" + "File": { + "hash": "Hash", + "nature": "Vec", + "submitter": "AccountId" }, - "JsonNumberValue": { - "integer": "u64", - "fraction": "u64", - "fraction_length": "u32", - "exponent": "u32" + "LocVoidInfo": { + "replacer": "Option" }, - "Keys": "SessionKeys4", - "LookupSource": "MultiAddress", - "MultiplierOption": { + "StorageVersion": { "_enum": [ - "Base1", - "Base2", - "Base5" + "V1", + "V2MakeLocVoid", + "V3RequesterEnum", + "V4ItemSubmitter", + "V5Collection" ] }, - "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" + "Requester": { + "_enum": { + "None": null, + "Account": "AccountId", + "Loc": "LocId" + } }, - "PricePayloadSubPrice": "(PriceKey, u64, FractionLength, JsonNumberValue, u64)", - "PricePayloadSubJumpBlock": "(PriceKey, RequestInterval)", - "PricePayload": { - "block_number": "BlockNumber", - "price": "Vec", - "jump_block": "Vec", - "auth": "AuthorityId", - "public": "MultiSigner" + "CollectionSize": "u32", + "CollectionItemId": "Hash", + "CollectionItem": { + "description": "Vec" + } + } + } + ] + }, + "mangata": { + "types": [ + { + "minmax": [ + 0, + null + ], + "types": { + "ShufflingSeed": { + "seed": "H256", + "proof": "H512" }, - "PreCheckStatus": { - "_enum": [ - "Review", - "Prohibit", - "Pass" - ] + "Header": { + "parentHash": "Hash", + "number": "Compact", + "stateRoot": "Hash", + "extrinsicsRoot": "Hash", + "digest": "Digest", + "seed": "ShufflingSeed", + "count": "BlockNumber" }, - "PurchasedRequestData": { - "account_id": "AccountId", - "offer": "BalanceOf", - "create_bn": "BlockNumber", - "submit_threshold": "u8", - "max_duration": "u64", - "request_keys": "Vec>" + "XYKRpcResult": { + "price": "Balance" }, - "PurchasedPricePayload": { - "block_number": "BlockNumber", - "purchase_id": "Vec", - "price": "Vec", - "auth": "AuthorityId", - "public": "MultiSigner" + "RPCAmountsResult": { + "firstAssetAmount": "Balance", + "secondAssetAmount": "Balance" }, - "PurchasedAvgPriceData": { - "create_bn": "u64", - "reached_type": "u8", - "price_data": "(u64, FractionLength)" + "VestingInfo": { + "locked": "Balance", + "perBlock": "Balance", + "startingBlock": "BlockNumber" }, - "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" + "TokenId": "u32", + "VestingInfosWithLockedAt": { + "vestingInfosWithLockedAt": "Vec<(VestingInfo, Balance)>" } } } - ] - }, - "asgard": { + ], "rpc": { - "oracle": { - "getValue": { - "description": "Retrieves the oracle value for a given key.", + "xyk": { + "calculate_buy_price": { + "description": "", "params": [ { - "name": "providerId", - "type": "RpcDataProviderId" + "name": "input_reserve", + "type": "Balance" }, { - "name": "key", - "type": "OracleKey" + "name": "output_reserve", + "type": "Balance" }, { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "sell_amount", + "type": "Balance" } ], - "type": "Option", - "isSubscription": false, - "jsonrpc": "oracle_getValue", - "method": "getValue", - "section": "oracle" + "type": "XYKRpcResult" }, - "getAllValues": { - "description": "Retrieves all oracle values.", + "calculate_sell_price": { + "description": "", "params": [ { - "name": "providerId", - "type": "RpcDataProviderId" + "name": "input_reserve", + "type": "Balance" }, { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "output_reserve", + "type": "Balance" + }, + { + "name": "sell_amount", + "type": "Balance" } ], - "type": "Vec<(OracleKey, Option)>", - "isSubscription": false, - "jsonrpc": "oracle_getAllValues", - "method": "getAllValues", - "section": "oracle" - } - }, - "farming": { - "getFarmingRewards": { - "description": "Get farming rewards", + "type": "XYKRpcResult" + }, + "get_burn_amount": { + "description": "", "params": [ { - "name": "who", - "type": "AccountId" + "name": "first_asset_id", + "type": "TokenId" }, { - "name": "pid", - "type": "PoolId" + "name": "second_asset_id", + "type": "TokenId" }, { - "name": "at", - "type": "Hash", - "isOptional": true + "name": "liquidity_asset_amount", + "type": "Balance" } ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "farming_getFarmingRewards", - "method": "getFarmingRewards", - "section": "farming" + "type": "RPCAmountsResult" }, - "getGaugeRewards": { - "description": "Get gauge rewards", + "calculate_sell_price_id": { + "description": "", "params": [ { - "name": "who", - "type": "AccountId" + "name": "sold_token_id", + "type": "TokenId" }, { - "name": "pid", - "type": "PoolId" + "name": "bought_token_id", + "type": "TokenId" }, { - "name": "at", - "type": "Hash", - "isOptional": true + "name": "sell_amount", + "type": "Balance" } ], - "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.", + "type": "XYKRpcResult" + }, + "calculate_buy_price_id": { + "description": "", "params": [ { - "name": "who", - "type": "AccountId" + "name": "sold_token_id", + "type": "TokenId" }, { - "name": "extrinsic", - "type": "Bytes" + "name": "bought_token_id", + "type": "TokenId" }, { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "buy_amount", + "type": "Balance" } ], - "type": "(CurrencyId, U256)", - "isSubscription": false, - "jsonrpc": "flexibleFee_getFeeTokenAndAmount", - "method": "getFeeTokenAndAmount", - "section": "flexibleFee" - } - }, - "salp": { - "getContribution": { - "description": "salp getContribution", + "type": "XYKRpcResult" + }, + "calculate_rewards_amount": { + "description": "", "params": [ { - "name": "index", - "type": "ParaId" + "name": "user", + "type": "AccountId" }, { - "name": "who", - "type": "AccountIdOf" + "name": "liquidity_asset_id", + "type": "TokenId" } ], - "type": "(Balance, ContributionStatus)", - "isSubscription": false, - "jsonrpc": "salp_getContribution", - "method": "getContribution", - "section": "salp" + "type": "XYKRpcResult" }, - "getLiteContribution": { - "description": "salp getLiteContribution", + "calculate_rewards_amount_v2": { + "description": "", "params": [ { - "name": "index", - "type": "ParaId" + "name": "user", + "type": "AccountId" }, { - "name": "who", - "type": "AccountIdOf" + "name": "liquidity_asset_id", + "type": "TokenId" } ], - "type": "(Balance, ContributionStatus)", - "isSubscription": false, - "jsonrpc": "salp_getLiteContribution", - "method": "getLiteContribution", - "section": "salp" - } - }, - "vtokenMint": { - "getVtokenMintRate": { - "description": "Get current vtoken mint rate.", + "type": "XYKRpcResult" + }, + "get_max_instant_unreserve_amount": { + "description": "", "params": [ { - "name": "asset_id", - "type": "CurrencyId" + "name": "user", + "type": "AccountId" }, { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "liquidity_asset_id", + "type": "TokenId" } ], - "type": "String", - "isSubscription": false, - "jsonrpc": "vtokenMint_getVtokenMintRate", - "method": "getVtokenMintRate", - "section": "vtokenMint" - } - }, - "zenlinkProtocol": { - "getAllAssets": { - "description": "zenlinkProtocol getAllAssets", + "type": "Balance" + }, + "get_max_instant_burn_amount": { + "description": "", "params": [ { - "name": "at", - "type": "Hash", - "isOptional": true + "name": "user", + "type": "AccountId" + }, + { + "name": "liquidity_asset_id", + "type": "TokenId" } ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAllAssets", - "method": "getAllAssets", - "section": "zenlinkProtocol" + "type": "Balance" }, - "getBalance": { - "description": "zenlinkProtocol getBalance", + "get_vesting_locked_at": { + "description": "", "params": [ { - "name": "asset_id", - "type": "ZenlinkAssetId" - }, - { - "name": "account", + "name": "who", "type": "AccountId" }, { - "name": "at", - "type": "Hash", - "isOptional": true + "name": "token_id", + "type": "TokenId" } ], - "type": "String", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getBalance", - "method": "getBalance", - "section": "zenlinkProtocol" - }, - "getSovereignsInfo": { - "description": "Get the ownership of a certain currency for each parachain.", + "type": "VestingInfosWithLockedAt" + } + } + } + }, + "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" + }, + "XYKRpcResult": { + "price": "Balance" + }, + "RPCAmountsResult": { + "firstAssetAmount": "Balance", + "secondAssetAmount": "Balance" + }, + "VestingInfo": { + "locked": "Balance", + "perBlock": "Balance", + "startingBlock": "BlockNumber" + }, + "TokenId": "u32", + "VestingInfosWithLockedAt": { + "vestingInfosWithLockedAt": "Vec<(VestingInfo, Balance)>" + } + } + } + ], + "rpc": { + "xyk": { + "calculate_buy_price": { + "description": "", "params": [ { - "name": "asset_id", - "type": "ZenlinkAssetId" + "name": "input_reserve", + "type": "Balance" }, { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "output_reserve", + "type": "Balance" + }, + { + "name": "sell_amount", + "type": "Balance" } ], - "type": "(u32, AccountId, String)", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getSovereignsInfo", - "method": "getSovereignsInfo", - "section": "zenlinkProtocol" + "type": "XYKRpcResult" }, - "getPairByAssetId": { - "description": "Get the detailed information of a particular exchange pair.", + "calculate_sell_price": { + "description": "", "params": [ { - "name": "asset_0", - "type": "ZenlinkAssetId" + "name": "input_reserve", + "type": "Balance" }, { - "name": "asset_1", - "type": "ZenlinkAssetId" + "name": "output_reserve", + "type": "Balance" }, { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "sell_amount", + "type": "Balance" } ], - "type": "PairInfo", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getPairByAssetId", - "method": "getPairByAssetId", - "section": "zenlinkProtocol" + "type": "XYKRpcResult" }, - "getAmountInPrice": { - "description": "Get the output token amount for an exact input token amount.", + "get_burn_amount": { + "description": "", "params": [ { - "name": "supply", - "type": "ZenlinkAssetBalance" + "name": "first_asset_id", + "type": "TokenId" }, { - "name": "path", - "type": "Vec" + "name": "second_asset_id", + "type": "TokenId" }, { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "liquidity_asset_amount", + "type": "Balance" } ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountInPrice", - "method": "getAmountInPrice", - "section": "zenlinkProtocol" + "type": "RPCAmountsResult" }, - "getAmountOutPrice": { - "description": "Get the input token amount for an exact output token amount.", + "calculate_sell_price_id": { + "description": "", "params": [ { - "name": "supply", - "type": "ZenlinkAssetBalance" + "name": "sold_token_id", + "type": "TokenId" }, { - "name": "path", - "type": "Vec" + "name": "bought_token_id", + "type": "TokenId" }, { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "sell_amount", + "type": "Balance" } ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountOutPrice", - "method": "getAmountOutPrice", - "section": "zenlinkProtocol" + "type": "XYKRpcResult" }, - "getEstimateLptoken": { - "description": "Get the estimated number of LP token acquired given the desired and minimum amount for both in-token and out-token.", + "calculate_buy_price_id": { + "description": "", "params": [ { - "name": "asset_0", - "type": "ZenlinkAssetId" + "name": "sold_token_id", + "type": "TokenId" }, { - "name": "asset_1", - "type": "ZenlinkAssetId" + "name": "bought_token_id", + "type": "TokenId" }, { - "name": "amount_0_desired", - "type": "ZenlinkAssetBalance" - }, + "name": "buy_amount", + "type": "Balance" + } + ], + "type": "XYKRpcResult" + }, + "calculate_rewards_amount": { + "description": "", + "params": [ { - "name": "amount_1_desired", - "type": "ZenlinkAssetBalance" + "name": "user", + "type": "AccountId" }, { - "name": "amount_0_min", - "type": "ZenlinkAssetBalance" - }, + "name": "liquidity_asset_id", + "type": "TokenId" + } + ], + "type": "XYKRpcResult" + }, + "calculate_rewards_amount_v2": { + "description": "", + "params": [ { - "name": "amount_1_min", - "type": "ZenlinkAssetBalance" + "name": "user", + "type": "AccountId" }, { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "liquidity_asset_id", + "type": "TokenId" } ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getEstimateLptoken", - "method": "getEstimateLptoken", - "section": "zenlinkProtocol" - } - }, - "liquidityMining": { - "getRewards": { - "description": "Get the rewards users deserve", + "type": "XYKRpcResult" + }, + "get_max_instant_unreserve_amount": { + "description": "", "params": [ { - "name": "who", + "name": "user", "type": "AccountId" }, { - "name": "pid", - "type": "PoolId" - }, + "name": "liquidity_asset_id", + "type": "TokenId" + } + ], + "type": "Balance" + }, + "get_max_instant_burn_amount": { + "description": "", + "params": [ { - "name": "pallet_instance", - "type": "U32" + "name": "user", + "type": "AccountId" }, { - "name": "at", - "type": "Hash", - "isOptional": true + "name": "liquidity_asset_id", + "type": "TokenId" } ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "liquidityMining_getRewards", - "method": "getRewards", - "section": "liquidityMining" - } - } - }, + "type": "Balance" + }, + "get_vesting_locked_at": { + "description": "", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "token_id", + "type": "TokenId" + } + ], + "type": "VestingInfosWithLockedAt" + } + } + } + }, + "manta-node": { "types": [ { "minmax": [ 0, - 901 + null ], "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "CurrencyId": { + "_enum": [ + "MA" + ] }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "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" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "Balance": "u128", + "DelegationNode": { + "rootId": "DelegationNodeId", + "parent": "Option", + "owner": "AccountId", + "permissions": "Permissions", + "revoked": "bool" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "DelegationNodeId": "Hash", + "DelegationRoot": { + "ctypeHash": "Hash", + "owner": "AccountId", + "revoked": "bool" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "DidRecord": { + "signKey": "Hash", + "boxKey": "Hash", + "docRef": "Option>" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "Index": "u64", + "LookupSource": "AccountId", + "Permissions": "u32", + "PublicBoxKey": "Hash", + "PublicSigningKey": "Hash", + "Signature": "MultiSignature", + "XCurrencyId": { + "chainId": "ChainId", + "currencyId": "Vec" }, - "DelayedDispatchTime": { + "ChainId": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "RelayChain": "Null", + "ParaChain": "ParaId" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "CurrencyIdOf": "CurrencyId", + "CurrencyId": { + "_enum": { + "DOT": 0, + "KSM": 1, + "KILT": 2 + } }, - "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" + "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 + } }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "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" }, - "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" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "DidIdentifierOf", + "DelegationSignature": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" + } }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "BlockchainType": { + "DidVerificationKeyRelationship": { "_enum": [ - "BIFROST", - "EOS", - "IOST" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" - }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" - }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" - }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" - }, - "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" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" + } }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InternalError": "Null" + } }, - "TxOut": { + "StorageError": { "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "TransactionStatus": { + "SignatureError": { "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" - }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" - }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" }, - "IostTxOut": { + "DidVerificationKeyUpdateAction": { "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "PalletBalanceOf": "Balance", - "ExtraFeeName": { - "_enum": [ - "SalpContribute", - "NoExtraFee" - ] + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "ledger": { - "Substrate": "SubstrateLedger" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "SubstrateLedger": { - "account": "AccountId", - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "HttpUrl": { + "payload": "Text" }, - "UnlockChunk": { - "value": "Balance", - "unlock_time": "TimeUnit" + "FtpUrl": { + "payload": "Text" }, - "FilecoinLedger": { - "account": "MultiLocationV1", - "initial_pledge": "Balance" + "IpfsUrl": { + "payload": "Text" }, - "FilecoinOwnerByMinerEntry": { - "currency_id": "AccountId", - "miner_id": "MultiLocationV1", - "owner_id": "MultiLocationV1" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" + "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" }, - "RedeemStatus": "BalanceOf", - "FundStatus": { - "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 - } + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Redeemed", - "Unlocked", - "MigratedIdle", - "Contributing" - ] + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "CrowdloanContributeCall": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "CrowdloanContribute": "ContributeCall" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]" } }, - "ContributeCall": { + "DidEncryptionKey": { "_enum": { - "Contribute": "Contribution" + "X25519": "[u8; 32]" } }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" - }, - "WithdrawCall": { + "DidPublicKey": { "_enum": { - "Withdraw": "Withdraw" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "ParachainTransactProxyType": { - "_enum": { - "Primary": 0, - "Derived": 1 - } + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "ParachainDerivedProxyAccountType": { + "DidSignature": { "_enum": { - "Salp": 0, - "Staking": 1 + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature" } }, - "Keys": "SessionKeys1", - "ParachainTransactType": { + "DidError": { "_enum": { - "Xcm": 0, - "Proxy": 1 + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "RpcContributionStatus": { + "StorageError": { "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "amount": "BalanceOf", - "remain": "BalanceOf", - "total_price": "BalanceOf", - "order_id": "OrderId", - "order_type": "OrderType", - "remain_price": "BalanceOf" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "OrderId": "u64", - "OrderType": { + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" + }, + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { "_enum": { - "Sell": 0, - "Buy": 1 + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "UnlockId": "U32", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" + "HttpUrl": { + "payload": "Text" }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" + "FtpUrl": { + "payload": "Text" }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } + "IpfsUrl": { + "payload": "Text" }, - "TokenSymbol": { + "Url": { "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "ETH": 5, - "KAR": 6, - "ZLK": 7, - "PHA": 8, - "RMRK": 9, - "MOVR": 10, - "GLMR": 11 + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", - "ForeignAsset": "u32", - "Token2": "u8", - "VToken2": "u8", - "VSToken2": "u8", - "VSBond2": "u8", - "StableLpToken": "u32" - } + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "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 - } + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "TimeUnit": { - "Era": "u32", - "SlashingSpan": "u32", - "Round": "u32", - "Kblock": "u32" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "MinimumsMaximums": { - "delegator_bonded_minimum": "Balance", - "bond_extra_minimum": "Balance", - "unbond_minimum": "Balance", - "rebond_minimum": "Balance", - "unbond_record_maximum": "u32", - "validators_back_maximum": "u32", - "delegator_active_staking_maximum": "Balance", - "validators_reward_maximum": "u32", - "delegation_amount_minimum": "Balance", - "delegators_maximum": "u16", - "validators_maximum": "u16" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "PoolType": { - "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 - } + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "PoolState": { - "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 - } + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber", - "pending_unlocks": "Vec<(BlockNumber, Balance)>" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "RewardData": { + "Delegator": { + "delegations": "Vec", + "total": "Balance" + }, + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" + "state": "CollatorStatus" }, - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "MultiLocation": "MultiLocationV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } } }, { "minmax": [ - 902, - null + 12, + 16 ], "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "DelegationNode": { + "rootId": "DelegationNodeIdOf", + "parent": "Option", + "owner": "DelegatorIdOf", + "permissions": "Permissions", + "revoked": "bool" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "DelayedDispatchTime": { + "DidSignature": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "u8", - "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "redeem_limit_time": "BlockNumber", - "unlock_limit_nums": "u32", - "pending_unlock_nums": "u32" - }, - "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" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "BlockchainType": { + "SignatureError": { "_enum": [ - "BIFROST", - "EOS", - "IOST" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" - }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" + "DidVerificationKeyUpdateAction": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" + "HttpUrl": { + "payload": "Text" }, - "Succeeded": { - "tx_id": "Vec" + "FtpUrl": { + "payload": "Text" }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" + "IpfsUrl": { + "payload": "Text" }, - "TxOut": { + "Url": { "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] - }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" - }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" - }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "IostTxOut": { - "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" - } + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "PalletBalanceOf": "Balance", - "ExtraFeeName": { - "_enum": [ - "SalpContribute", - "NoExtraFee" - ] + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "ledger": { - "Substrate": "SubstrateLedger" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "SubstrateLedger": { - "account": "AccountId", + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "state": "CollatorStatus" }, - "UnlockChunk": { - "value": "Balance", - "unlock_time": "TimeUnit" + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } }, - "FilecoinLedger": { - "account": "MultiLocationV1", - "initial_pledge": "Balance" + "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" }, - "FilecoinOwnerByMinerEntry": { - "currency_id": "AccountId", - "miner_id": "MultiLocationV1", - "owner_id": "MultiLocationV1" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "RedeemStatus": "BalanceOf", - "FundStatus": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Redeemed", - "Unlocked", - "MigratedIdle", - "Contributing" - ] - }, - "CrowdloanContributeCall": { + "DidEncryptionKey": { "_enum": { - "CrowdloanContribute": "ContributeCall" + "X25519": "[u8; 32]" } }, - "ContributeCall": { + "DidPublicKey": { "_enum": { - "Contribute": "Contribution" + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" - }, - "WithdrawCall": { - "_enum": { - "Withdraw": "Withdraw" - } + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "ParachainTransactProxyType": { + "DidSignature": { "_enum": { - "Primary": 0, - "Derived": 1 + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "ParachainDerivedProxyAccountType": { + "DidError": { "_enum": { - "Salp": 0, - "Staking": 1 + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "Keys": "SessionKeys1", - "ParachainTransactType": { + "StorageError": { "_enum": { - "Xcm": 0, - "Proxy": 1 + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "RpcContributionStatus": { - "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 - } + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "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" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "endpointUrl": "Option", + "lastTxCounter": "u64" }, - "OrderId": "u64", - "OrderType": { + "DidCreationOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "DidVerificationKey", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" + }, + "DidUpdateOperation": { + "did": "DidIdentifierOf", + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option", + "txCounter": "u64" + }, + "DidVerificationKeyUpdateAction": { "_enum": { - "Sell": 0, - "Buy": 1 + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "UnlockId": "U32", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" + "DidDeletionOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64" }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" + "HttpUrl": { + "payload": "Text" }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" + "FtpUrl": { + "payload": "Text" }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } + "IpfsUrl": { + "payload": "Text" }, - "TokenSymbol": { + "Url": { "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "ETH": 5, - "KAR": 6, - "ZLK": 7, - "PHA": 8, - "RMRK": 9, - "MOVR": 10, - "GLMR": 11 + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", - "ForeignAsset": "u32", - "Token2": "u8", - "VToken2": "u8", - "VSToken2": "u8", - "VSBond2": "u8", - "StableLpToken": "u32" - } + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "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 - } + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "TimeUnit": { - "Era": "u32", - "SlashingSpan": "u32", - "Round": "u32", - "Kblock": "u32" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "MinimumsMaximums": { - "delegator_bonded_minimum": "Balance", - "bond_extra_minimum": "Balance", - "unbond_minimum": "Balance", - "rebond_minimum": "Balance", - "unbond_record_maximum": "u32", - "validators_back_maximum": "u32", - "delegator_active_staking_maximum": "Balance", - "validators_reward_maximum": "u32", - "delegation_amount_minimum": "Balance", - "delegators_maximum": "u16", - "validators_maximum": "u16" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "PoolType": { - "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 - } + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "PoolState": { + "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": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 + "Active": "Null", + "Leaving": "SessionIndex" } }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber", - "pending_unlocks": "Vec<(BlockNumber, Balance)>" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "RewardData": { - "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "MultiLocation": "MultiLocationV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + } } - } - ], - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" - } - } - }, - "astar": { - "types": [ + }, { "minmax": [ - 0, - null + 18, + 18 ], "types": { - "Keys": "AccountId", + "AccountInfo": "AccountInfoWithTripleRefCount", "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", "LookupSource": "MultiAddress", - "AmountOf": "Amount", - "Amount": "i128", - "SmartContract": { - "_enum": { - "Evm": "H160", - "Wasm": "AccountId" - } + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "EraStakingPoints": { - "total": "Balance", - "stakers": "BTreeMap", - "formerStakedEra": "EraIndex", - "claimedRewards": "Balance" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "EraRewardAndStake": { - "rewards": "Balance", - "staked": "Balance" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "EraIndex": "u32" - } - } - ] - }, - "automata": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "ResourceId": "[u8; 32]", - "DepositNonce": "u64", - "ProposalStatus": { - "_enum": [ - "Initiated", - "Approved", - "Rejected" - ] + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "status": "ProposalStatus" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "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" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "ProposalId": "u32", - "ProjectId": "u32", - "ChainIndex": "u32", - "Protocol": { + "DidVerificationKeyRelationship": { "_enum": [ - "Solidity", - "Substrate" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "Chain": { - "_protocol": "Protocol" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "CrossChainAccount": { + "DidError": { "_enum": { - "Solidity": "H160", - "Substrate": "AccountId" + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "IpfsHash": "Text", - "SolidityStrategy": { + "StorageError": { "_enum": { - "ERC20Balance": "H160" + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" } }, - "SubstrateStrategy": { + "SignatureError": { "_enum": [ - "NativeBalance" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "Strategy": { + "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": { - "Solidity": "SolidityStrategy", - "Substrate": "SubstrateStrategy" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "Workspace": { - "_chain": "ChainIndex", - "strategies": "Vec" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "UserGroup": { - "owner": "CrossChainAccount", - "admins": "Vec", - "maintainers": "Vec", - "proposers": "Option>" + "HttpUrl": { + "payload": "Text" }, - "Project": { - "usergroup": "UserGroup", - "data": "IpfsHash", - "workspaces": "Vec" + "FtpUrl": { + "payload": "Text" }, - "VotingFormat": { - "_enum": [ - "SingleChoice", - "SplitVote" - ] + "IpfsUrl": { + "payload": "Text" }, - "OptionIndex": "u8", - "PrivacyLevel": { + "Url": { "_enum": { - "Opaque": "u8", - "Rank": "Null", - "Private": "Null", - "Public": "Null", - "Mixed": "Null" + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "VotingPower": "U256", - "DAOProposalState": { - "finalized": "bool", - "snapshots": "Vec>", - "blacklisted": "bool", - "votes": "Vec", - "pub_voters": "Option", - "updates": "u32" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "DAOProposal": { - "_author": "CrossChainAccount", - "_voting_format": "VotingFormat", - "_option_count": "OptionIndex", - "_data": "IpfsHash", - "_privacy": "PrivacyLevel", - "_start": "u64", - "_end": "u64", - "_frequency": "Option", - "_workspaces": "Vec", - "state": "DAOProposalState" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "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" + "OrderedSet": "Vec", + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "IntentionId": "Hash", - "IntentionType": { - "_enum": [ - "SELL", - "BUY" - ] + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "LookupSource": "AccountId", - "Price": "Balance", - "ClassId": "u64", - "TokenId": "u64", - "ClassData": { - "is_pool": "bool" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "TokenData": { - "locked": "bool" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "ClassInfo": { - "metadata": "Vec", - "total_issuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "TokenInfo": { - "metadata": "Vec", - "owner": "AccountId", - "data": "TokenData" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "ClassInfoOf": "ClassInfo", - "TokenInfoOf": "TokenInfo", - "ClassIdOf": "ClassId", - "TokenIdOf": "TokenId", - "OrderedSet": "Vec", - "VestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "period_count": "u32", - "per_period": "Compact" + "CollatorSnapshot": { + "stake": "Balance", + "delegators": "Vec", + "total": "Balance" }, - "VestingScheduleOf": "VestingSchedule", - "LBPWeight": "u32", - "WeightCurveType": { - "_enum": [ - "Linear" - ] + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "PoolId": "AccountId", - "BalanceOf": "Balance", - "AssetType": { + "CollatorStatus": { "_enum": { - "Token": "Null", - "PoolShare": "(AssetId,AssetId)" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "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" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "Balance2": "u128", - "VoteStage": { - "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" - ] + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "VoteType": { - "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" - ] + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "TallyType": { + "DelegationStorageVersion": { "_enum": [ - "OnePerson", - "OneCoin" + "V1", + "V2" ] }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" - }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "BTreeSet", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newEndpointUrl": "Option" }, - "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" + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "BTreeSet", + "attestationKeyUpdate": "DidVerificationKeyUpdateAction", + "delegationKeyUpdate": "DidVerificationKeyUpdateAction", + "publicKeysToRemove": "BTreeSet", + "newEndpointUrl": "Option" + } } }, { "minmax": [ - 32, - 38 + 19, + 19 ], "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" - ] + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "TallyType": { - "_enum": [ - "OnePerson", - "OneCoin" - ] + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "Vec", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BTreeSet", + "details": "DelegationDetails" }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "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" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "Balance2": "u128", - "VoteStage": { - "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" - ] + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "VoteType": { + "DidVerificationKeyRelationship": { "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "TallyType": { - "_enum": [ - "OnePerson", - "OneCoin" - ] + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null" + } }, - "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": { + "SignatureError": { "_enum": [ - "Initiated", - "Approved", - "Rejected" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "staus": "ProposalStatus", - "expiry": "BlockNumber" - }, - "VoteStage": { + "KeyError": { "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "VoteType": { + "UrlError": { "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "TallyType": { + "InputError": { "_enum": [ - "OnePerson", - "OneCoin" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "AccountInfo": "AccountInfoWithRefCount", - "Address": "MultiAddress", - "LookupSource": "MultiAddress" + "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": [ - 47, - null + 20, + 20 ], "types": { - "Balance2": "u128", - "DepositNonce": "u64", - "ResourceId": "[u8; 32]", - "ProposalStatus": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "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": [ - "Initiated", - "Approved", - "Rejected" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "staus": "ProposalStatus", - "expiry": "BlockNumber" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "VoteStage": { + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } + }, + "SignatureError": { "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" ] }, - "VoteType": { + "KeyError": { "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" ] }, - "TallyType": { + "UrlError": { "_enum": [ - "OnePerson", - "OneCoin" + "InvalidUrlEncoding", + "InvalidUrlScheme" ] }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "CID": "Vec", - "Properties": { - "_set": { - "Transferable": 1, - "Burnable": 2 + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "TokenData": { - "deposit": "Balance" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "ClassInfo": { - "metadata": "Vec", - "total_issuance": "TokenId", + "OrderedSet": "BoundedVec", + "Stake": { "owner": "AccountId", - "data": "ClassData" + "amount": "Balance" }, - "ClassInfoOf": "ClassInfo", - "TokenInfo": { - "metadata": "Vec", - "owner": "AccountId", - "data": "TokenData" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "TokenInfoOf": "TokenInfo", - "TokenId": "u64", - "ClassIdOf": "ClassId", - "TokenIdOf": "TokenId", - "Amount": "i128", - "AmountOf": "Amount", - "Approval": { - "amount": "Balance", - "deposit": "Balance" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "ApprovalKey": { - "owner": "AccountId", - "delegate": "AccountId" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "Commitment": "ScalarData", - "CurrencyId": "u64", - "CurrencyIdOf": "CurrencyId", - "DustHandlerType": { + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" + }, + "Delegator": { + "delegations": "OrderedSet", + "total": "Balance" + }, + "Collator": { + "id": "AccountId", + "stake": "Balance", + "delegators": "OrderedSet", + "total": "Balance", + "state": "CollatorStatus" + }, + "CollatorStatus": { "_enum": { - "Burn": "Null", - "Transfer": "AccountId" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "HashFunction": { + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { "_enum": [ - "PoseidonDefault", - "PoseidonExp3", - "PoseidonExp5", - "PoseidonExp17", - "MiMC", - "Blake2", - "Sha256" + "V1", + "V2" ] }, - "Manager": { - "accountId": "AccountId", - "required": "bool" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAttestationKey": "Option", + "newDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "MerkleTree": { - "leaf_count": "u32", - "max_leaves": "u32", - "depth": "u8", - "root_hash": "ScalarData", - "edge_nodes": "Vec", - "hasher": "HashFunction", - "should_store_leaves": "bool" + "DidUpdateDetails": { + "newAuthenticationKey": "Option", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "attestationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "delegationKeyUpdate": "DidFragmentUpdateAction_DidVerificationKey", + "publicKeysToRemove": "DidVerificationKeysToRevoke", + "serviceEndpointsUpdate": "DidFragmentUpdateAction_ServiceEndpoints" }, - "MixerInfo": { - "minimum_deposit_length_for_reward": "BlockNumber", - "fixed_deposit_size": "Balance", - "currency_id": "CurrencyIdOf" + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" }, - "Nullifier": "ScalarData", - "ScalarData": "[u8; 32]", - "TokenDetails": { - "owner": "AccountId", - "issuer": "AccountId", - "admin": "AccountId", - "freezer": "AccountId", - "supply": "Balance", - "deposit": "Balance", - "min_balance": "Balance", - "approvals": "u32", - "is_frozen": "bool", - "dust_type": "DustHandlerType" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "TokenMetadata": { - "deposit": "Balance", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "is_frozen": "bool" + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" + } }, - "TreeId": "u32", - "WithdrawProof": { - "mixer_id": "TreeId", - "cached_block": "BlockNumber", - "cached_root": "ScalarData", - "comms": "Vec", - "nullifier_hash": "ScalarData", - "proof_bytes": "Vec", - "leaf_index_commitments": "Vec", - "proof_commitments": "Vec", - "recipient": "Option", - "relayer": "Option" - }, - "ETHBlock": { - "inner": "Block" + "ContentType": { + "_enum": [ + "ApplicationJson", + "ApplicationJsonLd" + ] }, - "ETHReceipts": { - "inner": "Vec" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "ETHTxStatuses": { - "inner": "Vec" + "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", - "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 + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" + }, + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" + }, + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" + }, + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } - ], - "type": "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 + }, + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" } - ], - "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 + }, + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } - ], - "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 + }, + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } - ], - "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 + }, + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } - ], - "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" + }, + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" } - ], - "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" + }, + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] + }, + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] + }, + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] + }, + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] + }, + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" + }, + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" + }, + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" + }, + "HttpUrl": { + "payload": "Text" + }, + "FtpUrl": { + "payload": "Text" + }, + "IpfsUrl": { + "payload": "Text" + }, + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } - ], - "type": "(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 + }, + "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" } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "vtokenMint_getVtokenMintRate", - "method": "getVtokenMintRate", - "section": "vtokenMint" - } - }, - "zenlinkProtocol": { - "getAllAssets": { - "description": "zenlinkProtocol getAllAssets", - "params": [ - { - "name": "at", - "type": "Hash", - "isOptional": true + }, + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" + }, + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" + }, + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" + }, + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] + }, + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" + }, + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" + }, + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" } - ], - "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 + }, + "DidFragmentUpdateAction_DidVerificationKey": { + "_enum": { + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getBalance", - "method": "getBalance", - "section": "zenlinkProtocol" - }, - "getSovereignsInfo": { - "description": "Get the ownership of a certain currency for each parachain.", - "params": [ - { - "name": "asset_id", - "type": "ZenlinkAssetId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "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" + }, + "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" } }, - "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 + 23, + 24 ], "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" + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "DelayedDispatchTime": { + "DidEncryptionKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "X25519": "[u8; 32]" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "u8", - "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "redeem_limit_time": "BlockNumber", - "unlock_limit_nums": "u32", - "pending_unlock_nums": "u32" + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "Share": "u128", - "OracleValue": "Price", - "BiddingOrderId": "u64", - "EraId": "u32", - "BiddingOrderUnit": { - "bidder_id": "AccountId", - "token_id": "AssetId", - "block_num": "BlockNumber", - "votes": "Balance", - "annual_roi": "Permill", - "validator": "AccountId" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" + } }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "BlockchainType": { + "InputError": { "_enum": [ - "BIFROST", - "EOS", - "IOST" + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" ] }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf" }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" + "HttpUrl": { + "payload": "Text" }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" + "FtpUrl": { + "payload": "Text" }, - "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" + "IpfsUrl": { + "payload": "Text" }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" + "Url": { + "_enum": { + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" + } }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "Succeeded": { - "tx_id": "Vec" + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "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" - ] + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "IostTxOut": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "PalletBalanceOf": "Balance", - "ExtraFeeName": { + "ContentType": { "_enum": [ - "SalpContribute", - "NoExtraFee" + "application/json", + "application/ld+json" ] }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "ledger": { - "Substrate": "SubstrateLedger" - }, - "SubstrateLedger": { - "account": "AccountId", - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "UnlockChunk": { - "value": "Balance", - "unlock_time": "TimeUnit" - }, - "FilecoinLedger": { - "account": "MultiLocationV1", - "initial_pledge": "Balance" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "FilecoinOwnerByMinerEntry": { - "currency_id": "AccountId", - "miner_id": "MultiLocationV1", - "owner_id": "MultiLocationV1" + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] }, - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" + "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" }, - "RedeemStatus": "BalanceOf", - "FundStatus": { + "CandidateStatus": { "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 + "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" }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Redeemed", - "Unlocked", - "MigratedIdle", - "Contributing" - ] + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationRoot": { + "ctypeHash": "CtypeHashOf", + "owner": "DelegatorIdOf", + "revoked": "bool" }, - "CrowdloanContributeCall": { - "_enum": { - "CrowdloanContribute": "ContributeCall" - } + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails" }, - "ContributeCall": { + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { "_enum": { - "Contribute": "Contribution" + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" } }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" - }, - "WithdrawCall": { + "DidEncryptionKey": { "_enum": { - "Withdraw": "Withdraw" + "X25519": "[u8; 32]" } }, - "ParachainTransactProxyType": { + "DidPublicKey": { "_enum": { - "Primary": 0, - "Derived": 1 + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" } }, - "ParachainDerivedProxyAccountType": { + "DidVerificationKeyRelationship": { + "_enum": [ + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" + ] + }, + "DidSignature": { "_enum": { - "Salp": 0, - "Staking": 1 + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" } }, - "Keys": "SessionKeys1", - "ParachainTransactType": { + "DidError": { "_enum": { - "Xcm": 0, - "Proxy": 1 + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "UrlError": "UrlError", + "InputError": "InputError", + "InternalError": "Null" } }, - "RpcContributionStatus": { + "StorageError": { "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "VerificationKeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxTxCounterValue": "Null", + "MaxPublicKeysPerDidKeyIdentifierExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "MaxOldAttestationKeysExceeded": "Null" } }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce" + ] }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" + "UrlError": { + "_enum": [ + "InvalidUrlEncoding", + "InvalidUrlScheme" + ] }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded", + "MaxUrlLengthExceeded" + ] }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "amount": "BalanceOf", - "remain": "BalanceOf", - "total_price": "BalanceOf", - "order_id": "OrderId", - "order_type": "OrderType", - "remain_price": "BalanceOf" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "OrderId": "u64", - "OrderType": { - "_enum": { - "Sell": 0, - "Buy": 1 - } + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "serviceEndpoints": "Option", + "lastTxCounter": "u64" }, - "UnlockId": "U32", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "submitter": "AccountId" }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" + "HttpUrl": { + "payload": "Text" }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" + "FtpUrl": { + "payload": "Text" }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" + "IpfsUrl": { + "payload": "Text" }, - "PairStatus": { + "Url": { "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null + "Http": "HttpUrl", + "Ftp": "FtpUrl", + "Ipfs": "IpfsUrl" } }, - "TokenSymbol": { - "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "KAR": 6, - "ZLK": 7, - "PHA": 8, - "RMRK": 9, - "MOVR": 10, - "GLMR": 11 - } + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", - "ForeignAsset": "u32", - "Token2": "u8", - "VToken2": "u8", - "VSToken2": "u8", - "VSBond2": "u8", - "StableLpToken": "u32" - } + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "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 - } + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "TimeUnit": { - "Era": "u32", - "SlashingSpan": "u32", - "Round": "u32", - "Kblock": "u32" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "MinimumsMaximums": { - "delegator_bonded_minimum": "Balance", - "bond_extra_minimum": "Balance", - "unbond_minimum": "Balance", - "rebond_minimum": "Balance", - "unbond_record_maximum": "u32", - "validators_back_maximum": "u32", - "delegator_active_staking_maximum": "Balance", - "validators_reward_maximum": "u32", - "delegation_amount_minimum": "Balance", - "delegators_maximum": "u16", - "validators_maximum": "u16" + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "PoolType": { - "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 - } + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "PoolState": { - "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 - } + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber", - "pending_unlocks": "Vec<(BlockNumber, Balance)>" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "RewardData": { - "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "MultiLocation": "MultiLocationV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [ - 902, - null - ], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option", + "newServiceEndpoints": "Option" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "ServiceEndpoints": { + "contentHash": "Hash", + "urls": "BoundedVec", + "contentType": "ContentType" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "DelayedDispatchTime": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "ContentType": { + "_enum": [ + "application/json", + "application/ld+json" + ] }, - "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" + "DidStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { + "_enum": [ + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" + ] }, - "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" + "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" }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" + "CandidateStatus": { + "_enum": { + "Active": "Null", + "Leaving": "SessionIndex" + } + } + } + }, + { + "minmax": [ + 2700, + 10710 + ], + "types": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "Address": "MultiAddress", + "AmountOf": "i128", + "Balance": "u128", + "BlockNumber": "u64", + "Index": "u64", + "LookupSource": "MultiAddress", + "CtypeCreatorOf": "AccountId", + "CtypeHashOf": "Hash", + "ClaimHashOf": "Hash", + "AttesterOf": "AccountId", + "AttestationDetails": { + "ctypeHash": "CtypeHashOf", + "attester": "AttesterOf", + "delegationId": "Option", + "revoked": "bool", + "deposit": "Deposit" }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" + "Permissions": "u32", + "DelegationNodeIdOf": "Hash", + "DelegatorIdOf": "AccountId", + "DelegateSignatureTypeOf": "DidSignature", + "DelegationNode": { + "hierarchyRootId": "DelegationNodeIdOf", + "parent": "Option", + "children": "BoundedBTreeSet", + "details": "DelegationDetails", + "deposit": "Deposit" }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" + "KeyIdOf": "Hash", + "DidIdentifierOf": "AccountId", + "AccountIdentifierOf": "AccountId", + "BlockNumberOf": "BlockNumber", + "DidCallableOf": "Call", + "DidVerificationKey": { + "_enum": { + "Ed25519": "[u8; 32]", + "Sr25519": "[u8; 32]", + "Secp256k1": "[u8; 33]" + } }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" + "DidEncryptionKey": { + "_enum": { + "X25519": "[u8; 32]" + } }, - "BlockchainType": { + "DidPublicKey": { + "_enum": { + "PublicVerificationKey": "DidVerificationKey", + "PublicEncryptionKey": "DidEncryptionKey" + } + }, + "DidVerificationKeyRelationship": { "_enum": [ - "BIFROST", - "EOS", - "IOST" + "Authentication", + "CapabilityDelegation", + "CapabilityInvocation", + "AssertionMethod" ] }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" - }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" + "DidSignature": { + "_enum": { + "Ed25519": "Ed25519Signature", + "Sr25519": "Sr25519Signature", + "Ecdsa-Secp256k1": "EcdsaSignature" + } }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" + "DidError": { + "_enum": { + "StorageError": "StorageError", + "SignatureError": "SignatureError", + "InputError": "InputError", + "InternalError": "Null" + } }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" + "StorageError": { + "_enum": { + "DidAlreadyPresent": "Null", + "DidNotPresent": "Null", + "DidKeyNotPresent": "DidVerificationKeyRelationship", + "KeyNotPresent": "Null", + "CurrentlyActiveKey": "Null", + "MaxPublicKeysPerDidExceeded": "Null", + "MaxTotalKeyAgreementKeysExceeded": "Null", + "DidAlreadyDeleted": "Null" + } }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" + "SignatureError": { + "_enum": [ + "InvalidSignatureFormat", + "InvalidSignature", + "InvalidNonce", + "TransactionExpired" + ] }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" + "KeyError": { + "_enum": [ + "InvalidVerificationKeyFormat", + "InvalidEncryptionKeyFormat" + ] }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" + "InputError": { + "_enum": [ + "MaxKeyAgreementKeysLimitExceeded", + "MaxVerificationKeysToRemoveLimitExceeded" + ] }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" + "DidPublicKeyDetails": { + "key": "DidPublicKey", + "blockNumber": "BlockNumberOf" }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" + "DidDetails": { + "authenticationKey": "KeyIdOf", + "keyAgreementKeys": "DidKeyAgreementKeys", + "capabilityDelegationKey": "Option", + "assertionMethodKey": "Option", + "publicKeys": "DidPublicKeyMap", + "lastTxCounter": "u64", + "deposit": "Deposit" }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" + "DidAuthorizedCallOperation": { + "did": "DidIdentifierOf", + "txCounter": "u64", + "call": "DidCallableOf", + "blockNumber": "BlockNumber", + "submitter": "AccountId" }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" + "LockedBalance": { + "block": "BlockNumber", + "amount": "Balance" }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" + "BalanceOf": "Balance", + "RoundInfo": { + "current": "SessionIndex", + "first": "BlockNumber", + "length": "BlockNumber" }, - "Succeeded": { - "tx_id": "Vec" + "Stake": { + "owner": "AccountId", + "amount": "Balance" }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" + "TotalStake": { + "collators": "Balance", + "delegators": "Balance" }, - "TxOut": { - "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" - } + "InflationInfo": { + "collator": "StakingInfo", + "delegator": "StakingInfo" }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] + "StakingInfo": { + "maxRate": "Perquintill", + "rewardRate": "RewardRate" }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" + "RewardRate": { + "annual": "Perquintill", + "perBlock": "Perquintill" }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" + "Delegator": { + "delegations": "Vec", + "total": "Balance" }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" + "DelegationCounter": { + "round": "SessionIndex", + "counter": "u32" }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" + "DelegationDetails": { + "owner": "DelegatorIdOf", + "revoked": "bool", + "permissions": "Permissions" }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" + "DelegationHierarchyDetails": { + "ctypeHash": "CtypeHashOf" }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" + "DelegationStorageVersion": { + "_enum": [ + "V1", + "V2" + ] }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" + "DidCreationDetails": { + "did": "DidIdentifierOf", + "submitter": "AccountId", + "newKeyAgreementKeys": "DidNewKeyAgreementKeys", + "newAssertionMethodKey": "Option", + "newCapabilityDelegationKey": "Option" }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" + "DidFragmentUpdateAction_ServiceEndpoints": { + "_enum": { + "Ignore": "Null", + "Change": "ServiceEndpoints", + "Delete": "Null" + } }, - "IostTxOut": { + "DidFragmentUpdateAction_DidVerificationKey": { "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" + "Ignore": "Null", + "Change": "DidVerificationKey", + "Delete": "Null" } }, - "PalletBalanceOf": "Balance", - "ExtraFeeName": { + "DidStorageVersion": { "_enum": [ - "SalpContribute", - "NoExtraFee" + "V1", + "V2", + "V3" ] }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "ledger": { - "Substrate": "SubstrateLedger" - }, - "SubstrateLedger": { - "account": "AccountId", - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" - }, - "UnlockChunk": { - "value": "Balance", - "unlock_time": "TimeUnit" - }, - "FilecoinLedger": { - "account": "MultiLocationV1", - "initial_pledge": "Balance" - }, - "FilecoinOwnerByMinerEntry": { - "currency_id": "AccountId", - "miner_id": "MultiLocationV1", - "owner_id": "MultiLocationV1" - }, - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" - }, - "RedeemStatus": "BalanceOf", - "FundStatus": { - "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 - } - }, - "ContributionStatus": { + "MaxDelegatorsPerCollator": "u32", + "MaxCollatorsPerDelegator": "u32", + "StakingStorageVersion": { "_enum": [ - "Idle", - "Refunded", - "Redeemed", - "Unlocked", - "MigratedIdle", - "Contributing" + "V1_0_0", + "V2_0_0", + "V3_0_0", + "V4", + "V5" ] }, - "CrowdloanContributeCall": { - "_enum": { - "CrowdloanContribute": "ContributeCall" - } + "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" }, - "ContributeCall": { + "CandidateStatus": { "_enum": { - "Contribute": "Contribution" + "Active": "Null", + "Leaving": "SessionIndex" } }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" + "Deposit": { + "owner": "AccountId", + "amount": "Balance" + } + } + }, + { + "minmax": [ + 10720, + 10899 + ], + "types": { + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "RawDidDetails" + }, + "RawServiceEndpoints": { + "id": "Text", + "serviceTypes": "Vec", + "urls": "Vec" + }, + "RawDidDetails": { + "authenticationKey": "Hash", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap>", + "lastTxCounter": "BlockNumber", + "deposit": "KiltSupportDeposit" + }, + "DidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "RpcDidDetails" }, - "WithdrawCall": { - "_enum": { - "Withdraw": "Withdraw" - } + "RpcServiceEndpoint": { + "id": "String", + "serviceTypes": "Vec", + "urls": "Vec" }, - "ParachainTransactProxyType": { - "_enum": { - "Primary": 0, - "Derived": 1 - } + "RpcDidDetails": { + "authenticationKey": "Hash", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "lastTxCounter": "BlockNumber", + "deposit": "KiltSupportDeposit" }, - "ParachainDerivedProxyAccountType": { - "_enum": { - "Salp": 0, - "Staking": 1 - } + "RpcPublicKeyDetails": { + "key": "RpcDidPublicKey", + "blockNumber": "BlockNumber" }, - "Keys": "SessionKeys1", - "ParachainTransactType": { + "RpcDidPublicKey": { "_enum": { - "Xcm": 0, - "Proxy": 1 + "PublicVerificationKey": "RpcDidVerificationKey", + "PublicEncryptionKey": "RpcDidEncryptionKey" } }, - "RpcContributionStatus": { + "RpcDidVerificationKey": { "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 + "Ed25519": "AccountId32", + "Sr25519": "AccountId32", + "Ecdsa": "AccountId33" } }, - "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": { + "RpcDidEncryptionKey": { "_enum": { - "Sell": 0, - "Buy": 1 + "X25519": "AccountId32" } }, - "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" + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } + } + }, + { + "minmax": [ + 10900, + null + ], + "types": { + "RawDidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "RawDidDetails" + }, + "RawServiceEndpoints": { + "id": "Text", + "serviceTypes": "Vec", + "urls": "Vec" + }, + "RawDidDetails": { + "authenticationKey": "Hash", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap>", + "lastTxCounter": "BlockNumber", + "deposit": "KiltSupportDeposit" + }, + "DidLinkedInfo": { + "identifier": "AccountId32", + "accounts": "Vec", + "w3n": "Option", + "serviceEndpoints": "Vec", + "details": "RpcDidDetails" }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } + "RpcServiceEndpoint": { + "id": "String", + "serviceTypes": "Vec", + "urls": "Vec" }, - "TokenSymbol": { - "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "KAR": 6, - "ZLK": 7, - "PHA": 8, - "RMRK": 9, - "MOVR": 10, - "GLMR": 11 - } + "RpcDidDetails": { + "authenticationKey": "Hash", + "keyAgreementKeys": "BTreeSet", + "delegationKey": "Option", + "attestationKey": "Option", + "publicKeys": "BTreeMap", + "lastTxCounter": "BlockNumber", + "deposit": "KiltSupportDeposit" }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", - "ForeignAsset": "u32", - "Token2": "u8", - "VToken2": "u8", - "VSToken2": "u8", - "VSBond2": "u8", - "StableLpToken": "u32" - } + "RpcPublicKeyDetails": { + "key": "RpcDidPublicKey", + "blockNumber": "BlockNumber" }, - "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": { + "RpcDidPublicKey": { "_enum": { - "FromSelf": 0, - "FromRelayChain": 1, - "FromSiblingParaChain": 2 + "PublicVerificationKey": "RpcDidVerificationKey", + "PublicEncryptionKey": "RpcDidEncryptionKey" } }, - "TimeUnit": { - "Era": "u32", - "SlashingSpan": "u32", - "Round": "u32", - "Kblock": "u32" - }, - "MinimumsMaximums": { - "delegator_bonded_minimum": "Balance", - "bond_extra_minimum": "Balance", - "unbond_minimum": "Balance", - "rebond_minimum": "Balance", - "unbond_record_maximum": "u32", - "validators_back_maximum": "u32", - "delegator_active_staking_maximum": "Balance", - "validators_reward_maximum": "u32", - "delegation_amount_minimum": "Balance", - "delegators_maximum": "u16", - "validators_maximum": "u16" - }, - "PoolType": { + "RpcDidVerificationKey": { "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 + "Ed25519": "AccountId32", + "Sr25519": "AccountId32", + "Ecdsa": "AccountId33" } }, - "PoolState": { + "RpcDidEncryptionKey": { "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 + "X25519": "AccountId32" } }, - "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" + "StakingRates": { + "collatorStakingRate": "Perquintill", + "collatorRewardRate": "Perquintill", + "delegatorStakingRate": "Perquintill", + "delegatorRewardRate": "Perquintill" + } } } ], - "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" + "runtime": { + "DidApi": [ + { + "methods": { + "query_did_by_w3n": { + "description": "Return the information relative to the owner of the provided web3name, if any.", + "params": [ + { + "name": "name", + "type": "Text" + } + ], + "type": "Option>" }, - { - "name": "key", - "type": "OracleKey" + "query_did_by_account_id": { + "description": "Return the information relative to the DID to which the provided account is linked, if any.", + "params": [ + { + "name": "account", + "type": "AccountId32" + } + ], + "type": "Option>" }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "query_did": { + "description": "Return the information relative to the owner of the provided DID, if present.", + "params": [ + { + "name": "did", + "type": "AccountId32" + } + ], + "type": "Option>" } - ], - "type": "Option", - "isSubscription": false, - "jsonrpc": "oracle_getValue", - "method": "getValue", - "section": "oracle" - }, - "getAllValues": { - "description": "Retrieves all oracle values.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" + }, + "version": 1 + } + ], + "ParachainStakingApi": [ + { + "methods": { + "get_staking_rates": { + "description": "Calculate the current staking and reward rates for collators and delegators", + "params": [], + "type": "StakingRates" }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "get_unclaimed_staking_rewards": { + "description": "Calculate the claimable staking rewards for a given account address", + "params": [ + { + "name": "account", + "type": "AccountId32" + } + ], + "type": "Balance" } - ], - "type": "Vec<(OracleKey, Option)>", - "isSubscription": false, - "jsonrpc": "oracle_getAllValues", - "method": "getAllValues", - "section": "oracle" + }, + "version": 1 } - }, - "farming": { - "getFarmingRewards": { - "description": "Get farming rewards", + ] + }, + "rpc": { + "did": { + "query": { + "description": "Return the DID information linked to the provided DID identifier, if found.", "params": [ { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" + "name": "did", + "type": "AccountId32" }, { "name": "at", @@ -47423,22 +49414,14 @@ export const typesBundle = { "isOptional": true } ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "farming_getFarmingRewards", - "method": "getFarmingRewards", - "section": "farming" + "type": "Option" }, - "getGaugeRewards": { - "description": "Get gauge rewards", + "queryByWeb3Name": { + "description": "Return the DID information linked to the provided web3name, if found.", "params": [ { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" + "name": "name", + "type": "String" }, { "name": "at", @@ -47446,7356 +49429,6975 @@ export const typesBundle = { "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" + "type": "Option" }, - "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.", + "queryByAccount": { + "description": "Return the DID information linked to the provided account, if found.", "params": [ { - "name": "asset_id", - "type": "CurrencyId" + "name": "account", + "type": "AccountId32" }, - { - "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": "Option" + } + } + } + }, + "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" } - ], - "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 + }, + "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" } - ], - "type": "(u32, AccountId, String)", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getSovereignsInfo", - "method": "getSovereignsInfo", - "section": "zenlinkProtocol" + }, + "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" }, - "getPairByAssetId": { - "description": "Get the detailed information of a particular exchange pair.", + "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": "asset_0", - "type": "ZenlinkAssetId" - }, - { - "name": "asset_1", - "type": "ZenlinkAssetId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "filter", + "type": "FilterRequest" } ], - "type": "PairInfo", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getPairByAssetId", - "method": "getPairByAssetId", - "section": "zenlinkProtocol" - }, - "getAmountInPrice": { - "description": "Get the output token amount for an exact input token amount.", + "type": "Result>" + } + }, + "debug": { + "traceTransaction": { + "aliasSection": "debug", + "description": "Debug trace tx", "params": [ { - "name": "supply", - "type": "ZenlinkAssetBalance" - }, - { - "name": "path", - "type": "Vec" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "transaction_hash", + "type": "H256" } ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountInPrice", - "method": "getAmountInPrice", - "section": "zenlinkProtocol" - }, - "getAmountOutPrice": { - "description": "Get the input token amount for an exact output token amount.", + "type": "Result>" + } + }, + "xcm": { + "injectDownwardMessage": { + "description": "Inject a downward message from the relay chain.", "params": [ { - "name": "supply", - "type": "ZenlinkAssetBalance" - }, - { - "name": "path", - "type": "Vec" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "message", + "type": "Vec" } ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountOutPrice", - "method": "getAmountOutPrice", - "section": "zenlinkProtocol" + "type": "Result<()>" }, - "getEstimateLptoken": { - "description": "Get the estimated number of LP token acquired given the desired and minimum amount for both in-token and out-token.", + "injectHrmpMessage": { + "description": "Inject an HRMP message from a dedicated channel from a sibling parachain", "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": "sender", + "type": "ParaId" }, { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true + "name": "message", + "type": "Vec" } ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getEstimateLptoken", - "method": "getEstimateLptoken", - "section": "zenlinkProtocol" + "type": "Result<()>" } }, - "liquidityMining": { - "getRewards": { - "description": "Get the rewards users deserve", + "moon": { + "isBlockFinalized": { + "description": "Returns whether an Ethereum block is finalized", "params": [ { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" - }, - { - "name": "pallet_instance", - "type": "U32" - }, + "name": "blockHash", + "type": "Hash" + } + ], + "type": "bool" + }, + "isTxFinalized": { + "description": "Returns whether an Ethereum transaction is finalized", + "params": [ { - "name": "at", - "type": "Hash", - "isOptional": true + "name": "txHash", + "type": "Hash" } ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "liquidityMining_getRewards", - "method": "getRewards", - "section": "liquidityMining" + "type": "bool" } } }, + "instances": { + "council": [ + "councilCollective" + ], + "technicalCommittee": [ + "techCommitteeCollective" + ] + }, "types": [ { "minmax": [ 0, - 901 + 4 ], "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "RefCount": "u8", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8" + } + }, + { + "minmax": [ + 5, + 5 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8" + } + }, + { + "minmax": [ + 6, + 19 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "ValidatorStatus" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "DelayedDispatchTime": { + "ValidatorStatus": { "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "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" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "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" + "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" }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" - }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "BlockchainType": { - "_enum": [ - "BIFROST", - "EOS", - "IOST" - ] + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + } + } + }, + { + "minmax": [ + 36, + 36 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Succeeded": { - "tx_id": "Vec" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "TxOut": { - "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" - } + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "IostTxOut": { - "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" - } + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "PalletBalanceOf": "Balance", - "ExtraFeeName": { - "_enum": [ - "SalpContribute", - "NoExtraFee" - ] + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "ledger": { - "Substrate": "SubstrateLedger" + "AuthorId": "AccountId" + } + }, + { + "minmax": [ + 37, + 42 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "SubstrateLedger": { - "account": "AccountId", + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "state": "CollatorStatus" }, - "UnlockChunk": { - "value": "Balance", - "unlock_time": "TimeUnit" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "FilecoinLedger": { - "account": "MultiLocationV1", - "initial_pledge": "Balance" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "FilecoinOwnerByMinerEntry": { - "currency_id": "AccountId", - "miner_id": "MultiLocationV1", - "owner_id": "MultiLocationV1" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "RedeemStatus": "BalanceOf", - "FundStatus": { - "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 - } + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Redeemed", - "Unlocked", - "MigratedIdle", - "Contributing" - ] + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "CrowdloanContributeCall": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { "_enum": { - "CrowdloanContribute": "ContributeCall" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "ContributeCall": { - "_enum": { - "Contribute": "Contribution" - } + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "WithdrawCall": { - "_enum": { - "Withdraw": "Withdraw" - } + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "ParachainTransactProxyType": { - "_enum": { - "Primary": 0, - "Derived": 1 - } + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "ParachainDerivedProxyAccountType": { - "_enum": { - "Salp": 0, - "Staking": 1 - } + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "Keys": "SessionKeys1", - "ParachainTransactType": { - "_enum": { - "Xcm": 0, - "Proxy": 1 - } + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "RpcContributionStatus": { - "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 - } + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + } + } + }, + { + "minmax": [ + 43, + 154 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "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", - "swap_fee_rate": "SwapFee", - "active": "bool" + "amount": "Balance" }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "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" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "OrderId": "u64", - "OrderType": { + "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": { - "Sell": 0, - "Buy": 1 + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "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" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "TokenSymbol": { - "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "KAR": 6, - "ZLK": 7, - "PHA": 8, - "RMRK": 9, - "MOVR": 10, - "GLMR": 11 - } + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", - "ForeignAsset": "u32", - "Token2": "u8", - "VToken2": "u8", - "VSToken2": "u8", - "VSBond2": "u8", - "StableLpToken": "u32" - } + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "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 - } + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "TimeUnit": { - "Era": "u32", - "SlashingSpan": "u32", - "Round": "u32", - "Kblock": "u32" + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "MinimumsMaximums": { - "delegator_bonded_minimum": "Balance", - "bond_extra_minimum": "Balance", - "unbond_minimum": "Balance", - "rebond_minimum": "Balance", - "unbond_record_maximum": "u32", - "validators_back_maximum": "u32", - "delegator_active_staking_maximum": "Balance", - "validators_reward_maximum": "u32", - "delegation_amount_minimum": "Balance", - "delegators_maximum": "u16", - "validators_maximum": "u16" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" }, - "PoolType": { - "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 - } + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "PoolState": { + "NominatorAdded": { "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 + "AddedToBottom": "Null", + "AddedToTop": "Balance" } }, - "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" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "MultiLocation": "MultiLocationV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + } } }, { "minmax": [ - 902, - null + 155, + 199 ], "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "DelayedDispatchTime": { + "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": { - "At": "BlockNumber", - "After": "BlockNumber" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "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" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "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" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "BlockchainType": { + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { "_enum": [ - "BIFROST", - "EOS", - "IOST" + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" ] }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" - }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + } + } + }, + { + "minmax": [ + 200, + 399 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "Succeeded": { - "tx_id": "Vec" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "TxOut": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" }, - "IostTxOut": { + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" + "AddedToTop": "Balance", + "AddedToBottom": "Null" } }, - "PalletBalanceOf": "Balance", - "ExtraFeeName": { - "_enum": [ - "SalpContribute", - "NoExtraFee" - ] - }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "ledger": { - "Substrate": "SubstrateLedger" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "SubstrateLedger": { + "ParachainBondConfig": { "account": "AccountId", - "total": "Balance", - "active": "Balance", - "unlocking": "Vec" + "percent": "Percent" }, - "UnlockChunk": { - "value": "Balance", - "unlock_time": "TimeUnit" + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" }, - "FilecoinLedger": { - "account": "MultiLocationV1", - "initial_pledge": "Balance" + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } }, - "FilecoinOwnerByMinerEntry": { - "currency_id": "AccountId", - "miner_id": "MultiLocationV1", - "owner_id": "MultiLocationV1" + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" }, - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" + "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" }, - "RedeemStatus": "BalanceOf", - "FundStatus": { - "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 - } + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Redeemed", - "Unlocked", - "MigratedIdle", - "Contributing" - ] + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "CrowdloanContributeCall": { - "_enum": { - "CrowdloanContribute": "ContributeCall" - } + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "ContributeCall": { - "_enum": { - "Contribute": "Contribution" - } + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "WithdrawCall": { - "_enum": { - "Withdraw": "Withdraw" - } + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "ParachainTransactProxyType": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { "_enum": { - "Primary": 0, - "Derived": 1 + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "ParachainDerivedProxyAccountType": { - "_enum": { - "Salp": 0, - "Staking": 1 - } + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "Keys": "SessionKeys1", - "ParachainTransactType": { - "_enum": { - "Xcm": 0, - "Proxy": 1 - } + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "RpcContributionStatus": { - "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 - } + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "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" + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "OrderId": "u64", - "OrderType": { + "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": { - "Sell": 0, - "Buy": 1 + "AddedToTop": "Balance", + "AddedToBottom": "Null" } }, - "UnlockId": "U32", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", + "ParachainBondConfig": { "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, - "GLMR": 11 - } - }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)", - "ForeignAsset": "u32", - "Token2": "u8", - "VToken2": "u8", - "VSToken2": "u8", - "VSBond2": "u8", - "StableLpToken": "u32" - } - }, - "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 - } - }, - "TimeUnit": { - "Era": "u32", - "SlashingSpan": "u32", - "Round": "u32", - "Kblock": "u32" - }, - "MinimumsMaximums": { - "delegator_bonded_minimum": "Balance", - "bond_extra_minimum": "Balance", - "unbond_minimum": "Balance", - "rebond_minimum": "Balance", - "unbond_record_maximum": "u32", - "validators_back_maximum": "u32", - "delegator_active_staking_maximum": "Balance", - "validators_reward_maximum": "u32", - "delegation_amount_minimum": "Balance", - "delegators_maximum": "u16", - "validators_maximum": "u16" + "percent": "Percent" }, - "PoolType": { - "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 - } + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" }, - "PoolState": { + "NominatorStatus": { "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 + "Active": "Null", + "Leaving": "RoundIndex" } }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber", - "pending_unlocks": "Vec<(BlockNumber, Balance)>" - }, - "RewardData": { + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" }, - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "MultiLocation": "MultiLocationV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + } } - } - ], - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" - } - } - }, - "bitcountry-node": { - "types": [ + }, { "minmax": [ - 0, - null + 600, + 799 ], "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "AssetInfo": { - "owner": "AccountId", - "data": "AssetData" - }, - "AssetData": { - "name": "Text", - "description": "Text", - "properties": "Text", - "supporters": "Vec" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "AuctionId": "u64", - "AuctionItem": { - "asset_id": "TokenId", - "class_id": "ClassId", - "recipient": "AccountId", - "initial_amount": "Balance", - "amount": "Balance", - "start_time": "u32", - "end_time": "u32" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "AuctionInfo": { - "bid": "Option<(AccountId,Balance)>", - "start": "BlockNumber", - "end": "Option" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "RentId": "u64", - "RentalInfo": { + "Bond": { "owner": "AccountId", - "start": "BlockNumber", - "end": "Option", - "price_per_block": "Balance" + "amount": "Balance" }, - "CountryId": "u64", - "CountryCurrencyId": "u32", - "CollectionId": "u64", - "ClassId": "u32", - "TokenId": "u64", - "ClassInfoOf": { - "metadata": "Vec", - "total_issuance": "TokenId", - "owner": "AccountId", - "data": "NftClassData" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "TokenInfoOf": { - "metadata": "Vec", - "owner": "AccountId", - "data": "NftAssetData" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "NftCollectionData": { - "name": "Vec", - "owner": "AccountId", - "properties": "Vec" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "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" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "AssetData": { - "name": "Text", - "description": "Text", - "properties": "Text", - "supporters": "Vec" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "AuctionId": "u64", - "AuctionItem": { - "asset_id": "TokenId", - "class_id": "ClassId", - "recipient": "AccountId", - "initial_amount": "Balance", - "amount": "Balance", - "start_time": "u32", - "end_time": "u32" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "AuctionInfo": { - "bid": "Option<(AccountId,Balance)>", - "start": "BlockNumber", - "end": "Option" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "RentId": "u64", - "RentalInfo": { - "owner": "AccountId", - "start": "BlockNumber", - "end": "Option", - "price_per_block": "Balance" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "CountryId": "u64", - "CollectionId": "u64", - "ClassId": "u32", - "TokenId": "u64", - "ClassInfoOf": { - "metadata": "Vec", - "total_issuance": "TokenId", - "owner": "AccountId", - "data": "NftClassData" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "TokenInfoOf": { - "metadata": "Vec", - "owner": "AccountId", - "data": "NftAssetData" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "NftCollectionData": { - "name": "Vec", - "owner": "AccountId", - "properties": "Vec" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "TokenType": { + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { "_enum": [ - "Transferrable", - "BoundToAddress" + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" ] }, - "NftAssetData": { - "name": "Vec", - "description": "Vec", - "properties": "Vec" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" }, - "NftClassData": { - "deposit": "Balance", - "properties": "Vec", - "token_type": "TokenType" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "NetworkId": { + "NominatorAdded": { "_enum": { - "Any": "Null", - "Named": "Vec", - "Polkadot": "Null", - "Kusama": "Null" + "AddedToTop": "Balance", + "AddedToBottom": "Null" } }, - "CurrencyId": { + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { "_enum": { - "Token": "TokenSymbol" + "Active": "Null", + "Leaving": "RoundIndex" } }, - "TokenSymbol": { - "_enum": [ - "NUUM", - "AUSD", - "ACA", - "DOT" - ] + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" }, - "CountryCurrencyId": "u32", - "CurrencyIdOf": "CurrencyId", - "BalanceIdOf": "Balance", - "ChainId": { + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + }, + "AssetType": { "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" + "Xcm": "MultiLocation" } }, - "XCurrencyId": { - "chain_id": "ChainId", - "currency_id": "CurrencyId" + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" }, - "GroupCollectionId": "u64", - "ClassIdOf": "u32", - "TokenIdOf": "u32", - "SpotId": "u32" + "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" } - } - ] - }, - "centrifuge": { - "types": [ + }, { "minmax": [ - 0, - null + 800, + 899 ], "types": { - "AnchorData": { - "id": "Hash", - "docRoot": "Hash", - "anchoredBlock": "u64" - }, - "ChainId": "u8", - "chainbridge::ChainId": "u8", - "DepositNonce": "u64", - "Fee": { - "key": "Hash", - "price": "Balance" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "ParachainAccountIdOf": "AccountId", - "PreCommitData": { - "signingRoot": "Hash", - "identity": "AccountId", - "expirationBlock": "u64" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Proof": { - "leafHash": "Hash", - "sortedHashes": "Vec" + "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", - "NonProxy" + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" ] }, - "ResourceId": "[u8; 32]", - "RelayChainAccountId": "AccountId", - "RootHashOf": "Hash" - } - } - ] - }, - "centrifuge-chain": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "AnchorData": { - "id": "H256", - "docRoot": "H256", - "anchoredBlock": "u64" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" }, - "Fee": { - "key": "Hash", - "price": "Balance" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "PreCommitData": { - "signingRoot": "H256", - "identity": "H256", - "expirationBlock": "u64" + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } }, - "Proof": { - "leafHash": "H256", - "sortedHashes": "H256" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "MultiAccountData": { - "threshold": "u16", - "signatories": "Vec", - "deposit": "Balance", - "depositor": "AccountId" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" }, - "ChainId": "u8", - "ResourceId": "[u8; 32]", - "chainbridge::ChainId": "u8", - "DepositNonce": "u64", - "RegistryId": "H160", - "TokenId": "U256", - "AssetId": { - "registryId": "RegistryId", - "tokenId": "TokenId" + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" }, - "RegistryInfo": { - "ownerCanBurn": "bool", - "fields": "Vec" + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } }, - "AssetInfo": { - "metadata": "Bytes" + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" }, - "ProofMint": { - "value": "Bytes", - "property": "Bytes", - "salt": "[u8; 32]", - "hashes": "Vec" + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" }, - "MintInfo": { - "anchorId": "Hash", - "staticHashes": "[Hash; 3]", - "proofs": "Vec" + "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" + ] } } } ] }, - "chainx": { + "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": "Returns whether an Ethereum block is finalized", + "params": [ + { + "name": "blockHash", + "type": "Hash" + } + ], + "type": "bool" + }, + "isTxFinalized": { + "description": "Returns whether an Ethereum transaction is finalized", + "params": [ + { + "name": "txHash", + "type": "Hash" + } + ], + "type": "bool" + } + } + }, + "instances": { + "council": [ + "councilCollective" + ], + "technicalCommittee": [ + "techCommitteeCollective" + ] + }, "types": [ { "minmax": [ 0, - null + 4 ], "types": { + "AccountId": "EthereumAccountId", "Address": "AccountId", + "Balance": "u128", + "RefCount": "u8", "LookupSource": "AccountId", - "Chain": { - "_enum": [ - "ChainX", - "Bitcoin", - "Ethereum", - "Polkadot" - ] + "Account": { + "nonce": "U256", + "balance": "u128" }, - "NetworkType": { - "_enum": [ - "Mainnet", - "Testnet" - ] + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8" + } + }, + { + "minmax": [ + 5, + 5 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "AssetType": { - "_enum": [ - "Usable", - "Locked", - "Reserved", - "ReservedWithdrawal", - "ReservedDexSpot" - ] + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8" + } + }, + { + "minmax": [ + 6, + 19 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "OrderType": { - "_enum": [ - "Limit", - "Market" - ] + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "ValidatorStatus" }, - "Side": { - "_enum": [ - "Buy", - "Sell" - ] + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "LockedType": { - "_enum": [ - "Bonded", - "BondedWithdrawal" - ] + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "Memo": "Text", - "AssetInfo": { - "token": "String", - "tokenName": "String", - "chain": "Chain", - "decimals": "Decimals", - "desc": "String" + "ValidatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "TradingPairProfile": { - "id": "TradingPairId", - "currencyPair": "CurrencyPair", - "pipDecimals": "u32", - "tickDecimals": "u32", - "tradable": "bool" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "Order": { - "props": "OrderProperty", - "status": "OrderStatus", - "remaining": "Balance", - "executedIndices": "Vec", - "alreadyFilled": "Balance", - "lastUpdateAt": "BlockNumber" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "TradingPairInfo": { - "latestPrice": "Price", - "lastUpdated": "BlockNumber" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "OrderExecutedInfo": { - "tradingHistoryIdx": "TradingHistoryIndex", - "pairId": "TradingPairId", - "price": "Price", - "maker": "AccountId", - "taker": "AccountId", - "makerOrderId": "OrderId", - "takerOrderId": "OrderId", - "turnover": "Balance", - "executedAt": "BlockNumber" + "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" }, - "BtcHeaderInfo": { - "header": "BtcHeader", - "height": "u32" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "BtcParams": { - "maxBits": "u32", - "blockMaxFuture": "u32", - "targetTimespanSeconds": "u32", - "targetSpacingSeconds": "u32", - "retargetingFactor": "u32", - "retargetingInterval": "u32", - "minTimespan": "u32", - "maxTimespan": "u32" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "MiningAssetInfo": { - "assetId": "AssetId", - "miningPower": "FixedAssetPower", - "rewardPot": "AccountId", - "rewardPotBalance": "RpcBalance", - "lastTotalMiningWeight": "RpcMiningWeight", - "lastTotalMiningWeightUpdate": "BlockNumber" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "MiningDividendInfo": { - "own": "Balance", - "other": "Balance", - "insufficientStake": "Balance" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "AssetLedger": { - "lastTotalMiningWeight": "MiningWeight", - "lastTotalMiningWeightUpdate": "BlockNumber" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "MinerLedger": { - "lastMiningWeight": "MiningWeight", - "lastMiningWeightUpdate": "BlockNumber", - "lastClaim": "Option" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "ClaimRestriction": { - "stakingRequirement": "StakingRequirement", - "frequencyLimit": "BlockNumber" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "NominatorInfo": { - "lastRebond": "Option" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "BondRequirement": { - "selfBonded": "Balance", - "total": "Balance" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "Unbonded": { - "value": "Balance", - "lockedUntil": "BlockNumber" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "ValidatorLedger": { - "totalNomination": "Balance", - "lastTotalVoteWeight": "VoteWeight", - "lastTotalVoteWeightUpdate": "BlockNumber" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "NominatorLedger": { - "nomination": "Balance", - "lastVoteWeight": "VoteWeight", - "lastVoteWeightUpdate": "BlockNumber", - "unbondedChunks": "Vec" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "ValidatorProfile": { - "registeredAt": "BlockNumber", - "isChilled": "bool", - "lastChilled": "Option", - "referralId": "ReferralId" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "GlobalDistribution": { - "treasury": "u32", - "mining": "u32" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "MiningDistribution": { - "asset": "u32", - "staking": "u32" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + } + } + }, + { + "minmax": [ + 36, + 36 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "InclusionFee": { - "baseFee": "Balance", - "lenFee": "Balance", - "adjustedWeightFee": "Balance" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "FeeDetails": { - "inclusionFee": "Option>", - "extraFee": "Balance", - "tip": "Balance", - "finalFee": "Balance" + "Nominator": { + "nominations": "Vec", + "total": "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" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "OrderStatus": { - "_enum": [ - "Created", - "PartialFill", - "Filled", - "PartialFillAndCanceled", - "Canceled" - ] + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "AssetId": "u32", - "MiningWeight": "u128", - "VoteWeight": "u128", - "ReferralId": "Text", - "AssetRestriction": { - "_enum": [ - "Move", - "Transfer", - "Deposit", - "Withdraw", - "DestroyWithdrawal", - "DestroyFree" - ] + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "AssetRestrictions": { - "bits": "u32" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "BtcHeader": "Vec", - "BtcNetwork": { - "_enum": [ - "Mainnet", - "Testnet" - ] + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "OrderInfo": "Order", - "Amount": "i128", - "AmountOf": "Amount", - "CurrencyIdOf": "AssetId", - "CurrencyId": "AssetId", - "Handicap": { - "highestBid": "Price", - "lowestAsk": "Price" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "OrderProperty": { - "id": "OrderId", - "side": "Side", - "price": "Price", - "amount": "Amount", - "pairId": "TradingPairId", - "submitter": "AccountId", - "orderType": "OrderType", - "createdAt": "BlockNumber" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "TotalAssetInfo": { - "info": "AssetInfo", - "balance": "BTreeMap", - "isOnline": "bool", - "restrictions": "AssetRestrictions" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "WithdrawalRecordId": "u32", - "WithdrawalState": { - "_enum": [ - "Applying", - "Processing", - "NormalFinish", - "RootFinish", - "NormalCancel", - "RootCancel" - ] + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "WithdrawalRecord": { - "assetId": "AssetId", - "applicant": "AccountId", - "balance": "Balance", - "addr": "AddrStr", - "ext": "Memo", - "height": "BlockNumber" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "WithdrawalLimit": { - "minimalWithdrawal": "Balance", - "fee": "Balance" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "TrusteeInfoConfig": { - "minTrusteeCount": "u32", - "maxTrusteeCount": "u32" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "GenericTrusteeIntentionProps": { - "about": "Text", - "hotEntity": "Vec", - "coldEntity": "Vec" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "GenericTrusteeSessionInfo": { - "trusteeList": "Vec", - "threshold": "u16", - "hotAddress": "Vec", - "coldAddress": "Vec" + "AuthorId": "AccountId" + } + }, + { + "minmax": [ + 37, + 42 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "ChainAddress": "Vec", - "BtcTrusteeType": "Vec", - "BtcTrusteeAddrInfo": { - "addr": "BtcAddress", - "redeemScript": "Vec" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "BtcTrusteeIntentionProps": { - "about": "Text", - "hotEntity": "BtcTrusteeType", - "coldEntity": "BtcTrusteeType" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "BtcTrusteeSessionInfo": { - "trusteeList": "Vec", - "threshold": "u16", - "hotAddress": "BtcTrusteeAddrInfo", - "coldAddress": "BtcTrusteeAddrInfo" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "BtcTransaction": "Vec", - "BtcPartialMerkleTree": "Vec", - "BtcRelayedTxInfo": { - "blockHash": "H256", - "merkleProof": "BtcPartialMerkleTree" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "BtcHeaderIndex": { - "hash": "H256", - "height": "u32" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "BtcTxResult": { - "_enum": [ - "Success", - "Failure" - ] + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "BtcTxState": { - "txType": "BtcTxType", - "result": "BtcTxResult" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "BtcTxType": { - "_enum": [ - "Withdrawal", - "Deposit", - "HotAndCold", - "TrusteeTransition", - "Irrelevance" - ] + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "BtcDepositCache": { - "txid": "H256", - "balance": "u64" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "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" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "RpcInclusionFee": { - "baseFee": "RpcBalance", - "lenFee": "RpcBalance", - "adjustedWeightFee": "RpcBalance" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "RpcFeeDetails": { - "inclusionFee": "Option", - "tip": "RpcBalance", - "extraFee": "RpcBalance", - "finalFee": "RpcBalance" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "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" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "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" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "Depth": { - "asks": "Vec<(RpcPrice, RpcBalance)>", - "bids": "Vec<(RpcPrice, RpcBalance)>" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "Page": { - "pageIndex": "u32", - "pageSize": "u32", - "data": "Vec" + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "String": "Text", - "Balance": "u128", - "RpcPrice": "String", - "RpcBalance": "String", - "RpcMiningWeight": "String", - "RpcVoteWeight": "String", - "FullIdentification": "ValidatorId", - "WithdrawalRecordOf": "WithdrawalRecord" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + } } - } - ] - }, - "chainx-parachain": { - "types": [ + }, { "minmax": [ - 0, - null + 43, + 154 ], "types": { + "AccountId": "EthereumAccountId", "Address": "AccountId", + "Balance": "u128", "LookupSource": "AccountId", - "Chain": { - "_enum": [ - "ChainX", - "Bitcoin", - "Ethereum", - "Polkadot" - ] - }, - "NetworkType": { - "_enum": [ - "Mainnet", - "Testnet" - ] + "Account": { + "nonce": "U256", + "balance": "u128" }, - "AssetType": { - "_enum": [ - "Usable", - "Locked", - "Reserved", - "ReservedWithdrawal", - "ReservedDexSpot" - ] + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "OrderType": { - "_enum": [ - "Limit", - "Market" - ] + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "Side": { - "_enum": [ - "Buy", - "Sell" - ] + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "LockedType": { - "_enum": [ - "Bonded", - "BondedWithdrawal" - ] + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "Memo": "Text", - "AssetInfo": { - "token": "String", - "tokenName": "String", - "chain": "Chain", - "decimals": "Decimals", - "desc": "String" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "TradingPairProfile": { - "id": "TradingPairId", - "currencyPair": "CurrencyPair", - "pipDecimals": "u32", - "tickDecimals": "u32", - "tradable": "bool" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "Order": { - "props": "OrderProperty", - "status": "OrderStatus", - "remaining": "Balance", - "executedIndices": "Vec", - "alreadyFilled": "Balance", - "lastUpdateAt": "BlockNumber" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "TradingPairInfo": { - "latestPrice": "Price", - "lastUpdated": "BlockNumber" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "OrderExecutedInfo": { - "tradingHistoryIdx": "TradingHistoryIndex", - "pairId": "TradingPairId", - "price": "Price", - "maker": "AccountId", - "taker": "AccountId", - "makerOrderId": "OrderId", - "takerOrderId": "OrderId", - "turnover": "Balance", - "executedAt": "BlockNumber" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "BtcHeaderInfo": { - "header": "BtcHeader", - "height": "u32" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "BtcParams": { - "maxBits": "u32", - "blockMaxFuture": "u32", - "targetTimespanSeconds": "u32", - "targetSpacingSeconds": "u32", - "retargetingFactor": "u32", - "retargetingInterval": "u32", - "minTimespan": "u32", - "maxTimespan": "u32" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "MiningAssetInfo": { - "assetId": "AssetId", - "miningPower": "FixedAssetPower", - "rewardPot": "AccountId", - "rewardPotBalance": "RpcBalance", - "lastTotalMiningWeight": "RpcMiningWeight", - "lastTotalMiningWeightUpdate": "BlockNumber" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "MiningDividendInfo": { - "own": "Balance", - "other": "Balance", - "insufficientStake": "Balance" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "AssetLedger": { - "lastTotalMiningWeight": "MiningWeight", - "lastTotalMiningWeightUpdate": "BlockNumber" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "MinerLedger": { - "lastMiningWeight": "MiningWeight", - "lastMiningWeightUpdate": "BlockNumber", - "lastClaim": "Option" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "ClaimRestriction": { - "stakingRequirement": "StakingRequirement", - "frequencyLimit": "BlockNumber" + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "NominatorInfo": { - "lastRebond": "Option" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" }, - "BondRequirement": { - "selfBonded": "Balance", - "total": "Balance" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "Unbonded": { - "value": "Balance", - "lockedUntil": "BlockNumber" + "NominatorAdded": { + "_enum": { + "AddedToBottom": "Null", + "AddedToTop": "Balance" + } }, - "ValidatorLedger": { - "totalNomination": "Balance", - "lastTotalVoteWeight": "VoteWeight", - "lastTotalVoteWeightUpdate": "BlockNumber" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "NominatorLedger": { - "nomination": "Balance", - "lastVoteWeight": "VoteWeight", - "lastVoteWeightUpdate": "BlockNumber", - "unbondedChunks": "Vec" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + } + } + }, + { + "minmax": [ + 155, + 199 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "ValidatorProfile": { - "registeredAt": "BlockNumber", - "isChilled": "bool", - "lastChilled": "Option", - "referralId": "ReferralId" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "GlobalDistribution": { - "treasury": "u32", - "mining": "u32" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "MiningDistribution": { - "asset": "u32", - "staking": "u32" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "InclusionFee": { - "baseFee": "Balance", - "lenFee": "Balance", - "adjustedWeightFee": "Balance" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "FeeDetails": { - "inclusionFee": "Option>", - "extraFee": "Balance", - "tip": "Balance", - "finalFee": "Balance" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "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" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "OrderStatus": { - "_enum": [ - "Created", - "PartialFill", - "Filled", - "PartialFillAndCanceled", - "Canceled" - ] + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "AssetId": "u32", - "MiningWeight": "u128", - "VoteWeight": "u128", - "ReferralId": "Text", - "AssetRestriction": { - "_enum": [ - "Move", - "Transfer", - "Deposit", - "Withdraw", - "DestroyWithdrawal", - "DestroyFree" - ] + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "AssetRestrictions": { - "bits": "u32" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "BtcHeader": "Vec", - "BtcNetwork": { - "_enum": [ - "Mainnet", - "Testnet" - ] + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "OrderInfo": "Order", - "Amount": "i128", - "AmountOf": "Amount", - "CurrencyIdOf": "AssetId", - "CurrencyId": "AssetId", - "Handicap": { - "highestBid": "Price", - "lowestAsk": "Price" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "OrderProperty": { - "id": "OrderId", - "side": "Side", - "price": "Price", - "amount": "Amount", - "pairId": "TradingPairId", - "submitter": "AccountId", - "orderType": "OrderType", - "createdAt": "BlockNumber" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "TotalAssetInfo": { - "info": "AssetInfo", - "balance": "BTreeMap", - "isOnline": "bool", - "restrictions": "AssetRestrictions" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "WithdrawalRecordId": "u32", - "WithdrawalState": { + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { "_enum": [ - "Applying", - "Processing", - "NormalFinish", - "RootFinish", - "NormalCancel", - "RootCancel" + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" ] }, - "WithdrawalRecord": { - "assetId": "AssetId", - "applicant": "AccountId", - "balance": "Balance", - "addr": "AddrStr", - "ext": "Memo", - "height": "BlockNumber" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" }, - "WithdrawalLimit": { - "minimalWithdrawal": "Balance", - "fee": "Balance" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "TrusteeInfoConfig": { - "minTrusteeCount": "u32", - "maxTrusteeCount": "u32" + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } }, - "GenericTrusteeIntentionProps": { - "about": "Text", - "hotEntity": "Vec", - "coldEntity": "Vec" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "GenericTrusteeSessionInfo": { - "trusteeList": "Vec", - "threshold": "u16", - "hotAddress": "Vec", - "coldAddress": "Vec" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" }, - "ChainAddress": "Vec", - "BtcTrusteeType": "Vec", - "BtcTrusteeAddrInfo": { - "addr": "BtcAddress", - "redeemScript": "Vec" + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + } + } + }, + { + "minmax": [ + 200, + 399 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "BtcTrusteeIntentionProps": { - "about": "Text", - "hotEntity": "BtcTrusteeType", - "coldEntity": "BtcTrusteeType" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "BtcTrusteeSessionInfo": { - "trusteeList": "Vec", - "threshold": "u16", - "hotAddress": "BtcTrusteeAddrInfo", - "coldAddress": "BtcTrusteeAddrInfo" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "BtcTransaction": "Vec", - "BtcPartialMerkleTree": "Vec", - "BtcRelayedTxInfo": { - "blockHash": "H256", - "merkleProof": "BtcPartialMerkleTree" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "BtcHeaderIndex": { + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" + }, + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" + }, + "Summary": "Bytes", + "PoolTransaction": { "hash": "H256", - "height": "u32" + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "BtcTxResult": { - "_enum": [ - "Success", - "Failure" - ] + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "BtcTxState": { - "txType": "BtcTxType", - "result": "BtcTxResult" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "BtcTxType": { - "_enum": [ - "Withdrawal", - "Deposit", - "HotAndCold", - "TrusteeTransition", - "Irrelevance" - ] + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "BtcDepositCache": { - "txid": "H256", - "balance": "u64" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "BtcVoteResult": { - "_enum": [ - "Unfinish", - "Finish" - ] + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "BtcWithdrawalProposal": { - "sigState": "BtcVoteResult", - "withdrawalIdList": "Vec", - "tx": "BtcTransaction", - "trusteeList": "Vec<(AccountId, bool)>" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "BtcTxVerifier": { - "_enum": [ - "Recover", - "RuntimeInterface" - ] + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "RpcTotalAssetInfo": { - "info": "AssetInfo", - "balance": "BTreeMap", - "isOnline": "bool", - "restrictions": "AssetRestrictions" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "RpcOrder": { - "id": "OrderId", - "side": "Side", - "price": "RpcPrice", - "amount": "RpcBalance", - "pairId": "TradingPairId", - "submitter": "AccountId", - "orderType": "OrderType", - "createdAt": "BlockNumber", - "status": "OrderStatus", - "remaining": "RpcBalance", - "executedIndices": "Vec", - "alreadyFilled": "RpcBalance", - "reservedBalance": "RpcBalance", - "lastUpdateAt": "BlockNumber" + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "RpcWithdrawalRecord": { - "assetId": "AssetId", - "applicant": "AccountId", - "balance": "RpcBalance", - "addr": "String", - "ext": "String", - "height": "BlockNumber", - "state": "WithdrawalState" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" }, - "RpcMiningDividendInfo": { - "own": "RpcBalance", - "other": "RpcBalance", - "insufficientStake": "RpcBalance" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "RpcInclusionFee": { - "baseFee": "RpcBalance", - "lenFee": "RpcBalance", - "adjustedWeightFee": "RpcBalance" + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } }, - "RpcFeeDetails": { - "inclusionFee": "Option", - "tip": "RpcBalance", - "extraFee": "RpcBalance", - "finalFee": "RpcBalance" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "ValidatorInfo": { + "ParachainBondConfig": { "account": "AccountId", - "registeredAt": "BlockNumber", - "isChilled": "bool", - "lastChilled": "Option", - "totalNomination": "RpcBalance", - "lastTotalVoteWeight": "RpcVoteWeight", - "lastTotalVoteWeightUpdate": "BlockNumber", - "isValidating": "bool", - "selfBonded": "RpcBalance", - "referralId": "String", - "rewardPotAccount": "AccountId", - "rewardPotBalance": "RpcBalance" + "percent": "Percent" }, - "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" + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" }, - "Depth": { - "asks": "Vec<(RpcPrice, RpcBalance)>", - "bids": "Vec<(RpcPrice, RpcBalance)>" + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } }, - "Page": { - "pageIndex": "u32", - "pageSize": "u32", - "data": "Vec" + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" }, - "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" - ] + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" } } - } - ] - }, - "clover-rococo": { - "types": [ + }, { "minmax": [ - 0, - null + 400, + 599 ], "types": { - "Amount": "i128", - "AmountOf": "Amount", + "AccountId": "EthereumAccountId", + "Address": "AccountId", "Balance": "u128", - "CurrencyId": { - "_enum": [ - "CLV", - "CUSDT", - "DOT", - "CETH" - ] + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "CurrencyIdOf": "CurrencyId", - "CurrencyTypeEnum": { - "_enum": [ - "CLV", - "CUSDT", - "DOT", - "CETH" - ] + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "PairKey": "u64", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "Price": "FixedU128", - "Share": "u128", - "OracleKey": "CurrencyId", - "CurrencyInfo": { - "id": "CurrencyId", - "name": "CurrencyTypeEnum" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "ExchangeInfo": { - "balance": "Balance", - "routes": "Vec" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "PoolId": { - "_enum": { - "Swap": "u64" - } + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "EcdsaSignature": "[u8; 65]", - "EvmAddress": "H160", - "ExitSucceed": { - "_enum": [ - "Stopped", - "Returned", - "Suicided" - ] + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "ExitRevert": { - "_enum": [ - "Reverted" - ] + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "ExitError": { - "_enum": [ - "StackUnderflow", - "StackOverflow", - "InvalidJump", - "InvalidRange", - "DesignatedInvalid", - "CallTooDeep", - "CreateCollision", - "CreateContractLimit", - "OutOfOffset", - "OutOfGas", - "OutOfFund", - "PCUnderflow", - "CreateEmpty", - "Other" - ] + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "ExitFatal": { - "_enum": [ - "NotSupported", - "UnhandledInterrupt", - "CallErrorAsFatal", - "Other" - ] + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "ExitReason": { + "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": [ - "Succeed", - "Error", - "Revert", - "Fatal" + "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)>" } } - } - ] - }, - "coinversation": { - "types": [ + }, { "minmax": [ - 0, - null + 600, + 799 ], "types": { + "AccountId": "EthereumAccountId", "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" + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "Competitor": { - "vie_id": "[u8;16]", - "staked": "bool", - "submitted_winner": "bool" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Vie": { - "operator": "AccountId", - "stake": "Balance", - "places": "Vec", - "time": "Moment", - "competitors": "Vec", - "memo": "Vec" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "VieOf": "Vie", - "VieReq": { - "stake": "Balance", - "places": "Vec", - "competitors": "Vec", - "memo": "Vec" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "VieRequestOf": "VieReq", - "Participants": { - "AccountId": "[u8;16]" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "Operators": { - "AccountId": "[u8;16]" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "StandingReq": { - "competitor": "AccountId", - "spot": "u32" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "PodiumReq": { - "champion": "AccountId", - "podium": "Vec" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "PodiumReqOf": "PodiumReq", - "Trophy": { - "trophy": "[u8; 16]", - "competitors": "Vec", - "stake": "Balance", - "memo": "Vec", - "time": "u64", - "podium": "Vec" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "TokenId": "u64", - "TokenInfo": { - "metadata": "Vec", - "owner": "AccountId", - "data": "Trophy" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "TokenInfoOf": "TokenInfo" - } - } - ] - }, - "contextfree": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "ResourceId": "[u8; 32]", - "DepositNonce": "u64", - "ProposalStatus": { - "_enum": [ - "Initiated", - "Approved", - "Rejected" - ] + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "status": "ProposalStatus" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "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" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "ProposalId": "u32", - "ProjectId": "u32", - "ChainIndex": "u32", - "Protocol": { + "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": [ - "Solidity", - "Substrate" + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" ] }, - "Chain": { - "_protocol": "Protocol" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" }, - "CrossChainAccount": { + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { "_enum": { - "Solidity": "H160", - "Substrate": "AccountId" + "AddedToTop": "Balance", + "AddedToBottom": "Null" } }, - "IpfsHash": "Text", - "SolidityStrategy": { + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" + }, + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + }, + "NominatorStatus": { "_enum": { - "ERC20Balance": "H160" + "Active": "Null", + "Leaving": "RoundIndex" } }, - "SubstrateStrategy": { - "_enum": [ - "NativeBalance" - ] + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" }, - "Strategy": { + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" + }, + "AssetType": { "_enum": { - "Solidity": "SolidityStrategy", - "Substrate": "SubstrateStrategy" + "Xcm": "MultiLocation" } }, - "Workspace": { - "_chain": "ChainIndex", - "strategies": "Vec" + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" }, - "UserGroup": { - "owner": "CrossChainAccount", - "admins": "Vec", - "maintainers": "Vec", - "proposers": "Option>" + "ENUM_AccountKey20": { + "network": "NetworkId", + "key": "[u8; 20]" }, - "Project": { - "usergroup": "UserGroup", - "data": "IpfsHash", - "workspaces": "Vec" + "ENUM_AccountIndex64": { + "network": "NetworkId", + "index": "Compact" }, - "VotingFormat": { - "_enum": [ - "SingleChoice", - "SplitVote" - ] + "ENUM_Plurality": { + "id": "BodyId", + "part": "BodyPart" }, - "OptionIndex": "u8", - "PrivacyLevel": { + "JunctionV0": { "_enum": { - "Opaque": "u8", - "Rank": "Null", - "Private": "Null", - "Public": "Null", - "Mixed": "Null" + "Parent": "Null", + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" } }, - "VotingPower": "U256", - "DAOProposalState": { - "finalized": "bool", - "snapshots": "Vec>", - "blacklisted": "bool", - "votes": "Vec", - "pub_voters": "Option", - "updates": "u32" + "CurrencyId": { + "_enum": { + "SelfReserve": "Null", + "OtherReserve": "u128" + } }, - "DAOProposal": { - "_author": "CrossChainAccount", - "_voting_format": "VotingFormat", - "_option_count": "OptionIndex", - "_data": "IpfsHash", - "_privacy": "PrivacyLevel", - "_start": "u64", - "_end": "u64", - "_frequency": "Option", - "_workspaces": "Vec", - "state": "DAOProposalState" + "AssetRegistrarMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "isFrozen": "bool" }, - "VoteUpdate": { - "project": "ProjectId", - "proposal": "ProposalId", - "votes": "Vec", - "pub_voters": "Option" - } - } - } - ] - }, - "contracts": { - "types": [ - { - "minmax": [ - 0, - 8 - ], - "types": { - "Address": "AccountId", - "Keys": "SessionKeys2", - "LookupSource": "AccountId", - "Schedule": "ScheduleTo258" + "VestingBlockNumber": "u32", + "MultiLocation": "MultiLocationV0" } }, { "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 + 800, + 899 ], "types": { - "AccountInfo": "AccountInfoWithProviders", + "AccountId": "EthereumAccountId", "Address": "AccountId", - "AddressInfo": "Vec", + "Balance": "u128", "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>" + "Account": { + "nonce": "U256", + "balance": "u128" }, - "SworkBenefit": { - "total_funds": "Compact", - "active_funds": "Compact", - "total_fee_reduction_count": "u32", - "used_fee_reduction_count": "u32", - "refreshed_at": "Compact", - "unlocking_funds": "Vec>" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "BridgeChainId": "u8", - "ChainId": "u8", - "ResourceId": "H256", - "DepositNonce": "u64", - "ProposalStatus": { - "_enum": [ - "Initiated", - "Approved", - "Rejected" - ] + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "status": "ProposalStatus", - "expiry": "BlockNumber" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "Erc721Token": { - "id": "TokenId", - "metadata": "Vec" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "TokenId": "U256", - "ETHAddress": "Vec", - "EthereumTxHash": "H256", - "Lock": { - "total": "Compact", - "last_unlock_at": "BlockNumber", - "lock_type": "LockType" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "LockType": { - "delay": "BlockNumber", - "lock_period": "u32" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "FileInfo": { - "file_size": "u64", - "spower": "u64", - "expired_at": "BlockNumber", - "calculated_at": "BlockNumber", - "amount": "Compact", - "prepaid": "Compact", - "reported_replica_count": "u32", - "replicas": "Vec>" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "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>" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "Replica": { - "who": "AccountId", - "valid_at": "BlockNumber", - "anchor": "SworkerAnchor", - "is_reported": "bool", - "created_at": "Option" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "Guarantee": { - "targets": "Vec>", - "total": "Compact", - "submitted_in": "EraIndex", - "suppressed": "bool" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "ValidatorPrefs": { - "guarantee_fee": "Compact" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "Group": { - "members": "BTreeSet", - "allowlist": "BTreeSet" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "IASSig": "Vec", - "Identity": { - "anchor": "SworkerAnchor", - "punishment_deadline": "u64", - "group": "Option" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "ISVBody": "Vec", - "MerkleRoot": "Vec", - "ReportSlot": "u64", - "PKInfo": { - "code": "SworkerCode", - "anchor": "Option" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "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" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "FundsType": { + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { "_enum": [ - "SWORK", - "MARKET" + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" ] }, - "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>" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" }, - "SworkBenefit": { - "total_funds": "Compact", - "active_funds": "Compact", - "total_fee_reduction_count": "u32", - "used_fee_reduction_count": "u32", - "refreshed_at": "Compact", - "unlocking_funds": "Vec>" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "BridgeChainId": "u8", - "ChainId": "u8", - "ResourceId": "H256", - "DepositNonce": "u64", - "ProposalStatus": { - "_enum": [ - "Initiated", - "Approved", - "Rejected" - ] + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "status": "ProposalStatus", - "expiry": "BlockNumber" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "Erc721Token": { - "id": "TokenId", - "metadata": "Vec" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" }, - "TokenId": "U256", - "ETHAddress": "Vec", - "EthereumTxHash": "H256", - "Lock": { - "total": "Compact", - "last_unlock_at": "BlockNumber", - "lock_type": "LockType" + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" }, - "LockType": { - "delay": "BlockNumber", - "lock_period": "u32" + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } }, - "FileInfo": { - "file_size": "u64", - "spower": "u64", - "expired_at": "BlockNumber", - "calculated_at": "BlockNumber", - "amount": "Compact", - "prepaid": "Compact", - "reported_replica_count": "u32", - "replicas": "Vec>" + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" }, - "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>" + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" }, - "Replica": { - "who": "AccountId", - "valid_at": "BlockNumber", - "anchor": "SworkerAnchor", - "is_reported": "bool", - "created_at": "Option" + "AssetType": { + "_enum": { + "Xcm": "MultiLocation" + } }, - "Guarantee": { - "targets": "Vec>", - "total": "Compact", - "submitted_in": "EraIndex", - "suppressed": "bool" + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" }, - "ValidatorPrefs": { - "guarantee_fee": "Compact" + "ENUM_AccountKey20": { + "network": "NetworkId", + "key": "[u8; 20]" }, - "Group": { - "members": "BTreeSet", - "allowlist": "BTreeSet" + "ENUM_AccountIndex64": { + "network": "NetworkId", + "index": "Compact" }, - "IASSig": "Vec", - "Identity": { - "anchor": "SworkerAnchor", - "punishment_deadline": "u64", - "group": "Option" + "ENUM_Plurality": { + "id": "BodyId", + "part": "BodyPart" }, - "ISVBody": "Vec", - "MerkleRoot": "Vec", - "ReportSlot": "u64", - "PKInfo": { - "code": "SworkerCode", - "anchor": "Option" + "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" + } }, - "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" + "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" + } } } - } - ], - "alias": {} - }, - "cumulus-test-parachain": { - "types": [ + }, { "minmax": [ - 0, + 900, null ], "types": { - "Address": "AccountId", - "LookupSource": "AccountId" + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] + } } } ] }, - "curio-devnet": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } - } + "moonriver": { + "alias": { + "assetManager": { + "Balance": "TAssetBalance" + }, + "xTokens": { + "Balance": "TAssetBalance" } - ], - "runtime": { - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" + }, + "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" }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" + { + "name": "message", + "type": "Vec" } - }, - "version": 1 + ], + "type": "Result<()>" + } + }, + "moon": { + "isBlockFinalized": { + "description": "Returns whether an Ethereum block is finalized", + "params": [ + { + "name": "blockHash", + "type": "Hash" + } + ], + "type": "bool" + }, + "isTxFinalized": { + "description": "Returns whether an Ethereum transaction is finalized", + "params": [ + { + "name": "txHash", + "type": "Hash" + } + ], + "type": "bool" } + } + }, + "instances": { + "council": [ + "councilCollective" + ], + "technicalCommittee": [ + "techCommitteeCollective" ] - } - }, - "curio-testnet": { + }, "types": [ { "minmax": [ 0, - null + 4 ], "types": { - "StakingRates": { - "collatorStakingRate": "Perquintill", - "collatorRewardRate": "Perquintill", - "delegatorStakingRate": "Perquintill", - "delegatorRewardRate": "Perquintill" - } + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "RefCount": "u8", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8" } - } - ], - "runtime": { - "Staking": [ - { - "methods": { - "get_staking_rates": { - "description": "Calculate the current staking and reward rates for collators and delegators", - "params": [], - "type": "StakingRates" - }, - "get_unclaimed_staking_rewards": { - "description": "Calculate the claimable staking rewards for a given account address", - "params": [ - { - "name": "account", - "type": "AccountId32" - } - ], - "type": "Balance" - } + }, + { + "minmax": [ + 5, + 5 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "version": 1 + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8" } - ] - } - }, - "datahighway": { - "types": [ + }, { "minmax": [ - 0, - null + 6, + 19 ], "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" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "RoamingAgreementPolicy": "[u8; 16]", - "RoamingAgreementPolicyIndex": "u64", - "RoamingAgreementPolicyActivationType": "Text", - "RoamingAgreementPolicySetting": { - "policy_activation_type": "Text", - "policy_expiry_block": "Moment" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "ValidatorStatus" }, - "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" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "RoamingSession": "[u8; 16]", - "RoamingSessionIndex": "u64", - "RoamingSessionJoinRequest": { - "session_network_server_id": "Moment", - "session_join_requested_at_block": "Moment" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "RoamingSessionJoinAccept": { - "session_join_request_accept_expiry": "Moment", - "session_join_request_accept_accepted_at_block": "Moment" + "ValidatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "RoamingBillingPolicy": "[u8; 16]", - "RoamingBillingPolicyIndex": "u64", - "RoamingBillingPolicySetting": { - "policy_next_billing_at_block": "Moment", - "policy_frequency_in_blocks": "Moment" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "RoamingChargingPolicy": "[u8; 16]", - "RoamingChargingPolicyIndex": "u64", - "RoamingChargingPolicySetting": { - "policy_next_charging_at_block": "Moment", - "policy_delay_after_billing_in_blocks": "u64" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "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" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "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" + "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" }, - "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" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "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" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "MiningSettingTokenRequirementsSetting": { - "token_type": "Text", - "token_lock_min_amount": "u64", - "token_lock_min_blocks": "u32" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "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" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "MiningSamplingToken": "[u8; 16]", - "MiningSamplingTokenIndex": "u64", - "MiningSamplingTokenSampleLockedAmount": "u64", - "MiningSamplingTokenSetting": { - "token_sample_block": "Moment", - "token_sample_locked_amount": "u64" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "MiningSamplingHardware": "[u8; 16]", - "MiningSamplingHardwareIndex": "u64", - "MiningSamplingHardwareSampleHardwareOnline": "u64", - "MiningSamplingHardwareSetting": { - "hardware_sample_block": "Moment", - "hardware_sample_hardware_online": "bool" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "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" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "TransferData": { - "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", - "is_sent": "bool", - "total_amt": "Balance", - "rewardee_count": "u64", - "member_kind": "u32", - "requested_date": "Moment" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "RewardDailyData": { - "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", - "total_amt": "Balance", - "proxy_claim_requestor_account_id": "AccountId", - "member_kind": "u32", - "rewarded_date": "Date" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "DailyData": { - "mining_eligibility_proxy_id": "MiningEligibilityProxyIndex", - "total_amt": "Balance", - "proxy_claim_requestor_account_id": "AccountId", - "member_kind": "u32", - "rewarded_date": "Date" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "MiningClaimsToken": "[u8; 16]", - "MiningClaimsTokenIndex": "u64", - "MiningClaimsTokenClaimAmount": "u64", - "MiningClaimsTokenClaimResult": { - "token_claim_amount": "u64", - "token_claim_block_redeemed": "u64" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "MiningClaimsHardware": "[u8; 16]", - "MiningClaimsHardwareIndex": "u64", - "MiningClaimsHardwareClaimAmount": "u64", - "MiningClaimsHardwareClaimResult": { - "hardware_claim_amount": "u64", - "hardware_claim_block_redeemed": "u64" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "MiningExecutionToken": "[u8; 16]", - "MiningExecutionTokenIndex": "u64", - "MiningExecutionTokenExecutorAccountID": "u64", - "MiningExecutionTokenExecutionResult": { - "token_execution_exector_account_id": "u64", - "token_execution_started_block": "Moment", - "token_execution_ended_block": "Moment" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "ExchangeRateIndex": "u64", - "ExchangeRateSetting": { - "hbtc": "u64", - "dot": "u64", - "iota": "u64", - "fil": "u64", - "decimals_after_point": "u32" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "HBTCRate": "u64", - "DOTRate": "u64", - "IOTARate": "u64", - "FILRate": "u64", - "DecimalsAfterPoint": "u32" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + } } - } - ] - }, - "datahighway-parachain": { - "types": [ + }, { "minmax": [ - 0, - null + 36, + 36 ], "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" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "RoamingChargingPolicy": "[u8; 16]", - "RoamingChargingPolicyIndex": "u64", - "RoamingChargingPolicyConfig": { - "policy_next_charging_at_block": "Moment", - "policy_delay_after_billing_in_blocks": "u64" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "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" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "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" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "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" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "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" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "MiningConfigTokenRequirementsConfig": { - "token_type": "Text", - "token_lock_min_amount": "u64", - "token_lock_min_blocks": "u32" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "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" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "MiningSamplingToken": "[u8; 16]", - "MiningSamplingTokenIndex": "u64", - "MiningSamplingTokenSampleLockedAmount": "u64", - "MiningSamplingTokenConfig": { - "token_sample_block": "Moment", - "token_sample_locked_amount": "u64" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "MiningSamplingHardware": "[u8; 16]", - "MiningSamplingHardwareIndex": "u64", - "MiningSamplingHardwareSampleHardwareOnline": "u64", - "MiningSamplingHardwareConfig": { - "hardware_sample_block": "Moment", - "hardware_sample_hardware_online": "bool" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "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" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "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" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "MiningClaimsToken": "[u8; 16]", - "MiningClaimsTokenIndex": "u64", - "MiningClaimsTokenClaimAmount": "u64", - "MiningClaimsTokenClaimResult": { - "token_claim_amount": "u64", - "token_claim_block_redeemed": "u64" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "MiningClaimsHardware": "[u8; 16]", - "MiningClaimsHardwareIndex": "u64", - "MiningClaimsHardwareClaimAmount": "u64", - "MiningClaimsHardwareClaimResult": { - "hardware_claim_amount": "u64", - "hardware_claim_block_redeemed": "u64" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "MiningExecutionToken": "[u8; 16]", - "MiningExecutionTokenIndex": "u64", - "MiningExecutionTokenExecutorAccountID": "u64", - "MiningExecutionTokenExecutionResult": { - "token_execution_exector_account_id": "u64", - "token_execution_started_block": "Moment", - "token_execution_ended_block": "Moment" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "ExchangeRateIndex": "u64", - "ExchangeRateConfig": { - "hbtc": "u64", - "dot": "u64", - "iota": "u64", - "fil": "u64", - "decimals_after_point": "u32" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "HBTCRate": "u64", - "DOTRate": "u64", - "IOTARate": "u64", - "FILRate": "u64", - "DecimalsAfterPoint": "u32" + "AuthorId": "AccountId" } - } - ] - }, - "dawn": { - "types": [ + }, { "minmax": [ - 0, - null + 37, + 42 ], "types": { - "AccountIdOf": "AccountId", - "Address": "MultiAddress", - "AirDropCurrencyId": { - "_enum": [ - "ICE", - "EAVE" - ] + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "Amount": "i128", - "AmountOf": "Amount", - "AsOriginId": "AuthoritysOriginId", - "AssetId": "u64", - "AssetIdOf": "AssetId", - "AuctionId": "u32", - "AuctionIdOf": "AuctionId", - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "AuthoritysOriginId": { - "_enum": [ - "Root", - "EaveTreasury", - "CdpTreasury", - "ElpTreasury", - "DSWF" - ] + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "BalanceInfo": { + "Bond": { + "owner": "AccountId", "amount": "Balance" }, - "BalanceRequest": { - "amount": "Balance" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "BalanceWrapper": { - "amount": "Balance" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "BondingLedger": { - "total": "Compact", - "active": "Compact", - "unlocking": "Vec" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "CID": "Vec", - "CallOf": "Call", - "CallRequest": { - "from": "Option", + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", "to": "Option", - "gasLimit": "Option", - "storageLimit": "Option", - "value": "Option", - "data": "Option" + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "ChainId": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { "_enum": { - "RelayChain": "Null", - "ParaChain": "ParaId" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "ChangeBalance": { - "_enum": { - "NoChange": "Null", - "NewValue": "Balance" - } + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "ChangeOptionRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRate" - } + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "ChangeOptionRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "OptionRatio" - } + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "ChangeRate": { - "_enum": { - "NoChange": "Null", - "NewValue": "Rate" - } + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "ChangeRatio": { - "_enum": { - "NoChange": "Null", - "NewValue": "Ratio" - } + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "ClassId": "u32", - "ClassIdOf": "ClassId", - "ClassInfoOf": { - "metadata": "CID", - "totalIssuance": "TokenId", - "owner": "AccountId", - "data": "ClassData" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "CodeInfo": { - "codeSize": "u32", - "refCount": "u32" + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "CollateralAuctionItem": { - "refundRecipient": "AccountId", - "currencyId": "CurrencyId", - "initialAmount": "Compact", - "amount": "Compact", - "target": "Compact", - "startTime": "BlockNumber" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + } + } + }, + { + "minmax": [ + 43, + 154 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "CurrencyId": { - "_enum": { - "Token": "TokenSymbol", - "DEXShare": "(TokenSymbol, TokenSymbol)", - "ERC20": "EvmAddress" - } + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "CurrencyIdOf": "CurrencyId", - "DataProviderId": { - "_enum": [ - "Aggregated", - "Eave", - "Band" - ] + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "DebitAuctionItem": { - "initialAmount": "Compact", - "amount": "Compact", - "fix": "Compact", - "startTime": "BlockNumber" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "DestAddress": "Vec", - "DispatchId": "u32", - "DispatchTime": { + "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": { - "At": "BlockNumber", - "After": "BlockNumber" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "ElpUnlockChunk": { - "value": "Compact", - "era": "Compact" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "EvmAccountInfo": { - "nonce": "Index", - "contractInfo": "Option", - "developerDeposit": "Option" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "EvmAddress": "H160", - "EvmContractInfo": { - "codeHash": "H256", - "maintainer": "H160", - "deployed": "bool" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "ExchangeRate": "FixedU128", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Keys": "SessionKeys2", - "Ledger": { - "bonded": "Balance", - "unbondingToFree": "Balance", - "freePool": "Balance", - "toUnbondNextEra": "(Balance, Balance)" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "LiquidationStrategy": { - "_enum": [ - "Auction", - "Exchange" - ] + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "LiquidityPool": { - "currency_ids": "Vec", - "lp_token_id": "AssetId", - "pool_config_id": "u32", - "pool_reserves": "Vec" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "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" + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" }, - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "PalletBalanceOf": "Balance", - "PalletsOrigin": { + "NominatorAdded": { "_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" + "AddedToBottom": "Null", + "AddedToTop": "Balance" } }, - "Params": { - "targetMaxFreeUnbondedRatio": "Ratio", - "targetMinFreeUnbondedRatio": "Ratio", - "targetUnbondingToFreeRatio": "Ratio", - "unbondingToFreeAdjustment": "Ratio", - "baseFeeRate": "Rate" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "PolkadotAccountId": "AccountId", - "PolkadotAccountIdOf": "PolkadotAccountId", - "PoolId": { - "_enum": { - "Loans": "CurrencyId", - "DexIncentive": "CurrencyId", - "DexSaving": "CurrencyId", - "Elp": "Null" - } + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + } + } + }, + { + "minmax": [ + 155, + 199 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "PoolInfo": { - "totalShares": "Compact", - "totalRewards": "Compact", - "totalWithdrawnRewards": "Compact" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Position": { - "collateral": "Balance", - "debit": "Balance" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "Price": "FixedU128", - "Properties": { - "_set": { - "_bitLength": 8, - "Transferable": 1, - "Burnable": 2 - } + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "PublicKey": "[u8; 20]", - "Rate": "FixedU128", - "Ratio": "FixedU128", - "RedeemStrategy": { - "_enum": { - "Immediately": "Null", - "Target": "EraIndex", - "WaitForUnbonding": "Null" - } + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "RelaychainAccountId": "AccountId", - "RiskManagementParams": { - "maximumTotalDebitValue": "Balance", - "stabilityFee": "Option", - "liquidationRatio": "Option", - "liquidationPenalty": "Option", - "requiredCollateralRatio": "Option" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "RpcDataProviderId": "Text", - "ScheduleTaskIndex": "u32", - "Share": "u128", - "StorageKeyBytes": "Vec", - "StorageValue": "Vec", - "StorageValueBytes": "Vec", - "SubAccountStatus": { - "bonded": "Balance", - "available": "Balance", - "unbonding": "Vec<(EraIndex,Balance)>", - "mockRewardRate": "Rate" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "SurplusAuctionItem": { - "amount": "Compact", - "startTime": "BlockNumber" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "TimestampedValueOf": "TimestampedValue", - "TokenBalanceOf": "Balance", - "TokenData": { - "deposit": "Balance" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "TokenInfo": { - "name": "Text", - "symbol": "Text", - "decimals": "u8", - "owner": "AccountId" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "TokenInfoOf": { - "metadata": "CID", - "owner": "AccountId", - "data": "TokenData" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "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 - } + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "TradingPair": "(CurrencyId, CurrencyId)", - "TradingPairProvisionParameters": { - "minContribution": "(Balance, Balance)", - "targetProvision": "(Balance, Balance)", - "accumulatedProvision": "(Balance, Balance)", - "notBefore": "BlockNumber" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "TradingPairStatus": { - "_enum": { - "NotEnabled": "Null", - "Provisioning": "TradingPairProvisionParameters", - "Enabled": "Null" - } + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "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" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "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" + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "AssetId": { - "chain_id": "u32", - "module_index": "u8", - "asset_index": "u32" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" }, - "TokenId": "u32", - "AssetProperty": { + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" + }, + "NominatorAdded": { "_enum": { - "FOREIGN": null, - "LP": "LpProperty" + "AddedToTop": "Balance", + "AddedToBottom": "Null" } }, - "LpProperty": { - "token_0": "AssetId", - "token_1": "AssetId" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "TokenBalance": "u128" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" + }, + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + } } - } - ] - }, - "dock-pos-main-runtime": { - "types": [ + }, { "minmax": [ - 0, - 23 + 200, + 399 ], "types": { + "AccountId": "EthereumAccountId", "Address": "AccountId", + "Balance": "u128", "LookupSource": "AccountId", - "Keys": "SessionKeys2", - "Did": "[u8;32]", - "Bytes32": { - "value": "[u8;32]" + "Account": { + "nonce": "U256", + "balance": "u128" }, - "Bytes33": { - "value": "[u8;33]" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Bytes64": { - "value": "[u8;64]" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "Bytes65": { - "value": "[u8;65]" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "PublicKey": { - "_enum": { - "Sr25519": "Bytes32", - "Ed25519": "Bytes32", - "Secp256k1": "Bytes33" - } + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "DidSignature": { + "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": { - "Sr25519": "Bytes64", - "Ed25519": "Bytes64", - "Secp256k1": "Bytes65" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "KeyDetail": { - "controller": "Did", - "public_key": "PublicKey" - }, - "KeyUpdate": { - "did": "Did", - "public_key": "PublicKey", - "controller": "Option", - "last_modified_in_block": "BlockNumber" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "DidRemoval": { - "did": "Did", - "last_modified_in_block": "BlockNumber" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "RegistryId": "[u8;32]", - "RevokeId": "[u8;32]", - "Registry": { - "policy": "Policy", - "add_only": "bool" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "Revoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "UnRevoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "RemoveRegistry": { - "registry_id": "RegistryId", - "last_modified": "BlockNumber" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "PAuth": "BTreeMap", - "Policy": { - "_enum": { - "OneOf": "BTreeSet" - } + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "BlobId": "[u8;32]", - "Blob": { - "id": "BlobId", - "blob": "Vec", - "author": "Did" + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "EpochNo": "u32", - "EpochLen": "u32", - "SlotNo": "u64", - "Balance": "u64", - "EpochDetail": { - "validator_count": "u8", - "starting_slot": "SlotNo", - "expected_ending_slot": "SlotNo", - "ending_slot": "Option", - "emission_for_validators": "Option", - "emission_for_treasury": "Option" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" }, - "ValidatorStatsPerEpoch": { - "block_count": "EpochLen", - "locked_reward": "Option", - "unlocked_reward": "Option" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "Payload": { - "proposal": "Vec", - "round_no": "u64" + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } }, - "Membership": { - "members": "BTreeSet", - "vote_requirement": "u64" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "PMAuth": "BTreeMap", - "Bonus": { - "swap_bonuses": "Vec<(Balance, BlockNumber)>", - "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" }, - "Attestation": { - "priority": "Compact", - "iri": "Option>" + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" }, - "StateChange": { + "NominatorStatus": { "_enum": { - "KeyUpdate": "KeyUpdate", - "DidRemoval": "DidRemoval", - "Revoke": "Revoke", - "UnRevoke": "UnRevoke", - "RemoveRegistry": "RemoveRegistry", - "Blob": "Blob", - "MasterVote": "Payload", - "Attestation": "(Did, Attestation)" + "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": [ - 23 + 400, + 599 ], "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "PerDispatchClassU32": { - "normal": "u32", - "operational": "u32", - "mandatory": "u32" - }, - "BlockLength": { - "max": "PerDispatchClassU32" - }, - "Keys": "SessionKeys2", - "Did": "[u8;32]", - "Bytes32": { - "value": "[u8;32]" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "Bytes33": { - "value": "[u8;33]" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Bytes64": { - "value": "[u8;64]" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "Bytes65": { - "value": "[u8;65]" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "PublicKey": { - "_enum": { - "Sr25519": "Bytes32", - "Ed25519": "Bytes32", - "Secp256k1": "Bytes33" - } + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "DidSignature": { - "_enum": { - "Sr25519": "Bytes64", - "Ed25519": "Bytes64", - "Secp256k1": "Bytes65" - } + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "KeyDetail": { - "controller": "Did", - "public_key": "PublicKey" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "KeyUpdate": { - "did": "Did", - "public_key": "PublicKey", - "controller": "Option", - "last_modified_in_block": "BlockNumber" - }, - "DidRemoval": { - "did": "Did", - "last_modified_in_block": "BlockNumber" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "RegistryId": "[u8;32]", - "RevokeId": "[u8;32]", - "Registry": { - "policy": "Policy", - "add_only": "bool" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "Revoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "UnRevoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "RemoveRegistry": { - "registry_id": "RegistryId", - "last_modified": "BlockNumber" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "PAuth": "BTreeMap", - "Policy": { - "_enum": { - "OneOf": "BTreeSet" - } + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "BlobId": "[u8;32]", - "Blob": { - "id": "BlobId", - "blob": "Vec", - "author": "Did" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "EpochNo": "u32", - "EpochLen": "u32", - "SlotNo": "u64", - "Balance": "u64", - "EpochDetail": { - "validator_count": "u8", - "starting_slot": "SlotNo", - "expected_ending_slot": "SlotNo", - "ending_slot": "Option", - "emission_for_validators": "Option", - "emission_for_treasury": "Option" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "ValidatorStatsPerEpoch": { - "block_count": "EpochLen", - "locked_reward": "Option", - "unlocked_reward": "Option" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "Payload": { - "proposal": "Vec", - "round_no": "u64" + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "Membership": { - "members": "BTreeSet", - "vote_requirement": "u64" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" }, - "PMAuth": "BTreeMap", - "Bonus": { - "swap_bonuses": "Vec<(Balance, BlockNumber)>", - "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "Attestation": { - "priority": "Compact", - "iri": "Option>" + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } }, - "Account": { - "nonce": "U256", - "balance": "U256" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "Transaction": { - "nonce": "U256", - "action": "String", - "gas_price": "u64", - "gas_limit": "u64", - "value": "U256", - "input": "Vec", - "signature": "Signature" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" }, - "Signature": { - "v": "u64", + "EthereumSignature": { "r": "H256", - "s": "H256" + "s": "H256", + "v": "U8" }, - "ParamType": { + "NominatorStatus": { "_enum": { - "Address": null, - "Int": "u16", - "Uint": "u16" + "Active": "Null", + "Leaving": "RoundIndex" } }, - "ContractConfig": { - "address": "H160", - "query_aggregator_call_encoded": "Vec", - "query_price_abi_encoded": "Vec", - "return_val_abi": "Vec" + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" }, - "StateChange": { - "_enum": { - "KeyUpdate": "KeyUpdate", - "DidRemoval": "DidRemoval", - "Revoke": "Revoke", - "UnRevoke": "UnRevoke", - "RemoveRegistry": "RemoveRegistry", - "Blob": "Blob", - "MasterVote": "Payload", - "Attestation": "(Did, Attestation)" - } + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" } } - } - ], - "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": "BBSPlusPublicKeyStorageKey" - } - ], - "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": "AccumPublicKeyStorageKey" - } - ], - "type": "Option" - }, - "accumulatorWithPublicKeyAndParams": { - "description": "Return Accumulator public key with params", - "params": [ - { - "name": "id", - "type": "AccumulatorId" - } - ], - "type": "Option<(Vec, Option)>" - }, - "didDetails": { - "description": "Get all keys, controllers and service endpoints of the DID", - "params": [ - { - "name": "did", - "type": "Did" - }, - { - "name": "params", - "type": "u8", - "isOptional": true - } - ], - "type": "Option" - }, - "didListDetails": { - "description": "Get all keys, controllers and service endpoints of the DID", - "params": [ - { - "name": "dids", - "type": "Vec" - }, - { - "name": "params", - "type": "u8", - "isOptional": true - } - ], - "type": "Vec>" - } }, - "staking_rewards": { - "yearlyEmission": { - "description": "", - "params": [ - { - "name": "total_staked", - "type": "Balance" - }, - { - "name": "total_issuance", - "type": "Balance" - } - ], - "type": "Balance" - }, - "maxYearlyEmission": { - "description": "", - "params": [], - "type": "Balance" - } - } - } - }, - "dock-pos-test-runtime": { - "types": [ { "minmax": [ - 0, - 23 + 600, + 799 ], "types": { + "AccountId": "EthereumAccountId", "Address": "AccountId", + "Balance": "u128", "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" - } + "Account": { + "nonce": "U256", + "balance": "u128" }, - "KeyDetail": { - "controller": "Did", - "public_key": "PublicKey" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "KeyUpdate": { - "did": "Did", - "public_key": "PublicKey", - "controller": "Option", - "last_modified_in_block": "BlockNumber" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "DidRemoval": { - "did": "Did", - "last_modified_in_block": "BlockNumber" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "RegistryId": "[u8;32]", - "RevokeId": "[u8;32]", - "Registry": { - "policy": "Policy", - "add_only": "bool" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "Revoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "UnRevoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "RemoveRegistry": { - "registry_id": "RegistryId", - "last_modified": "BlockNumber" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "PAuth": "BTreeMap", - "Policy": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { "_enum": { - "OneOf": "BTreeSet" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "BlobId": "[u8;32]", - "Blob": { - "id": "BlobId", - "blob": "Vec", - "author": "Did" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "EpochNo": "u32", - "EpochLen": "u32", - "SlotNo": "u64", - "Balance": "u64", - "EpochDetail": { - "validator_count": "u8", - "starting_slot": "SlotNo", - "expected_ending_slot": "SlotNo", - "ending_slot": "Option", - "emission_for_validators": "Option", - "emission_for_treasury": "Option" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "ValidatorStatsPerEpoch": { - "block_count": "EpochLen", - "locked_reward": "Option", - "unlocked_reward": "Option" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "Payload": { - "proposal": "Vec", - "round_no": "u64" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Membership": { - "members": "BTreeSet", - "vote_requirement": "u64" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "PMAuth": "BTreeMap", - "Bonus": { - "swap_bonuses": "Vec<(Balance, BlockNumber)>", - "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "Attestation": { - "priority": "Compact", - "iri": "Option>" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "StateChange": { + "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": { - "KeyUpdate": "KeyUpdate", - "DidRemoval": "DidRemoval", - "Revoke": "Revoke", - "UnRevoke": "UnRevoke", - "RemoveRegistry": "RemoveRegistry", - "Blob": "Blob", - "MasterVote": "Payload", - "Attestation": "(Did, Attestation)" + "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": [ - 23 + 800, + 899 ], "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "PerDispatchClassU32": { - "normal": "u32", - "operational": "u32", - "mandatory": "u32" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "BlockLength": { - "max": "PerDispatchClassU32" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Keys": "SessionKeys2", - "Did": "[u8;32]", - "Bytes32": { - "value": "[u8;32]" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "Bytes33": { - "value": "[u8;33]" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "Bytes64": { - "value": "[u8;64]" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "Bytes65": { - "value": "[u8;65]" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "PublicKey": { - "_enum": { - "Sr25519": "Bytes32", - "Ed25519": "Bytes32", - "Secp256k1": "Bytes33" - } + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "DidSignature": { + "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": { - "Sr25519": "Bytes64", - "Ed25519": "Bytes64", - "Secp256k1": "Bytes65" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "KeyDetail": { - "controller": "Did", - "public_key": "PublicKey" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "KeyUpdate": { - "did": "Did", - "public_key": "PublicKey", - "controller": "Option", - "last_modified_in_block": "BlockNumber" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "DidRemoval": { - "did": "Did", - "last_modified_in_block": "BlockNumber" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "RegistryId": "[u8;32]", - "RevokeId": "[u8;32]", - "Registry": { - "policy": "Policy", - "add_only": "bool" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "Revoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "UnRevoke": { - "registry_id": "RegistryId", - "revoke_ids": "BTreeSet", - "last_modified": "BlockNumber" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "RemoveRegistry": { - "registry_id": "RegistryId", - "last_modified": "BlockNumber" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "PAuth": "BTreeMap", - "Policy": { + "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": { - "OneOf": "BTreeSet" + "AddedToTop": "Balance", + "AddedToBottom": "Null" } }, - "BlobId": "[u8;32]", - "Blob": { - "id": "BlobId", - "blob": "Vec", - "author": "Did" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "EpochNo": "u32", - "EpochLen": "u32", - "SlotNo": "u64", - "Balance": "u64", - "EpochDetail": { - "validator_count": "u8", - "starting_slot": "SlotNo", - "expected_ending_slot": "SlotNo", - "ending_slot": "Option", - "emission_for_validators": "Option", - "emission_for_treasury": "Option" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" }, - "ValidatorStatsPerEpoch": { - "block_count": "EpochLen", - "locked_reward": "Option", - "unlocked_reward": "Option" + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" }, - "Payload": { - "proposal": "Vec", - "round_no": "u64" + "NominatorStatus": { + "_enum": { + "Active": "Null", + "Leaving": "RoundIndex" + } }, - "Membership": { - "members": "BTreeSet", - "vote_requirement": "u64" + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", + "total": "Balance", + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" }, - "PMAuth": "BTreeMap", - "Bonus": { - "swap_bonuses": "Vec<(Balance, BlockNumber)>", - "vesting_bonuses": "Vec<(Balance, Balance, BlockNumber)>" + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" }, - "Attestation": { - "priority": "Compact", - "iri": "Option>" + "AssetType": { + "_enum": { + "Xcm": "MultiLocation" + } }, - "Account": { - "nonce": "U256", - "balance": "U256" + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" }, - "Transaction": { - "nonce": "U256", - "action": "String", - "gas_price": "u64", - "gas_limit": "u64", - "value": "U256", - "input": "Vec", - "signature": "Signature" + "ENUM_AccountKey20": { + "network": "NetworkId", + "key": "[u8; 20]" }, - "Signature": { - "v": "u64", - "r": "H256", - "s": "H256" + "ENUM_AccountIndex64": { + "network": "NetworkId", + "index": "Compact" }, - "ParamType": { + "ENUM_Plurality": { + "id": "BodyId", + "part": "BodyPart" + }, + "JunctionV0": { "_enum": { - "Address": null, - "Int": "u16", - "Uint": "u16" + "Parent": "Null", + "Parachain": "Compact", + "AccountId32": "ENUM_AccountId32", + "AccountIndex64": "ENUM_AccountIndex64", + "AccountKey20": "ENUM_AccountKey20", + "PalletInstance": "u8", + "GeneralIndex": "Compact", + "GeneralKey": "Vec", + "OnlyChild": "Null", + "Plurality": "ENUM_Plurality" } }, - "ContractConfig": { - "address": "H160", - "query_aggregator_call_encoded": "Vec", - "query_price_abi_encoded": "Vec", - "return_val_abi": "Vec" + "CurrencyId": { + "_enum": { + "SelfReserve": "Null", + "OtherReserve": "u128" + } }, - "StateChange": { + "AssetRegistrarMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "isFrozen": "bool" + }, + "VestingBlockNumber": "u32", + "MultiLocation": "MultiLocationV1", + "JunctionV1": { "_enum": { - "KeyUpdate": "KeyUpdate", - "DidRemoval": "DidRemoval", - "Revoke": "Revoke", - "UnRevoke": "UnRevoke", - "RemoveRegistry": "RemoveRegistry", - "Blob": "Blob", - "MasterVote": "Payload", - "Attestation": "(Did, Attestation)" + "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": { - "poa": { - "treasuryAccount": { - "description": "Return account address of treasury. The account address can then be used to query the chain for balance", + "txpool": { + "content": { + "aliasSection": "txpool", + "description": "The detailed information regarding Ethereum transactions that are currently in the Substrate transaction pool.", "params": [], - "type": "AccountId" + "type": "TxPoolResultContent" }, - "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.", + "inspect": { + "aliasSection": "txpool", + "description": "Summarized information of the Ethereum transactions that are currently in the Substrate transaction pool.", "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" + "type": "TxPoolResultInspect" }, - "tokenUsdPriceFromContract": { - "description": "Gets the price of Dock/USD from EVM contract", + "status": { + "aliasSection": "txpool", + "description": "The number of Ethereum transaction that are currently in the Substrate transaction pool.", "params": [], - "type": "Option" - } - }, - "fiat_filter": { - "getCallFeeDock": { - "description": "Accepts a scale-encoded extrinsic, returns fee in µDOCK as Balance (u64)", - "params": [ - "Bytes" - ], - "type": "Balance" + "type": "TxPoolResultStatus" } }, - "core_mods": { - "bbsPlusPublicKeyWithParams": { - "description": "Return BBS+ public key with params", - "params": [ - { - "name": "id", - "type": "BBSPlusPublicKeyStorageKey" - } - ], - "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", + "trace": { + "filter": { + "aliasSection": "trace", + "description": "Trace Filter", "params": [ { - "name": "did", - "type": "Did" + "name": "filter", + "type": "FilterRequest" } ], - "type": "BTreeMap" - }, - "accumulatorPublicKeyWithParams": { - "description": "Return Accumulator public key with params", + "type": "Result>" + } + }, + "debug": { + "traceTransaction": { + "aliasSection": "debug", + "description": "Debug trace tx", "params": [ { - "name": "id", - "type": "AccumPublicKeyStorageKey" + "name": "transaction_hash", + "type": "H256" } ], - "type": "Option" - }, - "accumulatorWithPublicKeyAndParams": { - "description": "Return Accumulator public key with params", + "type": "Result>" + } + }, + "xcm": { + "injectDownwardMessage": { + "description": "Inject a downward message from the relay chain.", "params": [ { - "name": "id", - "type": "AccumulatorId" + "name": "message", + "type": "Vec" } ], - "type": "Option<(Vec, Option)>" + "type": "Result<()>" }, - "didDetails": { - "description": "Get all keys, controllers and service endpoints of the DID", + "injectHrmpMessage": { + "description": "Inject an HRMP message from a dedicated channel from a sibling parachain", "params": [ { - "name": "did", - "type": "Did" + "name": "sender", + "type": "ParaId" }, { - "name": "params", - "type": "u8", - "isOptional": true + "name": "message", + "type": "Vec" } ], - "type": "Option" - }, - "didListDetails": { - "description": "Get all keys, controllers and service endpoints of the DID", + "type": "Result<()>" + } + }, + "moon": { + "isBlockFinalized": { + "description": "Returns whether an Ethereum block is finalized", "params": [ { - "name": "dids", - "type": "Vec" - }, - { - "name": "params", - "type": "u8", - "isOptional": true + "name": "blockHash", + "type": "Hash" } ], - "type": "Vec>" - } - }, - "staking_rewards": { - "yearlyEmission": { - "description": "", + "type": "bool" + }, + "isTxFinalized": { + "description": "Returns whether an Ethereum transaction is finalized", "params": [ { - "name": "total_staked", - "type": "Balance" - }, - { - "name": "total_issuance", - "type": "Balance" + "name": "txHash", + "type": "Hash" } ], - "type": "Balance" - }, - "maxYearlyEmission": { - "description": "", - "params": [], - "type": "Balance" + "type": "bool" } } - } - }, - "dotmog-node": { + }, + "instances": { + "council": [ + "councilCollective" + ], + "technicalCommittee": [ + "techCommitteeCollective" + ] + }, "types": [ { "minmax": [ 0, - null + 4 ], "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" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "RefCount": "u8", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "ClaimState": { - "_enum": [ - "None", - "Registred", - "Verified", - "Secured", - "Processed", - "Holded", - "Failed", - "Cancelled" - ] - } + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8" } - } - ] - }, - "edgeware": { - "alias": { - "voting": { - "Tally": "VotingTally" - } - }, - "types": [ + }, { "minmax": [ - 0, - 31 + 5, + 5 ], "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" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "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" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8" } }, { "minmax": [ - 32, - 38 + 6, + 19 ], "types": { - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "Balance2": "u128", - "VoteStage": { - "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" - ] + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "ValidatorStatus" }, - "VoteType": { - "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" - ] + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "TallyType": { - "_enum": [ - "OnePerson", - "OneCoin" - ] + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "ValidatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "voting::VoteType": "VoteType", - "voting::TallyType": "TallyType", - "voting::Tally": "VotingTally", - "CompactAssignments": "CompactAssignmentsTo257", - "ContractExecResult": "ContractExecResultTo255", - "RewardDestination": "RewardDestinationTo257", - "RefCount": "u32", - "AccountInfo": "AccountInfoWithRefCount", - "Address": "IndicesLookupSource", - "LookupSource": "IndicesLookupSource" + "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": [ - 39, - 41 + 19, + 35 ], "types": { - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "Balance2": "u128", - "VoteStage": { - "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" - ] + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "VoteType": { - "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" - ] + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "TallyType": { - "_enum": [ - "OnePerson", - "OneCoin" - ] + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "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" - ] + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "staus": "ProposalStatus", - "expiry": "BlockNumber" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "VoteStage": { - "_enum": [ - "PreVoting", - "Commit", - "Voting", - "Completed" - ] + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "VoteType": { - "_enum": [ - "Binary", - "MultiOption", - "RankedChoice" - ] + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "TallyType": { - "_enum": [ - "OnePerson", - "OneCoin" - ] + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "VoteOutcome": "[u8; 32]", - "VotingTally": "Option>", - "VoteData": { - "initiator": "AccountId", - "stage": "VoteStage", - "vote_type": "VoteType", - "tally_type": "TallyType", - "is_commit_reveal": "bool" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "Commitments": "Vec<(AccountId, VoteOutcome)>", - "Reveals": "Vec<(AccountId, Vec)>", - "VoteRecord": { - "id": "u64", - "commitments": "Commitments", - "reveals": "Reveals", - "data": "VoteData", - "outcomes": "Vec" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "ProposalRecord": { - "index": "u32", - "author": "AccountId", - "stage": "VoteStage", - "transition_time": "u32", - "title": "Text", - "contents": "Text", - "vote_id": "u64" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "ProposalContents": "Bytes", - "ProposalTitle": "Bytes", - "AccountInfo": "AccountInfoWithRefCount", - "Address": "MultiAddress", - "LookupSource": "MultiAddress" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" + }, + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + } } }, { "minmax": [ - 47, - null + 36, + 36 ], "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 - } + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "ClassData": { - "deposit": "Balance", - "properties": "Properties" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "TokenData": { - "deposit": "Balance" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "ClassInfo": { - "metadata": "Vec", - "total_issuance": "TokenId", + "Bond": { "owner": "AccountId", - "data": "ClassData" + "amount": "Balance" }, - "ClassInfoOf": "ClassInfo", - "TokenInfo": { - "metadata": "Vec", - "owner": "AccountId", - "data": "TokenData" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "TokenInfoOf": "TokenInfo", - "TokenId": "u64", - "ClassIdOf": "ClassId", - "TokenIdOf": "TokenId", - "Amount": "i128", - "AmountOf": "Amount", - "Approval": { - "amount": "Balance", - "deposit": "Balance" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "ApprovalKey": { - "owner": "AccountId", - "delegate": "AccountId" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "Commitment": "ScalarData", - "CurrencyId": "u64", - "CurrencyIdOf": "CurrencyId", - "DustHandlerType": { + "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": { - "Burn": "Null", - "Transfer": "AccountId" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "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" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "TokenMetadata": { - "deposit": "Balance", - "name": "Vec", - "symbol": "Vec", - "decimals": "u8", - "is_frozen": "bool" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "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" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "ETHBlock": { - "inner": "Block" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "ETHReceipts": { - "inner": "Vec" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "ETHTxStatuses": { - "inner": "Vec" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "AccountInfo": "AccountInfoWithTripleRefCount", - "Address": "MultiAddress", - "LookupSource": "MultiAddress" - } - } - ] - }, - "encointer-node-notee": { - "types": [ - { - "minmax": [ - 9, - null - ], - "types": { - "CommunityIdentifier": { - "geohash": "GeoHash", - "digest": "CidDigest" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "GeoHash": "[u8; 5]", - "CidDigest": "[u8; 4]" + "AuthorId": "AccountId" } }, { "minmax": [ - 0, - 8 + 37, + 42 ], "types": { - "ShardIdentifier": "Hash", - "GetterArgs": "(AccountId, CommunityIdentifier)", - "Enclave": { - "pubkey": "AccountId", - "mrenclave": "Hash", - "timestamp": "u64", - "url": "Text" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "PublicGetter": { - "_enum": { - "total_issuance": "CommunityIdentifier", - "participant_count": "CommunityIdentifier", - "meetup_count": "CommunityIdentifier", - "ceremony_reward": "CommunityIdentifier", - "location_tolerance": "CommunityIdentifier", - "time_tolerance": "CommunityIdentifier", - "scheduler_state": "CommunityIdentifier" - } + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "TrustedGetter": { - "_enum": { - "balance": "(AccountId, CommunityIdentifier)", - "participant_index": "(AccountId, CommunityIdentifier)", - "meetup_index": "(AccountId, CommunityIdentifier)", - "attestations": "(AccountId, CommunityIdentifier)", - "meetup_registry": "(AccountId, CommunityIdentifier)" - } + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "TrustedGetterSigned": { - "getter": "TrustedGetter", - "signature": "Signature" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "Getter": { - "_enum": { - "public": "PublicGetter", - "trusted": "TrustedGetterSigned" - } + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "ClientRequest": { - "_enum": { - "PubKeyWorker": null, - "MuRaPortWorker": null, - "StfState": "(Getter, ShardIdentifier)" - } + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "WorkerEncoded": "Vec", - "Request": { - "shard": "ShardIdentifier", - "cyphertext": "WorkerEncoded" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "TrustedCallSigned": { - "call": "TrustedCall", - "nonce": "u32", - "signature": "Signature" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "TrustedCall": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { "_enum": { - "balance_transfer": "BalanceTransferArgs", - "ceremonies_register_participant": "RegisterParticipantArgs", - "ceremonies_register_attestations": "RegisterAttestationsArgs", - "ceremonies_grant_reputation": "GrantReputationArgs" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "BalanceTransferArgs": "(AccountId, AccountId, CommunityIdentifier, BalanceType)", - "RegisterParticipantArgs": "(AccountId, CommunityIdentifier, Option>)", - "RegisterAttestationsArgs": "(AccountId, Vec>)", - "GrantReputationArgs": "(AccountId, CommunityIdentifier, AccountId)", - "BalanceType": "i128", - "BalanceEntry": { - "principal": "BalanceType", - "lastUpdate": "BlockNumber" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "Demurrage": "BalanceType", - "BusinessIdentifier": { - "communityIdentifier": "CommunityIdentifier", - "controller": "AccountId" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "OfferingIdentifier": "u32", - "BusinessData": { - "url": "PalletString", - "last_oid": "u32" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "OfferingData": { - "url": "PalletString" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "PalletString": "Text", - "IpfsCid": "Text", - "FixedI64F64": { - "bits": "i128" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "CeremonyIndexType": "u32", - "CeremonyPhaseType": { - "_enum": [ - "Registering", - "Assigning", - "Attesting" - ] + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "ParticipantIndexType": "u64", - "MeetupIndexType": "u64", - "AttestationIndexType": "u64", - "MeetupAssignment": "(MeetupIndexType, Option)", - "MeetupTimeOffsetType": "i32", - "Reputation": { + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" + }, + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { "_enum": [ - "Unverified", - "UnverifiedReputable", - "VerifiedUnlinked", - "VerifiedLinked" + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" ] }, - "CommunityReputation": { - "communityIdentifier": "CommunityIdentifier", - "reputation": "Reputation" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" + } + } + }, + { + "minmax": [ + 43, + 154 + ], + "types": { + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "ClaimOfAttendance": { - "claimantPublic": "AccountId", - "ceremonyIndex": "CeremonyIndexType", - "communityIdentifier": "CommunityIdentifier", - "meetupIndex": "MeetupIndexType", - "location": "Location", - "timestamp": "Moment", - "numberOfParticipantsConfirmed": "u32", - "claimantSignature": "Option" - }, - "ClaimOfAttendanceSigningPayload": { - "claimantPublic": "AccountId", - "ceremonyIndex": "CeremonyIndexType", - "communityIdentifier": "CommunityIdentifier", - "meetupIndex": "MeetupIndexType", - "location": "Location", - "timestamp": "Moment", - "numberOfParticipantsConfirmed": "u32" - }, - "AssignmentCount": { - "bootstrappers": "ParticipantIndexType", - "reputables": "ParticipantIndexType", - "endorsees": "ParticipantIndexType", - "newbies": "ParticipantIndexType" - }, - "Assignment": { - "bootstrappersReputables": "AssignmentParams", - "endorsees": "AssignmentParams", - "newbies": "AssignmentParams", - "locations": "AssignmentParams" - }, - "AssignmentParams": { - "m": "u64", - "s1": "u64", - "s2": "u64" - }, - "CommunityCeremonyStats": { - "communityCeremony": "(CommunityIdentifier, CeremonyIndexType)", - "assignment": "Assignment", - "assignmentCount": "AssignmentCount", - "meetupCount": "MeetupIndexType", - "meetups": "Vec" - }, - "Meetup": { - "index": "MeetupIndexType", - "location": "LocationRpc", - "time": "Moment", - "registrations": "Vec<(AccountId, ParticipantRegistration)>" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "ParticipantRegistration": { - "index": "ParticipantIndexType", - "registrationType": "RegistrationType" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "RegistrationType": { - "_enum": [ - "Bootstrapper", - "Reputable", - "Endorsee", - "Newbie" - ] + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "Attestation": { - "claim": "ClaimOfAttendance", - "signature": "MultiSignature", - "public": "AccountId" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "ProofOfAttendance": { - "proverPublic": "AccountId", - "ceremonyIndex": "CeremonyIndexType", - "communityIdentifier": "CommunityIdentifier", - "attendeePublic": "AccountId", - "attendeeSignature": "MultiSignature" - }, - "CommunityIdentifier": { - "geohash": "GeoHash", - "digest": "CidDigest" - }, - "GeoHash": "[u8; 5]", - "CidDigest": "[u8; 4]", - "CommunityCeremony": "(CommunityIdentifier,CeremonyIndexType)", - "NominalIncomeType": "BalanceType", - "DegreeRpc": "Text", - "DegreeFixed": "i128", - "Location": { - "lat": "DegreeFixed", - "lon": "DegreeFixed" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "LocationRpc": { - "lat": "DegreeRpc", - "lon": "DegreeRpc" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "CidName": { - "cid": "CommunityIdentifier", - "name": "Text" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "CommunityMetadataType": { - "name": "Text", - "symbol": "Text", - "assets": "Text", - "theme": "Option", - "url": "Option" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "SystemNumber": "u32", - "SchedulerState": "(CeremonyIndexType, CeremonyPhaseType, SystemNumber)" - } - } - ], - "signedExtensions": { - "ChargeAssetTxPayment": { - "extrinsic": { - "tip": "Compact", - "assetId": "Option" - }, - "payload": {} - } - } - }, - "encointer-node-teeproxy": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "CeremonyPhaseType": { + "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": [ - "Registering", - "Assigning", - "Attesting" + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" ] }, - "CeremonyIndexType": "u32", - "CurrencyIdentifier": "Hash", - "CurrencyCeremony": { - "cid": "CurrencyIdentifier", - "cindex": "CeremonyIndexType" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" }, - "Location": { - "lat": "i64", - "lon": "i64" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "CurrencyPropertiesType": { - "name_utf8": "Text", - "demurrage_per_block": "i128" + "NominatorAdded": { + "_enum": { + "AddedToBottom": "Null", + "AddedToTop": "Balance" + } }, - "ShardIdentifier": "Hash", - "Request": { - "shard": "ShardIdentifier", - "cyphertext": "Vec" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "Enclave": { - "pubkey": "AccountId", - "mrenclave": "Hash", - "timestamp": "u64", - "url": "Text" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" } } - } - ] - }, - "encointer-parachain": { - "types": [ - { - "minmax": [ - 3, - null - ], - "types": { - "CommunityIdentifier": { - "geohash": "GeoHash", - "digest": "CidDigest" - }, - "GeoHash": "[u8; 5]", - "CidDigest": "[u8; 4]" - } }, { "minmax": [ - 0, - 2 + 155, + 199 ], "types": { - "ShardIdentifier": "Hash", - "GetterArgs": "(AccountId, CommunityIdentifier)", - "Enclave": { - "pubkey": "AccountId", - "mrenclave": "Hash", - "timestamp": "u64", - "url": "Text" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "PublicGetter": { - "_enum": { - "total_issuance": "CommunityIdentifier", - "participant_count": "CommunityIdentifier", - "meetup_count": "CommunityIdentifier", - "ceremony_reward": "CommunityIdentifier", - "location_tolerance": "CommunityIdentifier", - "time_tolerance": "CommunityIdentifier", - "scheduler_state": "CommunityIdentifier" - } + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "TrustedGetter": { - "_enum": { - "balance": "(AccountId, CommunityIdentifier)", - "participant_index": "(AccountId, CommunityIdentifier)", - "meetup_index": "(AccountId, CommunityIdentifier)", - "attestations": "(AccountId, CommunityIdentifier)", - "meetup_registry": "(AccountId, CommunityIdentifier)" - } + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "TrustedGetterSigned": { - "getter": "TrustedGetter", - "signature": "Signature" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "Getter": { - "_enum": { - "public": "PublicGetter", - "trusted": "TrustedGetterSigned" - } + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "ClientRequest": { - "_enum": { - "PubKeyWorker": null, - "MuRaPortWorker": null, - "StfState": "(Getter, ShardIdentifier)" - } + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "WorkerEncoded": "Vec", - "Request": { - "shard": "ShardIdentifier", - "cyphertext": "WorkerEncoded" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "TrustedCallSigned": { - "call": "TrustedCall", - "nonce": "u32", - "signature": "Signature" + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", + "nonce": "U256", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", + "value": "U256", + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "TrustedCall": { + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { "_enum": { - "balance_transfer": "BalanceTransferArgs", - "ceremonies_register_participant": "RegisterParticipantArgs", - "ceremonies_register_attestations": "RegisterAttestationsArgs", - "ceremonies_grant_reputation": "GrantReputationArgs" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "BalanceTransferArgs": "(AccountId, AccountId, CommunityIdentifier, BalanceType)", - "RegisterParticipantArgs": "(AccountId, CommunityIdentifier, Option>)", - "RegisterAttestationsArgs": "(AccountId, Vec>)", - "GrantReputationArgs": "(AccountId, CommunityIdentifier, AccountId)", - "BalanceType": "i128", - "BalanceEntry": { - "principal": "BalanceType", - "lastUpdate": "BlockNumber" - }, - "Demurrage": "BalanceType", - "BusinessIdentifier": { - "communityIdentifier": "CommunityIdentifier", - "controller": "AccountId" - }, - "OfferingIdentifier": "u32", - "BusinessData": { - "url": "PalletString", - "last_oid": "u32" - }, - "OfferingData": { - "url": "PalletString" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "PalletString": "Text", - "IpfsCid": "Text", - "FixedI64F64": { - "bits": "i128" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "CeremonyIndexType": "u32", - "CeremonyPhaseType": { - "_enum": [ - "Registering", - "Assigning", - "Attesting" - ] + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "ParticipantIndexType": "u64", - "MeetupIndexType": "u64", - "AttestationIndexType": "u64", - "MeetupAssignment": "(MeetupIndexType, Option)", - "MeetupTimeOffsetType": "i32", - "Reputation": { - "_enum": [ - "Unverified", - "UnverifiedReputable", - "VerifiedUnlinked", - "VerifiedLinked" - ] + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "CommunityReputation": { - "communityIdentifier": "CommunityIdentifier", - "reputation": "Reputation" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "ClaimOfAttendance": { - "claimantPublic": "AccountId", - "ceremonyIndex": "CeremonyIndexType", - "communityIdentifier": "CommunityIdentifier", - "meetupIndex": "MeetupIndexType", - "location": "Location", - "timestamp": "Moment", - "numberOfParticipantsConfirmed": "u32", - "claimantSignature": "Option" - }, - "ClaimOfAttendanceSigningPayload": { - "claimantPublic": "AccountId", - "ceremonyIndex": "CeremonyIndexType", - "communityIdentifier": "CommunityIdentifier", - "meetupIndex": "MeetupIndexType", - "location": "Location", - "timestamp": "Moment", - "numberOfParticipantsConfirmed": "u32" - }, - "AssignmentCount": { - "bootstrappers": "ParticipantIndexType", - "reputables": "ParticipantIndexType", - "endorsees": "ParticipantIndexType", - "newbies": "ParticipantIndexType" - }, - "Assignment": { - "bootstrappersReputables": "AssignmentParams", - "endorsees": "AssignmentParams", - "newbies": "AssignmentParams", - "locations": "AssignmentParams" - }, - "AssignmentParams": { - "m": "u64", - "s1": "u64", - "s2": "u64" - }, - "CommunityCeremonyStats": { - "communityCeremony": "(CommunityIdentifier, CeremonyIndexType)", - "assignment": "Assignment", - "assignmentCount": "AssignmentCount", - "meetupCount": "MeetupIndexType", - "meetups": "Vec" - }, - "Meetup": { - "index": "MeetupIndexType", - "location": "LocationRpc", - "time": "Moment", - "registrations": "Vec<(AccountId, ParticipantRegistration)>" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "ParticipantRegistration": { - "index": "ParticipantIndexType", - "registrationType": "RegistrationType" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "RegistrationType": { + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { "_enum": [ - "Bootstrapper", - "Reputable", - "Endorsee", - "Newbie" + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" ] }, - "Attestation": { - "claim": "ClaimOfAttendance", - "signature": "MultiSignature", - "public": "AccountId" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" }, - "ProofOfAttendance": { - "proverPublic": "AccountId", - "ceremonyIndex": "CeremonyIndexType", - "communityIdentifier": "CommunityIdentifier", - "attendeePublic": "AccountId", - "attendeeSignature": "MultiSignature" - }, - "CommunityIdentifier": { - "geohash": "GeoHash", - "digest": "CidDigest" - }, - "GeoHash": "[u8; 5]", - "CidDigest": "[u8; 4]", - "CommunityCeremony": "(CommunityIdentifier,CeremonyIndexType)", - "NominalIncomeType": "BalanceType", - "DegreeRpc": "Text", - "DegreeFixed": "i128", - "Location": { - "lat": "DegreeFixed", - "lon": "DegreeFixed" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "LocationRpc": { - "lat": "DegreeRpc", - "lon": "DegreeRpc" + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } }, - "CidName": { - "cid": "CommunityIdentifier", - "name": "Text" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "CommunityMetadataType": { - "name": "Text", - "symbol": "Text", - "assets": "Text", - "theme": "Option", - "url": "Option" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" }, - "SystemNumber": "u32", - "SchedulerState": "(CeremonyIndexType, CeremonyPhaseType, SystemNumber)" + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" + } } - } - ], - "signedExtensions": { - "ChargeAssetTxPayment": { - "extrinsic": { - "tip": "Compact", - "assetId": "Option" - }, - "payload": {} - } - } - }, - "fantour": { - "types": [ + }, { "minmax": [ - 0, - null + 200, + 399 ], "types": { - "Properties": "u8", - "NFTMetadata": "Vec", - "BlockNumber": "u32", - "BlockNumberOf": "BlockNumber", - "OrderData": { - "currencyId": "Compact", - "price": "Compact", - "deposit": "Compact", - "deadline": "Compact", - "categoryId": "Compact" + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "CategoryId": "u32", - "CategoryIdOf": "CategoryId", - "CategoryData": { - "metadata": "NFTMetadata", - "nftCount": "Compact" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "CurrencyId": "u32", - "CurrencyIdOf": "CurrencyId", - "Amount": "i128", - "AmountOf": "Amount", - "ClassId": "u32", - "ClassIdOf": "ClassId", - "ClassInfoOf": { - "metadata": "NFTMetadata", - "totalIssuance": "TokenId", + "Nominator": { + "nominations": "Vec", + "total": "Balance" + }, + "Bond": { "owner": "AccountId", - "data": "ClassData" + "amount": "Balance" }, - "ClassData": { - "deposit": "Compact", - "properties": "Properties", - "name": "Vec", - "description": "Vec", - "createBlock": "Compact" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "TokenId": "u64", - "TokenIdOf": "TokenId", - "TokenInfoOf": { - "metadata": "NFTMetadata", - "owner": "AccountId", - "data": "TokenData" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "TokenData": { - "deposit": "Compact", - "createBlock": "Compact" - } - } - } - ] - }, - "galital": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "AccountInfo": "AccountInfoWithTripleRefCount", - "Account": { - "nonce": "U256", - "balance": "U256" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "Transaction": { + "Summary": "Bytes", + "PoolTransaction": { + "hash": "H256", "nonce": "U256", - "action": "String", - "gas_price": "u64", - "gas_limit": "u64", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", "value": "U256", - "input": "Vec", - "signature": "Signature" + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "ChainId": "u8", - "ResourceId": "[u8; 32]", - "DepositNonce": "u64", - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "status": "u8", - "expiry": "U256" + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "ClassId": "u64", - "TokenId": "u64", - "ClassData": "Vec", - "TokenData": "Vec", - "ReportReason": { + "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": [ - "None", - "Illigal", - "Plagiarism", - "Duplicate", - "Reported" + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" ] }, - "ClassInfoOf": { - "metadata": "Vec", - "total_issuance": "TokenId", - "owner": "AccountId", - "class_data": "ClassData" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance" }, - "ExtendedInfo": { - "display_flag": "bool", - "report": "ReportReason", - "frozen": "bool" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "TokenInfoOf": { - "metadata": "Vec", - "owner": "AccountId", - "class_data": "ClassData" + "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)>" } } - } - ] - }, - "galital-collator": { - "types": [ + }, { "minmax": [ - 0, - null + 400, + 599 ], "types": { + "AccountId": "EthereumAccountId", "Address": "AccountId", + "Balance": "u128", "LookupSource": "AccountId", "Account": { "nonce": "U256", - "balance": "U256" + "balance": "u128" }, - "Transaction": { + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "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", - "action": "String", - "gas_price": "u64", - "gas_limit": "u64", + "blockHash": "Option", + "blockNumber": "Option", + "from": "H160", + "to": "Option", "value": "U256", - "input": "Vec", - "signature": "Signature" - }, - "Signature": { - "v": "u64", - "r": "H256", - "s": "H256" + "gasPrice": "U256", + "gas": "U256", + "input": "Bytes" }, - "ClassId": "u64", - "TokenId": "u64", - "ClassData": "Vec", - "TokenData": "Vec", - "ReportReason": { - "_enum": [ - "None", - "Illigal", - "Plagiarism", - "Duplicate", - "Reported" - ] + "AccountInfo": "AccountInfoWithTripleRefCount", + "CollatorStatus": { + "_enum": { + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" + } }, - "ClassInfoOf": { - "metadata": "Vec", - "total_issuance": "TokenId", - "owner": "AccountId", - "class_data": "ClassData" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "ExtendedInfo": { - "display_flag": "bool", - "report": "ReportReason", - "frozen": "bool" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "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" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "TokenInfo": { - "metadata": "Vec", - "owner": "AccountId", - "data": "NftAssetData" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "NftSeriesData": { - "name": "Vec", - "owner": "AccountId", - "properties": "Vec" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "NftClassData": { - "deposit": "Balance", - "properties": "Vec", - "token_type": "TokenType", - "collection_type": "CollectionType", - "total_supply": "u64", - "initial_supply": "u64" + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "NftAssetData": { - "deposit": "Balance", - "name": "Vec", - "description": "Vec", - "properties": "Vec" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "TokenType": { + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { "_enum": [ - "Transferrable", - "BoundToAddress" + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" ] }, - "CollectionType": { - "_enum": [ - "Collectable", - "Wearable", - "Executable" - ] + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" }, - "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" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "Fee": { - "numerator": "u32", - "denominator": "u32" + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } }, - "BalanceInfo": { - "amount": "Balance", - "assetId": "AssetId" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "CurrencyId": "AssetId", - "CurrencyIdOf": "AssetId", - "Intention": { - "who": "AccountId", - "asset_sell": "AssetId", - "asset_buy": "AssetId", - "amount": "Balance", - "discount": "bool", - "sell_or_buy": "IntentionType" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" }, - "IntentionId": "u128", - "IntentionType": { - "_enum": [ - "SELL", - "BUY" - ] + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" }, - "LookupSource": "AccountId", - "OrderedSet": "Vec", - "Price": "Balance", - "Chain": { - "genesisHash": "Vec", - "lastBlockHash": "Vec" + "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)>" } } - } - ] - }, - "halongbay": { - "types": [ + }, { "minmax": [ - 0, - null + 600, + 799 ], "types": { - "RelayChainAccountId": "H256", + "AccountId": "EthereumAccountId", + "Address": "AccountId", + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" + }, + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", "RoundIndex": "u32", - "SettingStruct": { - "bond_duration": "u32", - "blocks_per_round": "u32", - "desired_target": "u32" + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" + }, + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, "Bond": { "owner": "AccountId", "amount": "Balance" }, - "UnBondChunk": { - "value": "Balance", - "round": "u32" + "TxPoolResultContent": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "StakingNominators": { - "nominations": "Vec", - "total": "Balance", - "unbonding": "Vec", - "claimed_rewards": "Vec" - } - } - } - ] - }, - "hanonycash": { - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "Difficulty": "U256", - "DifficultyAndTimestamp": { - "difficulty": "Difficulty", - "timestamp": "Moment" + "TxPoolResultInspect": { + "pending": "HashMap>", + "queued": "HashMap>" }, - "Era": { - "genesisBlockHash": "H256", - "finalBlockHash": "H256", - "finalStateRoot": "H256" + "TxPoolResultStatus": { + "pending": "U256", + "queued": "U256" }, - "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", - "type": "Balance" - }, - { - "name": "token_in", - "type": "CurrencyId" - }, - { - "name": "token_out", - "type": "CurrencyId" - }, - { - "name": "reversed", - "type": "bool" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(Vec, FixedU128)", - "isSubscription": false, - "jsonrpc": "router_getBestRoute", - "method": "getBestRoute", - "section": "router" - } - } - }, - "instances": { - "council": [ - "generalCouncil" - ] - }, - "types": [ - { - "minmax": [ - 0, - null - ], - "types": { - "CallOf": "Call", - "DispatchTime": { + "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": { - "At": "BlockNumber", - "After": "BlockNumber" + "Active": "Null", + "Idle": "Null", + "Leaving": "RoundIndex" } }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" - }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" + "Range": "RangeBalance", + "RangeBalance": { + "min": "Balance", + "ideal": "Balance", + "max": "Balance" }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" + "RangePerbill": { + "min": "Perbill", + "ideal": "Perbill", + "max": "Perbill" }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" + "InflationInfo": { + "expect": "RangeBalance", + "annual": "RangePerbill", + "round": "RangePerbill" }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" + "OrderedSet": "Vec", + "Collator": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" + "CollatorSnapshot": { + "bond": "Balance", + "nominators": "Vec", + "total": "Balance" }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } + "SystemInherentData": { + "validationData": "PersistedValidationData", + "relayChain_state": "StorageProof", + "downwardMessages": "Vec", + "horizontalMessages": "BTreeMap>" }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" + "RoundInfo": { + "current": "RoundIndex", + "first": "BlockNumber", + "length": "u32" }, - "VestingScheduleOf": "OrmlVestingSchedule", - "OrmlCurrencyId": "u8", - "PoolInfo": { - "isActive": "bool", - "totalDeposited": "Balance", - "unlockHeight": "BlockNumber", - "coolDownDuration": "BlockNumber", - "rewardDuration": "BlockNumber", - "periodFinish": "BlockNumber", - "lastUpdateBlock": "BlockNumber", - "rewardRate": "Balance", - "rewardPerShareStored": "Balance" + "AuthorId": "AccountId32", + "AccountId32": "H256", + "ProxyType": { + "_enum": [ + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" + ] }, - "CompactBalance": "Compact", - "PoolInfoV0": { - "totalShares": "Compact", - "totalRewards": "CompactBalance", - "totalWithdrawnRewards": "CompactBalance" + "RelayChainAccountId": "AccountId32", + "RewardInfo": { + "totalReward": "Balance", + "claimedReward": "Balance", + "contributedRelayAddresses": "Vec" }, - "Share": "u128", - "OracleValue": "Price", - "Deposits": { - "voucherBalance": "Balance", - "isCollateral": "bool" + "Collator2": { + "id": "AccountId", + "bond": "Balance", + "nominators": "Vec", + "topNominators": "Vec", + "bottomNominators": "Vec", + "totalCounted": "Balance", + "totalBacking": "Balance", + "state": "CollatorStatus" }, - "BorrowSnapshot": { - "principal": "Balance", - "borrowIndex": "u128" + "NominatorAdded": { + "_enum": { + "AddedToTop": "Balance", + "AddedToBottom": "Null" + } }, - "EarnedSnapshot": { - "totalEarnedPrior": "Balance", - "exchangeRatePrior": "u128" + "RegistrationInfo": { + "account": "AccountId", + "deposit": "Balance" }, - "JumpModel": { - "baseRate": "Rate", - "jumpRate": "Rate", - "fullRate": "Rate", - "jumpUtilization": "Ratio" + "ParachainBondConfig": { + "account": "AccountId", + "percent": "Percent" }, - "CurveModel": { - "baseRate": "Rate" + "EthereumSignature": { + "r": "H256", + "s": "H256", + "v": "U8" }, - "InterestRateModel": { + "NominatorStatus": { "_enum": { - "JumpModel": "JumpModel", - "CurveModel": "CurveModel" + "Active": "Null", + "Leaving": "RoundIndex" } }, - "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": { + "Nominator2": { + "nominations": "Vec", + "revocations": "Vec", "total": "Balance", - "reserved": "Balance" - }, - "MatchingLedger": { - "totalStakeAmount": "ReservableAmount", - "totalUnstakeAmount": "ReservableAmount" + "scheduledRevocationsCount": "u32", + "scheduledRevocationsTotal": "Balance", + "status": "NominatorStatus" }, - "UnlockChunk": { - "value": "Balance", - "era": "EraIndex" + "ExitQ": { + "candidates": "Vec", + "nominatorsLeaving": "Vec", + "candidateSchedule": "Vec<(AccountId, RoundIndex)>", + "nominatorSchedule": "Vec<(AccountId, Option, RoundIndex)>" }, - "StakingLedger": { - "stash": "AccountId", - "total": "Balance", - "active": "Balance", - "unlocking": "Vec", - "claimedRewards": "Vec" + "AssetType": { + "_enum": { + "Xcm": "MultiLocation" + } }, - "DerivativeIndex": "u16", - "Pool": { - "baseAmount": "Balance", - "quoteAmount": "Balance", - "baseAmountLast": "Balance", - "quoteAmountLast": "Balance", - "lpTokenId": "AssetId", - "blockTimestampLast": "BlockNumber", - "price0CumulativeLast": "Balance", - "price1CumulativeLast": "Balance" + "AssetId": "u128", + "TAssetBalance": "u128", + "ENUM_AccountId32": { + "network": "NetworkId", + "id": "[u8; 32]" }, - "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" + "ENUM_AccountKey20": { + "network": "NetworkId", + "key": "[u8; 20]" }, - "Route": "Vec<(AssetId, AssetId)>", - "VaultPhase": { - "_enum": [ - "Pending", - "Contributing", - "Closed", - "Failed", - "Succeeded", - "Expired" - ] + "ENUM_AccountIndex64": { + "network": "NetworkId", + "index": "Compact" }, - "ContributionStrategy": { - "_enum": [ - "XCM", - "XCMPROXY" - ] + "ENUM_Plurality": { + "id": "BodyId", + "part": "BodyPart" }, - "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" - ] + "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" + } }, - "BridgeToken": { - "id": "CurrencyId", - "external": "bool", - "fee": "Balance" + "CurrencyId": { + "_enum": { + "SelfReserve": "Null", + "OtherReserve": "u128" + } }, - "ProposalStatus": { - "_enum": [ - "Initiated", - "Approved", - "Rejected" - ] + "AssetRegistrarMetadata": { + "name": "Vec", + "symbol": "Vec", + "decimals": "u8", + "isFrozen": "bool" }, - "Address": "MultiAddress", - "LookupSource": "MultiAddress", - "TAssetBalance": "u128" + "VestingBlockNumber": "u32", + "MultiLocation": "MultiLocationV0" } - } - ], - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" - } - } - }, - "hydra-dx": { - "types": [ + }, { "minmax": [ - 0, - null + 800, + 899 ], "types": { - "Amount": "i128", - "AmountOf": "Amount", + "AccountId": "EthereumAccountId", "Address": "AccountId", - "OrmlAccountData": { - "free": "Balance", - "frozen": "Balance", - "reserved": "Balance" + "Balance": "u128", + "LookupSource": "AccountId", + "Account": { + "nonce": "U256", + "balance": "u128" }, - "Fee": { - "numerator": "u32", - "denominator": "u32" + "EthTransaction": "LegacyTransaction", + "DispatchErrorModule": "DispatchErrorModuleU8", + "ExtrinsicSignature": "EthereumSignature", + "RoundIndex": "u32", + "Candidate": { + "id": "AccountId", + "fee": "Perbill", + "bond": "Balance", + "nominators": "Vec", + "total": "Balance", + "state": "CollatorStatus" }, - "BalanceInfo": { - "amount": "Balance", - "assetId": "AssetId" + "Nominator": { + "nominations": "Vec", + "total": "Balance" }, - "CurrencyId": "AssetId", - "CurrencyIdOf": "AssetId", - "Intention": { - "who": "AccountId", - "asset_sell": "AssetId", - "asset_buy": "AssetId", - "amount": "Balance", - "discount": "bool", - "sell_or_buy": "IntentionType" + "Bond": { + "owner": "AccountId", + "amount": "Balance" }, - "IntentionId": "u128", - "IntentionType": { + "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": [ - "SELL", - "BUY" + "Any", + "NonTransfer", + "Governance", + "Staking", + "CancelProxy", + "Balances", + "AuthorMapping" ] }, - "LookupSource": "AccountId", - "OrderedSet": "Vec", - "Price": "Balance", - "Chain": { - "genesisHash": "Vec", - "lastBlockHash": "Vec" + "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" + ] } } } ] }, - "idavoll": { + "mybank.network Testnet": { "types": [ { "minmax": [ @@ -54803,13 +56405,76 @@ export const typesBundle = { null ], "types": { - "Address": "AccountId", - "LookupSource": "AccountId" + "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" + } } } ] }, - "imbue": { + "neatcoin": { "types": [ { "minmax": [ @@ -54817,13 +56482,22 @@ export const typesBundle = { null ], "types": { - "Address": "MultiAddress", - "LookupSource": "MultiAddress" + "Label": "Vec", + "Name": "Vec